A careful reading of the manpage for
dhcpd confirms the idea posted by
jonlake that you are probably not actually executing the script
/etc/rc.d/init.d/dhcpd, but rather are running the program
dhcpd with the parameter
stop, which is interpreted as an interface (which does not exist; thus 0.0.0.0). Give the command this way:
Code:
# /etc/rc.d/init.d/dhcpd stop
A similar careful reading of the manpage for
chkconfig says that it pays attention to some things called override files; they are found in
/etc/chkconfig.d/{servicename}. If there is a file
/etc/chkconfig.d/dhcpd, its contents will take precedence over the comment lines in the
/etc/rc.d/init.d/dhcpd file, and may be the reason that you are having so much trouble with this.
BTW, the second code section posted by
jonlake is just what
chkconfig would have done if it had obeyed the line in your
/etc/rc.d/init.d/dhcpd script that I posted about 3 posts back.