WebFaction
Community site: login faq

I follow the tutorial "Getting Started with Django" - http://docs.webfaction.com/software/django/getting-started.html

At the end of the tutorial, you are advised to restart the Apache server. However, if I basically run the command "restart", I receive following note:

restart: missing job name Try 'restart --help' for more information

What is the JOB in my Django app?

Thanks.

asked 25 Oct '14, 10:47

jakub_l
2528
accept rate: 0%


`I went ahead and restarted your apache instance via the following command as your user.

$ pwd

/home/username/

$ ./webapps/app name/apache2/bin/restart

Please open a support ticket if you are still having an issue.

permanent link

answered 25 Oct '14, 11:13

aaront ♦♦
7664
accept rate: 27%

edited 25 Oct '14, 11:33

it works, thanks...

And don't you know what should I input if I want to restart it by myself? I guess it's a Windows-related issue and I'll switch to Linux soon... but just for now...

(25 Oct '14, 11:28) jakub_l

That command should work via ssh or putty

(25 Oct '14, 11:35) aaront ♦♦

Hi! Any progress or suggestions on the issue? Im having the exact same problem, and i cant find much when googling unfortunately.

permanent link

answered 27 Nov '14, 00:16

Kristian
1
accept rate: 0%

The 'restart' command that we use on our servers won't work on Windows, It's a Linux shell script.

How are you running Django on your Windows system?

(27 Nov '14, 00:40) seanf

Hi Kristian, I am a Linux user right now but as far as I remember the above specified command began working on Windows Power Shell once it was written exactly as above ./webapps/app name/apache2/bin/restart. I initially jumped into the bin folder and run "restart" command only - it didn't work on windows.

(27 Nov '14, 07:55) jakub_l

If you need a temporary linux machine to gain SSH access, try running Linux from a live CD.

permanent link

answered 28 Nov '14, 03:13

jcorbind
1314
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×225
×24
×13
×8

question asked: 25 Oct '14, 10:47

question was seen: 5,006 times

last updated: 28 Nov '14, 03:13

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM