LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Who starts up dnsmasq on CentOS 6? (https://www.linuxquestions.org/questions/linux-server-73/who-starts-up-dnsmasq-on-centos-6-a-4175424100/)

dmz1213 08-26-2012 03:02 PM

Who starts up dnsmasq on CentOS 6?
 
Hello:
On CentOS, a process dnsmasq is always up and running after reboot:
nobody 2412 1 0 08:20 ? 00:00:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override

Which scripts starts it up ?
Thanks.
Warren

fl0 08-26-2012 03:07 PM

Hi,

you can turn dnsmasq off with chkconfig dnsmasq off && service dnsmasq stop
the script is located in /etc/init.d/

you schould read the man pages from chkconfig and service commands.


regards fl0

dmz1213 08-26-2012 03:10 PM

Hi,
I do not find any start up script on /etc/rc*.d which starts up dnsmasq...
Only find the kill script K50dnsmasq.
Thanks.
Warren

fl0 08-26-2012 03:17 PM

hm ok maybe this is the dhcp server, have you also dhcpd started?

dmz1213 08-26-2012 03:43 PM

Hi,
# chkconfig dhcpd --list
error reading information on service dhcpd: No such file or directory

And there is no /etc/dhcpd.conf file. No /var/lib/dhcpd directory either.
Thanks.
Warren


All times are GMT -5. The time now is 12:22 PM.