LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-26-2012, 03:02 PM   #1
dmz1213
Member
 
Registered: Aug 2012
Posts: 31

Rep: Reputation: Disabled
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
 
Old 08-26-2012, 03:07 PM   #2
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 103

Rep: Reputation: 34
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
 
Old 08-26-2012, 03:10 PM   #3
dmz1213
Member
 
Registered: Aug 2012
Posts: 31

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-26-2012, 03:17 PM   #4
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 103

Rep: Reputation: 34
hm ok maybe this is the dhcp server, have you also dhcpd started?
 
Old 08-26-2012, 03:43 PM   #5
dmz1213
Member
 
Registered: Aug 2012
Posts: 31

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 5 will not show PNG icons, errors when X starts. vectro Linux - Desktop 10 03-31-2010 08:18 PM
Mandriva 2009 starts installation and then monitor starts rolling showing color lines HubertHickey Linux - Newbie 6 12-18-2008 12:24 AM
Two Fluxbox Versions - Root starts newest,User starts oldest fortezza Linux - Software 1 05-21-2006 01:17 AM


All times are GMT -5. The time now is 07:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration