LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-24-2008, 05:02 AM   #16
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

Sorry - try


/etc/init.d/named start
 
Old 03-24-2008, 05:12 AM   #17
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
Code:
-bash: /etc/init.d/named: No such file or directory
do you mean /etc/init.d/bind9 start ?
 
Old 03-24-2008, 05:20 AM   #18
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If that's what it's called in Debian, then yes (it's "named" in RedHat)
 
Old 03-24-2008, 05:26 AM   #19
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
Code:
Mar 24 07:53:01 thereddwarf kernel: [15928.310000] Failure registering capabilities with primary security module.
Mar 24 08:07:45 thereddwarf -- MARK --
Mar 24 08:27:45 thereddwarf -- MARK --
Mar 24 08:47:45 thereddwarf -- MARK --
Mar 24 08:58:44 thereddwarf kernel: [19871.820000] Failure registering capabilities with primary security module.
Mar 24 08:59:20 thereddwarf kernel: [19907.130000] Failure registering capabilities with primary security module.
Mar 24 09:27:45 thereddwarf -- MARK --
Mar 24 09:47:45 thereddwarf -- MARK --
Mar 24 10:07:45 thereddwarf -- MARK --
Mar 24 10:26:13 thereddwarf kernel: [25120.540000] Failure registering capabilities with primary security module.
 
Old 03-24-2008, 05:35 AM   #20
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
This doesn't really look like a bind error, but who knows. Did you do anything other than delete a file?

I think if it were me, I'd uninstall bind and reinstall. Would that be simple enough for you to do?
 
Old 03-24-2008, 05:46 AM   #21
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
apt-get remove bind9 then apt-get install bind9 but i did that and it didn't do anything

plus i don't want to lose my old settings
 
Old 03-24-2008, 06:02 AM   #22
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You wouldn't lose your settings if you backed-up you zone files.

What else happened around this time? I suspect you've done a lot more damage than deleting a reverse DNS entry
 
Old 03-24-2008, 06:04 AM   #23
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
ahh it's /var/log/syslog not /var/log/messages

Code:
Mar 24 11:00:27 thereddwarf named[14134]: starting BIND 9.4.1-P1 -u bind
Mar 24 11:00:27 thereddwarf named[14134]: found 2 CPUs, using 2 worker threads
Mar 24 11:00:27 thereddwarf named[14134]: loading configuration from '/etc/bind/named.conf'
Mar 24 11:00:27 thereddwarf named[14134]: /etc/bind/named.conf:40: zone 'mydomain1.com': already exists previous definition: /etc/bind/named.conf:30
Mar 24 11:00:27 thereddwarf named[14134]: /etc/bind/named.conf:45: zone 'mydomain2.com': already exists previous definition: /etc/bind/named.conf:34
Mar 24 11:00:27 thereddwarf named[14134]: loading configuration: failure
Mar 24 11:00:27 thereddwarf named[14134]: exiting (due to fatal error)
looks like i had them in there twice somehow (ispconfig i guess) anyway billymayday you've helped me again and this time i've learnt to look in the log files as the answer it there

i will use this in the future

thank you again!!
 
Old 03-24-2008, 06:07 AM   #24
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Cool.

Always remember your logs - don't always help, but usually do. If you aren't sure which log, the time from ls -l may help narrow things down.
 
  


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
DNS Master Zone Vs. DNS Slave Zone ALInux Linux - Networking 3 08-29-2007 09:28 AM
DNS BIND Zone transfer fails from Master to Slave ALInux Linux - Networking 0 08-28-2007 05:19 AM
DNS Zone x-fer - From one zone to another / Debian 3.1 + BIND9 kenwoodgt Linux - Software 0 11-01-2006 10:28 AM
HELP: slave DNS is not updating Zone FIle from Master Cypher12 Linux - Networking 2 09-12-2006 06:12 PM
LXer: Installing A Bind9 Master/Slave DNS System LXer Syndicated Linux News 0 08-27-2006 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration