service httpd does not support chkconfig

Giving you : service httpd does not support chkconfig

Try this out :-

After compilation copy apachectl script as /etc/init.d/httpd
Now, Open this file and add the following lines given below just after #!/bin/bash
Make sure that you don’t uncomment the lines; “ONLY COMMENTED WORKS” {{Sounds Strange?? Better you try it out!}}

#
# Startup script for the Apache Web Server
#
# chkconfig: - 85 15
# description: Apache is a World Wide Web server. It is used to serve
# HTML files and CGI.
# processname: httpd
# pidfile: /usr/local/apache/logs/httpd.pid
# config: /usr/local/apache/conf/httpd.conf
#

Now try : chkconfig httpd on

3 Comments »

  1. Eduardo Said,

    March 19, 2008 @ 8:41 pm

    Excellent!!!!

  2. greerwage Said,

    March 27, 2008 @ 5:32 pm

    Very useful site, nice :)
    Good Bye!

  3. Siber Said,

    August 1, 2008 @ 5:53 pm

    Wow!!! Good job. Could I take some of yours triks to build my own site?

RSS feed for comments on this post · TrackBack URI

Leave a Comment