for dhcp, it should be:
/usr/sbin/dhcpd
And to enable it on startup, run this:
chkconfig --level 345 dhcpd on
Now, I don't why dhcpd can't be controlled by using the /sbin/service command (ie. service dhcpd start/stop/restart) or by /etc/init.d/dhcpd start/stop/restart) but most services can be controlled using the service command
# for xinetd
/sbin/service xinetd start/stop/restart
# for mysqld
/sbin/service xinetd start/stop/restart
# for httpd
/sbin/servie httpd start/stop/restart
Some services are xinetd controlled (not standalone services) and for this services, enabling them under the corresponding files in /etc/xinetd.d/ and then restart xinetd will make them accessible. Like for wu-ftpd, to enable, edit /etc/xinetd.d/wu-ftpd and set the the 'disable=yes' to 'disable=no' and then restart xinetd:
/sbin/service xinetd restart
Or, the easiest way is:
/sbin/chkconfig wu-ftpd on
no need to restart xinetd here. once an ftp connection is made, only then you should see an ftp daemon running.
|