Date: Thu, 1 May 2003 14:49:12 +0200 From: "Johan Hendriks" <Johan@double-l.nl> To: <freebsd-newbies@freebsd.org> Subject: RE: Apache problem Message-ID: <DCEE01466A8BC541AFF5B671084EF456049AD6@doublel01.double-l.lokaal>
next in thread | raw e-mail | index | archive | help
i have send 3 e-mails to the maintainer of that port that there is an typo in the file /usr/local/etc/rc.d/apache.sh well it is near the end of the file (this is the end of it) else if [ -f ${prefix}/etc/rc.conf.d/apache ]; then . ${prefix}/etc/rc.conf.d/apache fi if [ -z '${apache_start}" ]; then apache_start=3D"start_FP" fi case "$1" in start) if [ -x ${prefix}/sbin/apachectl ]; then new_key ${prefix}/sbin/apachectl ${apache_start} && echo -n ' httpd' fi ;; stop) if [ -r /var/run/httpd.pid ]; then ${prefix}/sbin/apachectl stop && echo -n ' httpd' fi ;; *) echo "usage: $0 {start|stop}" 1>&2 exit 64 ;; esac fi =20 The line in red needs attention it must read=20 =20 if [ -z "${apache_start}" ]; then =20 the ` after the -z needs to be a "=20 =20 Good luck =20 Maybe you can mail him again. =20 -----Oorspronkelijk bericht----- Van: Rus Foster [ mailto:rghf@fsck.me.uk <mailto:rghf@fsck.me.uk> ] Verzonden: donderdag 1 mei 2003 10:33 Aan: Nucking Futs CC: freebsd-newbies@freebsd.org Onderwerp: Re: Apache problem 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 `) Rgds Rus -- www: http://www.65535.net <http://www.65535.net> | Hosting - Shell Accounts MSNM: support@65535.net | Virtual Servers from just $15/mo e: rghf@65535.net | Community: http://www.65535.org <http://www.65535.org>=20 t: +44 (0) 7092016595 | Rate us: http://www.65535.net/rate.php <http://www.65535.net/rate.php>=20 _______________________________________________ freebsd-newbies@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies <http://lists.freebsd.org/mailman/listinfo/freebsd-newbies>=20 To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DCEE01466A8BC541AFF5B671084EF456049AD6>