From owner-freebsd-newbies Fri May 24 8:42:24 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from mail7.carolina.rr.com (mail7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 7A54737B40A for ; Fri, 24 May 2002 08:42:12 -0700 (PDT) Received: from chtlt033 ([24.74.25.55]) by mail7.carolina.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Fri, 24 May 2002 11:41:54 -0400 Message-ID: <013f01c20339$83d3a4e0$b701010a@chtlt033> Reply-To: "Brian P. Trotter" From: "Brian P. Trotter" To: "David Rhodus" , References: <010601c20329$ab788520$b701010a@chtlt033> <028701c20335$d9146e20$1506810a@asgidavid> Subject: Re: Need Apache and ddclient to start at boot Date: Fri, 24 May 2002 11:41:47 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_013C_01C20317.FC771930" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_013C_01C20317.FC771930 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable That worked like a charm. While doing that, I also noticed that the ddclient file did not have a = .sh extension like all the other files in that directory. I renamed it = to ddclient.sh, rebooted the server, and both httpd and ddclient are = auto-starting now. Many thanks for your help. Brian ----- Original Message -----=20 From: David Rhodus=20 To: Brian P. Trotter ; freebsd-newbies@freebsd.org=20 Sent: Friday, May 24, 2002 11:15 AM Subject: Re: Need Apache and ddclient to start at boot 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_013C_01C20317.FC771930 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
That worked like a charm.
 
While doing that, I also noticed that = the ddclient=20 file did not have a .sh extension like all the other files in that = directory. I=20 renamed it to ddclient.sh, rebooted the server, and both httpd and = ddclient are=20 auto-starting now.
 
Many thanks for your help.
 
 
Brian
 
 
----- Original Message -----
From:=20 David=20 Rhodus
To: Brian P. Trotter ; freebsd-newbies@freebsd.org=20
Sent: Friday, May 24, 2002 = 11:15 AM
Subject: Re: Need Apache and = ddclient to=20 start at boot

Might try
 
chmod +x=20 /usr/local/etc/rc.d/httpdstart.sh
 
ciao,
Dave
----- Original =
----- Original Message -----
From:=20 Brian P.=20 Trotter
To: freebsd-newbies@freebsd.org=20
Sent: Friday, May 24, 2002 = 9:48=20 AM
Subject: Need Apache and = ddclient to=20 start at boot

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=20 start 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=20 to that directory and run that file to start it.
 
As far as Apache, I created a file = called=20 httpdstart.sh, used an editor and placed:
/usr/local/apache2/bin/apachectl=20 start
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=20 I am doing wrong.
 
Can someone enlighten me on the = proper=20 procedure for doing this?
 
 
 
Thanks,
Brian=20 T.
------=_NextPart_000_013C_01C20317.FC771930-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message