[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#253203: apache will not start due to syntax error



> Try "bash -x /usr/sbin/apachectl start"
>
> --

+ PIDFILE=/var/run/apache.pid
+ HTTPD=/usr/sbin/apache
+ LYNX=lynx -dump
+ STATUSURL=http://localhost/server-status
+ ERROR=0
+ ARGV=start
+ '[' xstart = x ']'
+ '[' -f /var/run/apache.pid ']'
++ cat /var/run/apache.pid
+ PID=14803
+ '[' x14803 '!=' x ']'
+ kill -0 14803
+ STATUS=httpd (pid 14803?) not running
+ RUNNING=0
+ '[' 0 -eq 1 ']'
+ /usr/sbin/apache
Bareword found where operator expected at /dev/null line 1, near
"/usr/sbin"
        (Missing operator before bin?)
Number found where operator expected at /dev/null line 1, near "line 68"
        (Do you need to predeclare line?)
syntax error at /dev/null line 1, near "/usr/sbin"
Execution of /dev/null aborted due to compilation errors.
parse: Success
+ echo '/usr/sbin/apachectl start: httpd could not be started'
+ ERROR=3
+ exit 3




Reply to: