Date: Fri, 24 May 2002 09:48:22 -0400 From: "Brian P. Trotter" <btrotter@pobox.com> To: <freebsd-newbies@freebsd.org> Subject: Need Apache and ddclient to start at boot Message-ID: <010601c20329$ab788520$b701010a@chtlt033>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0103_01C20308.2429B510 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a fresh install of FreeBSD 4.5 on my server. I have installed = Apache and ddclient (Dynamic DNS app) installed. I can manually start = each of these applications, but I can not get them to start = automatically. I placed a copy of the ddclient script in the = /usr/local/etc/rc.d/ directory, but it doesnt start. I have to manually = go to that directory and run that file to start it. As far as Apache, I created a file called httpdstart.sh, used an editor = and placed: /usr/local/apache2/bin/apachectl start inside the file, and also put it in the rc.d directory. It doesnt start = either, but I assume that is because of something I am doing wrong. Can someone enlighten me on the proper procedure for doing this? Thanks, Brian T. ------=_NextPart_000_0103_01C20308.2429B510 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4915.500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I have a fresh install of FreeBSD 4.5 = on my server.=20 I have installed Apache and ddclient (Dynamic DNS app) installed. I can = manually=20 start each of these applications, but I can not get them to start = automatically.=20 I placed a copy of the ddclient script in the /usr/local/etc/rc.d/ = directory,=20 but it doesnt start. I have to manually go to that directory and run = that file=20 to start it.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>As far as Apache, I created a file = called=20 httpdstart.sh, used an editor and placed:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>/usr/local/apache2/bin/apachectl = start</FONT></DIV> <DIV><FONT face=3DArial size=3D2>inside the file, and also put it in the = rc.d=20 directory. It doesnt start either, but I assume that is because of = something I=20 am doing wrong.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Can someone enlighten me on the proper = procedure=20 for doing this?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Brian T.</FONT></DIV></BODY></HTML> ------=_NextPart_000_0103_01C20308.2429B510-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010601c20329$ab788520$b701010a>