From owner-freebsd-isp Wed Mar 20 14:44:46 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mgnmail3.mgn.co.uk (mgnmail3.mgn.co.uk [195.92.144.196]) by hub.freebsd.org (Postfix) with ESMTP id 5C62F37B419 for ; Wed, 20 Mar 2002 14:44:32 -0800 (PST) Subject: Re: Problem with Starting httpd on FreeBSD To: Jamie Ostrowski Cc: freebsd-isp@FreeBSD.ORG X-Mailer: Lotus Notes Release 5.0.9 November 16, 2001 Message-ID: From: tony.mccrory@mgn.co.uk Date: Wed, 20 Mar 2002 22:44:26 +0000 X-MIMETrack: Serialize by Router on LNPRODUCTION1CW/MG_CW(Release 5.0.8 |June 18, 2001) at 20/03/2002 22:44:00 MIME-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=80256B82007CEB508f9e8a93df938690918c80256B82007CEB50" Content-Disposition: inline Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0__=80256B82007CEB508f9e8a93df938690918c80256B82007CEB50 Content-type: text/plain; charset=us-ascii /etc/rc will only look for startup scripts in /usr/local/etc/rc.d/ ending in .sh so you can do either 1) rename the apachectl script to apachectl.sh or 2) put apachectl in /usr/local/sbin/ and instead put apache.sh in /usr/local/etc/rc.d/ I'd suggest (2). Thats the way it came 'out of the box' for me. I've attached my apache.sh. Regards, Tony(See attached file: apache.sh) Jamie Ostrowski cc: Sent by: Subject: Problem with Starting httpd on FreeBSD owner-freebsd-isp@F reeBSD.ORG 20/03/2002 22:34 I am building a new web server for an ISP, and I am having trouble getting Apache to start up automatically when the machine comes up. I am running FreeBSD 4.5 RELEASE on a 1GHz PIII. I have installed apachectl in /usr/local/etc/rc.d, and set it to 755. I can start apache from the command manually in that directory like this: /usr/local/etc/rc.d/apachectl start and it comes up just fine. It does take about 15 seconds for it to start as there are a couple hundred virtual hosts it is starting up. Is init giving up after a certain length of time, before apachectl has time to finish firing up httpd? If so, is there a way this can be configured? I can't seem to locate any documentation that covers this specific problem. Thanks. - Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message IMPORTANT NOTICE The information in this e-mail is confidential and should only be read by those persons to whom it is addressed and is not intended to be relied upon by any person without subsequent written confirmation of its contents. Furthermore, the content of this e-mail is the personal view of the sender and does not represent the advice, views or opinion of our company. Accordingly, our company disclaim all responsibility and accept no liability (including in negligence) for the consequences of any person acting, or refraining from acting, on such information prior to the receipt by those persons of subsequent written confirmation. In particular (but not by way of limitation) our company disclaims all responsibility and accepts no liability for any e-mails which are defamatory, offensive, racist or in any other way are in breach of any third party's rights, including breach of confidence, privacy or other rights. If you have received this e-mail message in error, please notify me immediately by telephone. Please also destroy and delete the message from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message is strictly prohibited. Trinity Mirror plc is the holding company for the Trinity Mirror group of companies and is registered in England No. 82548, with its address at Kingsfield Court, Chester Business Park, Chester CH4 9RE. --0__=80256B82007CEB508f9e8a93df938690918c80256B82007CEB50 Content-type: application/octet-stream; name="apache.sh" Content-Disposition: attachment; filename="apache.sh" Content-transfer-encoding: base64 IyEvYmluL3NoDQoNCmlmICEgUFJFRklYPSQoZXhwciAkMCA6ICJcKC8uKlwpL2V0Yy9yY1wuZC8k KGJhc2VuYW1lICQwKVwkIik7IHRoZW4NCiAgICBlY2hvICIkMDogQ2Fubm90IGRldGVybWluZSB0 aGUgUFJFRklYIiA+JjINCiAgICBleGl0IDENCmZpDQoNCmNhc2UgIiQxIiBpbg0Kc3RhcnQpDQoJ WyAteCAke1BSRUZJWH0vc2Jpbi9hcGFjaGVjdGwgXSAmJiAke1BSRUZJWH0vc2Jpbi9hcGFjaGVj dGwgc3RhcnQgPiAvZGV2L251bGwgJiYgZWNobyAtbiAnIGFwYWNoZScNCgk7Ow0Kc3RvcCkNCglb IC1yIC92YXIvcnVuL2h0dHBkLnBpZCBdICYmICR7UFJFRklYfS9zYmluL2FwYWNoZWN0bCBzdG9w ID4gL2Rldi9udWxsICYmIGVjaG8gLW4gJyBhcGFjaGUnDQoJOzsNCiopDQoJZWNobyAiVXNhZ2U6 IGBiYXNlbmFtZSAkMGAge3N0YXJ0fHN0b3B9IiA+JjINCgk7Ow0KZXNhYw0KDQpleGl0IDANCg== --0__=80256B82007CEB508f9e8a93df938690918c80256B82007CEB50-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message