LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 12:58 AM   #1
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Rep: Reputation: 30
deleted master dns zone and messed bind9 up :\


hi i was in ISPconfig's BIND DNS Server settings page and i deleted one of my zones (the one name after my servers ip not any of my domains) and now i can't get bind to start and all my sites are down

i've also tried to add it back but it says it's not a valid domain name


os: ubuntu server 7.1
 
Old 03-24-2008, 01:29 AM   #2
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
What exactly do you mean by
Quote:
the one name after my servers ip not any of my domains
I'm assuming you don't have any backups - probably a good time to revisit your backup strategy once we get this sorted out
 
Old 03-24-2008, 01:31 AM   #3
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
i mean the ip address of my server and not one of my domains
 
Old 03-24-2008, 01:36 AM   #4
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
DP you mean something like 1.168.192.in-addr.arpa?

You are going to need to explain in a bit more detail what's going on - there probably aren't a lot of people here who use IPConfig, but plenty who use Bind.
 
Old 03-24-2008, 01:37 AM   #5
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
Actually, can you list the files in you zone directory
 
Old 03-24-2008, 01:42 AM   #6
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by billymayday View Post
DP you mean something like 1.168.192.in-addr.arpa?

You are going to need to explain in a bit more detail what's going on - there probably aren't a lot of people here who use IPConfig, but plenty who use Bind.
yeah it might of been 1.168.192.in-addr.arpa

edit nope added it back and bind is still not starting

Quote:
Originally Posted by billymayday View Post
Actually, can you list the files in you zone directory
sure

Root zone
127.0.0
mydomain1.com
mydomain2.com

edit and now 192.168.1

Last edited by steve51184; 03-24-2008 at 01:45 AM.
 
Old 03-24-2008, 02:00 AM   #7
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
i know people might not know how to use ispconfig but we can start with getting bind running

where are the bind log files on ubuntu server? i'll try and start it and post the results
 
Old 03-24-2008, 02:49 AM   #8
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 - been away.

Have a look in /var/log. Otherwise, try

find /var -name "*log*"
 
Old 03-24-2008, 03:13 AM   #9
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
try there can't find any log file for bind
 
Old 03-24-2008, 03:18 AM   #10
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
It will be in messages or whatever your standard syslog is called
 
Old 03-24-2008, 04:00 AM   #11
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
found it

Code:
Mar 24 08:58:44 thereddwarf kernel: [19871.820000] Failure registering capabilities with primary security module.
 
Old 03-24-2008, 04:32 AM   #12
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
What are the messages either side of this when you try and start bind?
 
Old 03-24-2008, 04:39 AM   #13
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
Mar 24 06:40:51 thereddwarf kernel: [11598.370000] Failure registering capabilities with primary security module.
Mar 24 06:40:56 thereddwarf kernel: [11603.120000] Failure registering capabilities with primary security module.
Mar 24 06:41:01 thereddwarf kernel: [11608.650000] ADDRCONF(NETDEV_UP): eth0: link is not ready
 
Old 03-24-2008, 04:50 AM   #14
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, but are you sure these are from when you start bind? These seem to be a couple of hours earlier than the previous entry you posted


Anyway, as root, type "service named start" (no quotes)

Then post tail -10 /var/log/messages (or whatever the log was) If that doesn't look like enough info, try a 20 instead of the 10
 
Old 03-24-2008, 04:54 AM   #15
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
Code:
root@thereddwarf:~# service named start
The program 'service' can be found in the following packages:
 * debian-helper-scripts
 * sysvconfig
Try: apt-get install <selected package>
-bash: service: command not found
 
  


Reply



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 08:22 AM.

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