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
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list