Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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.
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4915.500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>As far as Apache, I created a file called 
httpdstart.sh, used an editor and placed:</FONT></DIV>
<DIV><FONT face=Arial size=2>/usr/local/apache2/bin/apachectl start</FONT></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can someone enlighten me on the proper procedure 
for doing this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Brian T.</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010601c20329$ab788520$b701010a>