Date: Fri, 02 May 2003 20:02:13 +0000 From: "clayton rollins" <crollins666@hotmail.com> To: freebsd-newbies@freebsd.org Subject: RE: Apache problem Message-ID: <Sea1-F18Q6shalxyPyF00017314@hotmail.com>
next in thread | raw e-mail | index | archive | help
>on Fri, 2 May 2003 11:12:58 "David Lubowa" <ziggy@one2net.co.ug> wrote: > >i know that was ..just looking at other options !! > >cheers > >david > > > >on Thursday, May 01, 2003 4:55 PM Darren Pilgrim [dmp@pantherdragon.org] >wrote > > > >"David Lubowa" <ziggy@one2net.co.ug> wrote: > > > > > > > >quick work around, can you start httpd on console i.e >/usr/local/sbin/httpd > > >& ? if so you could write a simple shell script to start apache, rather >than > > >relying on the shell script that is there by default. > > > >The proper way to start apache is `apachectl start`. > > > > >From: Nucking Futs > > > > > >It appears this might be a known issue, where might i go to find the > > >official solution. I tried adding ' " and ; and it either gave me >other > > >errors or made no difference. I don't understand how to write code. > > >Thanks > > > > > > > > >From: Rus Foster <rghf@fsck.me.uk> > > > > > > > >On Thu, 1 May 2003, Nucking Futs wrote: > > > > > > > > > I have installed the apache 1.3.27-fp port in my FBSD 4.8 >system. Apache > > > > > will not start automatically when the system boots. I receive an >error > > > > > "120: Syntax error: Unterminated quoted string" I tried chmod 755 >the > > > > > apache.sh in /usr/local/etc/rc.d but this didn't help either. >Have I done > > > > > something wrong, is this a known problem? Any suggestions as to >what I can > > > > > do to fix this would be appreciated. Thanks > > > > > > > > > > > > >HI, > > > >Looks like the script has got a typo in it. Open it and goto line 120 >and > > > >see wahat it says. If the script only has 119 lines then you might >have to > > > >look for an unclosed quote (' or `) > Hi all, To test your configuration file, run a 'apachectl configtest'. it'll test the syntax for you. Since you probably do have an error in there somewhere, I'll also point out that httpd.conf has a format different from most other config files. (Lines following comment lines are counted as comment lines. see the notes in the file for more info.) As a side note, the only thing I had to change was the 'document root' and it was good to go. Good luck, Clayton _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Sea1-F18Q6shalxyPyF00017314>