Apache problem
Johan Hendriks
Johan at double-l.nl
Thu May 1 05:50:16 PDT 2003
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="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
The line in red needs attention it must read
if [ -z "${apache_start}" ]; then
the ` after the -z needs to be a "
Good luck
Maybe you can mail him again.
-----Oorspronkelijk bericht-----
Van: Rus Foster [ mailto:rghf at fsck.me.uk <mailto:rghf at fsck.me.uk> ]
Verzonden: donderdag 1 mei 2003 10:33
Aan: Nucking Futs
CC: freebsd-newbies at 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 at 65535.net | Virtual Servers from just $15/mo
e: rghf at 65535.net | Community: http://www.65535.org
<http://www.65535.org>
t: +44 (0) 7092016595 | Rate us: http://www.65535.net/rate.php
<http://www.65535.net/rate.php>
_______________________________________________
freebsd-newbies at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
<http://lists.freebsd.org/mailman/listinfo/freebsd-newbies>
To unsubscribe, send any mail to
"freebsd-newbies-unsubscribe at freebsd.org"
More information about the freebsd-newbies
mailing list