WebFaction
Community site: login faq

I'm suddenly getting the following syntax error when I try to start Apache

File "./apache2/bin/start", line 3
LD_LIBRARY_PATH=/home/bellnetwork/webapps/django_test/apache2/lib /home/bellnetwork/webapps/django_test/apache2/bin/httpd.worker -f /home/bellnetwork/webapps/django_test/apache2/conf/httpd.conf -k start
                ^
SyntaxError: invalid syntax

Any thoughts?

asked 19 Jun '11, 14:59

Rupe
411914
accept rate: 0%

Nevermind, I found the problem. I got my wires crossed as I typed the command and fed the Apache script to Python. lol

(19 Jun '11, 15:02) Rupe

Per the comments, the problem was that the Apache start script was being run via Python :)

permanent link

answered 19 Jun '11, 17:08

seanf
12.2k42136
accept rate: 37%

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:

×226

question asked: 19 Jun '11, 14:59

question was seen: 3,712 times

last updated: 19 Jun '11, 17:08

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2020 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