Thanks
I think that last line made if finally work (# processname: httpd) , because
I did have 345 85 15 in the script
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chuck Mead
Sent: Wednesday, March 14, 2001 9:59 AM
To: REDHAT . .
Subject: Re: chkconfig
On Wed, 14 Mar 2001, mjs spewed into the bitstream:
m>
m>I'm running RH 6.2 and and I want to add a startup script for apache in
the
m>init.d dir, so I copied the apachectl script to the init.d dir....then I
ran
m>
m>chkconfig --add apachectl
m>
m>I received back:
m>
m>service apachectl does not support chkconfig
m>
m>anyway, so I renamed the apachectl scirpt to httpd and tried again and I
m>received the same error
m>service httpd does not support chkconfig
m>
m>why can't chkconfig add these script names???
You're missing required data in the top of the file... try adding this
to the top of the apachectl file:
#!/bin/sh
#
# Startup script for the Apache Web Server
#
# chkconfig: 345 85 15
# description: Apache is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: httpd
This is probably not perfect but it may get you started understanding
what's happening!
--
Chuck Mead, csm -AT- moongroup.com, Owner, MoonGroup.com
(Note: html formatted email sent to me is filtered & deleted unread)
GnuPG Public Key Available: http://wwwkeys.us.pgp.net
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list