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

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



On Tue, Jun 08, 2004 at 09:53:49AM -0400, William R. McDonough wrote:
> 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?)

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

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain



Reply to: