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

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



> hmmm apacheclt is a shell script and uses /bin/sh
> Which shell is linked to /bin/sh ? If it is not bash can you try to change
> it to /bin/bash?
>
> I think it could be that /bin/sh is a broken symlink or something...


Any ideas on maybe some GDB settings...


root@janitor: /bin]$ ls -aFl sh
lrwxrwxrwx    1 root     root            4 May 10 09:42 sh -> bash*

[root@janitor: /usr/sbin]$ head -1 /usr/sbin/apachectl
#!/bin/bash

[root@janitor: /usr/sbin]$ apachectl start
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
/usr/sbin/apachectl start: httpd could not be started





Reply to: