Date: Fri, 24 May 2002 11:15:32 -0400 From: "David Rhodus" <sdrhodus@kyblue.com> To: "Brian P. Trotter" <btrotter@pobox.com>, <freebsd-newbies@freebsd.org> Subject: Re: Need Apache and ddclient to start at boot Message-ID: <028701c20335$d9146e20$1506810a@asgidavid> References: <010601c20329$ab788520$b701010a@chtlt033>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0284_01C20314.51BC7650 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Might try chmod +x /usr/local/etc/rc.d/httpdstart.sh ciao, Dave ----- Original=20 ----- Original Message -----=20 From: Brian P. Trotter=20 To: freebsd-newbies@freebsd.org=20 Sent: Friday, May 24, 2002 9:48 AM Subject: Need Apache and ddclient to start at boot 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_0284_01C20314.51BC7650 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 6.00.2715.400" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV> <DIV><FONT face=3DArial size=3D2>Might try</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>chmod +x=20 /usr/local/etc/rc.d/httpdstart.sh</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>ciao,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Dave</FONT></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original = </DIV></BLOCKQUOTE></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Dbtrotter@pobox.com href=3D"mailto:btrotter@pobox.com">Brian = P.=20 Trotter</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3Dfreebsd-newbies@freebsd.org=20 = href=3D"mailto:freebsd-newbies@freebsd.org">freebsd-newbies@freebsd.org</= A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, May 24, 2002 9:48 = AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Need Apache and = ddclient to=20 start at boot</DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>I have a fresh install of FreeBSD 4.5 = on my=20 server. I have installed Apache and ddclient (Dynamic DNS app) = installed. I=20 can manually start each of these applications, but I can not get them = to start=20 automatically. I placed a copy of the ddclient script in the=20 /usr/local/etc/rc.d/ directory, but it doesnt start. I have to = manually go to=20 that directory and run that file 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=20 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></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0284_01C20314.51BC7650-- 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?028701c20335$d9146e20$1506810a>