HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   ISPConfig Bind offline (http://www.howtoforge.com/forums/showthread.php?t=27590)

bobwdn 7th October 2008 18:38

ISPConfig Bind offline
 
Built an Ubuntu 8.04LTS ISPConfig server per Falko's instructions and two weeks ago, all was working fine. Lately, I have been working my way through getting my server recognized by my ISP nameservers.

Because I need to run one nameserver, I followed "How To Run Your Own Name Server With ISPConfig and providerdomain.de" how to. Struggled with the German graphics (on page 2), but I think I got through it with the help of "How To Run Your Own Servers With ISPConfig And GoDaddy" how to.

And now I have discovered that my bind9 is not running. "Services" shows it is "offline" as does natstat -tap shows not listening to ports 53 or 953.

The syslogd captures the following:

Oct 7 10:11:32 web02 named[22030]: starting BIND 9.4.2-P1 -u bind -t /var/lib/named
Oct 7 10:11:32 web02 named[22030]: found 1 CPU, using 1 worker thread
Oct 7 10:11:32 web02 named[22030]: loading configuration from '/etc/bind/named.conf'
Oct 7 10:11:32 web02 named[22030]: none:0: open: /etc/bind/named.conf: permission denied
Oct 7 10:11:32 web02 named[22030]: loading configuration: permission denied
Oct 7 10:11:32 web02 named[22030]: exiting (due to fatal error)
Oct 7 10:11:32 web02 kernel: [950173.520670] audit(1223392292.562:23): type=1503 operation="inode_permission" requested_mask="r::" denied_mask="r::" name="/var/lib/named/etc/bind/named.conf" pid=22031 profile="/usr/sbin/named" namespace="default"

I checked the permissions of /var/lib/named/etc/bind/named.conf and it is bind:bind.

Did something update bind recently that I overlooked when upgrading?

I need help. Please. :confused:

zinovsky 8th October 2008 11:41

I have the same probleme
 
i have the same probleme as you just for me the server is installed on centos5.2.

falko 8th October 2008 13:39

What's the output of
Code:

ls -la /etc/bind/
?

bobwdn 8th October 2008 16:55

ls -la output
 
ls -la /etc/bind gives the following output.

nrobert@web02:~$ ls -la /etc/bind
lrwxrwxrwx 1 root root 23 2008-09-24 09:11 /etc/bind -> /var/lib/named/etc/bind

bobwdn 9th October 2008 18:33

move?
 
Not getting any action here. Bind was working and then stopped. Should this be moved to some Bind forum?

Anybody?

falko 9th October 2008 19:13

I need the output of
Code:

ls -la /etc/bind/

bobwdn 9th October 2008 21:09

Oops sorry
 
nrobert@web02:~$ ls -la /etc/bind/
total 64
drwxr-sr-x 2 bind bind 4096 2008-10-06 09:30 .
drwxr-xr-x 3 root root 4096 2008-09-24 09:11 ..
-rw-r--r-- 1 bind bind 237 2008-07-07 16:06 db.0
-rw-r--r-- 1 bind bind 271 2008-07-07 16:06 db.127
-rw-r--r-- 1 bind bind 237 2008-07-07 16:06 db.255
-rw-r--r-- 1 bind bind 353 2008-07-07 16:06 db.empty
-rw-r--r-- 1 bind bind 270 2008-07-07 16:06 db.local
-rw-r--r-- 1 bind bind 2878 2008-07-07 16:06 db.root
-rw-r--r-- 1 bind bind 813 2008-10-06 09:29 named.conf
-rw-r--r-- 1 bind bind 907 2008-10-06 09:29 named.conf~
-rw-r--r-- 1 bind bind 165 2008-07-07 16:06 named.conf.local
-rw-r--r-- 1 bind bind 695 2008-07-07 16:06 named.conf.options
-rw-r--r-- 1 bind bind 1062 2008-10-06 09:37 pri.ourdomain.com
-rw-r--r-- 1 bind bind 1017 2008-10-06 09:37 pri.ourdomain.com~
-rw-r----- 1 bind bind 77 2008-09-24 09:08 rndc.key
-rw-r--r-- 1 bind bind 1317 2008-07-07 16:06 zones.rfc1918

falko 10th October 2008 15:15

What's in /etc/bind/named.conf?

Can you also post the output of
Code:

ls -la /var/lib/named/etc/bind/
?

bobwdn 10th October 2008 16:36

requested info
 
contents of /etc/bind/named.conf:

nrobert@web02:~$ cat /etc/bind/named.conf
options {
pid-file "/var/run/bind/run/named.pid";
directory "/etc/bind";
auth-nxdomain no;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
zone "." {
type hint;
file "db.root";
};

zone "0.0.127.in-addr.arpa" {
type master;
file "db.local";
};


zone "ourdomain.com" {
type master;
file "pri.ourdomain.com";
};



//// MAKE MANUAL ENTRIES BELOW THIS LINE! ////



********************************************

And . . . . . . . .

nrobert@web02:~$ ls -la /var/lib/named/etc/bind/
total 64
drwxr-sr-x 2 bind bind 4096 2008-10-06 09:30 .
drwxr-xr-x 3 root root 4096 2008-09-24 09:11 ..
-rw-r--r-- 1 bind bind 237 2008-07-07 16:06 db.0
-rw-r--r-- 1 bind bind 271 2008-07-07 16:06 db.127
-rw-r--r-- 1 bind bind 237 2008-07-07 16:06 db.255
-rw-r--r-- 1 bind bind 353 2008-07-07 16:06 db.empty
-rw-r--r-- 1 bind bind 270 2008-07-07 16:06 db.local
-rw-r--r-- 1 bind bind 2878 2008-07-07 16:06 db.root
-rw-r--r-- 1 bind bind 813 2008-10-06 09:29 named.conf
-rw-r--r-- 1 bind bind 907 2008-10-06 09:29 named.conf~
-rw-r--r-- 1 bind bind 165 2008-07-07 16:06 named.conf.local
-rw-r--r-- 1 bind bind 695 2008-07-07 16:06 named.conf.options
-rw-r--r-- 1 bind bind 1062 2008-10-06 09:37 pri.ourdomain.com
-rw-r--r-- 1 bind bind 1017 2008-10-06 09:37 pri.ourdomain.com~
-rw-r----- 1 bind bind 77 2008-09-24 09:08 rndc.key

falko 11th October 2008 19:52

Can you try this:
Code:

chmod 755 /var/lib/named/etc/bind
and restart BIND?


All times are GMT +2. The time now is 13:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.