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=27)
-   -   error after apt-get update (lwresd) (http://www.howtoforge.com/forums/showthread.php?t=58914)

ngoyette 29th September 2012 15:58

error after apt-get update (lwresd)
 
today i did an update to the server ,the usual way .. apt-get update && apt-get upgrade.

everything looked fine exept it as a red failed!:

Stopping domain name service: lwresd.
Starting domain name service: lwresd failed!



.... here is my daemon.log:
Sep 29 09:31:49 isp lwresd[15618]: shutting down
Sep 29 09:31:50 isp named[8394]: zone quebec-gamers.net/IN: sending notifies (serial 16)
Sep 29 09:31:53 isp lwresd[15618]: exiting
Sep 29 09:32:37 isp named[8394]: zone ns3.gisinet.net/IN: refresh: unexpected rcode (SERVFAIL) from master 64.15.130.185#53 (source 0.0.0.0#0)
Sep 29 09:33:02 isp lwresd[9408]: starting BIND 9.7.3
Sep 29 09:33:02 isp lwresd[9408]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=' 'CPPFLAGS='
Sep 29 09:33:02 isp lwresd[9408]: found 1 CPU, using 1 worker thread
Sep 29 09:33:02 isp lwresd[9408]: using up to 4096 sockets
Sep 29 09:33:02 isp lwresd[9408]: loading configuration from '/etc/bind/lwresd.conf'
Sep 29 09:33:02 isp lwresd[9408]: none:0: open: /etc/bind/lwresd.conf: file not found
Sep 29 09:33:02 isp lwresd[9408]: loading configuration from '/etc/resolv.conf'
Sep 29 09:33:02 isp lwresd[9408]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Sep 29 09:33:02 isp lwresd[9408]: max open files (1024) is smaller than max sockets (4096)
Sep 29 09:33:02 isp lwresd[9408]: using default UDP/IPv4 port range: [1024, 65535]
Sep 29 09:33:02 isp lwresd[9408]: using default UDP/IPv6 port range: [1024, 65535]
Sep 29 09:33:02 isp lwresd[9408]: could not open file '/var/run/lwresd/lwresd.pid': Permission denied
Sep 29 09:33:02 isp lwresd[9408]: generating session key for dynamic DNS
Sep 29 09:33:02 isp lwresd[9408]: could not open file '/var/run/named/session.key': Permission denied
Sep 29 09:33:02 isp lwresd[9408]: could not create /var/run/named/session.key
Sep 29 09:33:02 isp lwresd[9408]: failed to generate session key for dynamic DNS: permission denied
Sep 29 09:33:02 isp lwresd[9408]: set up managed keys zone for view _default, file 'managed-keys.bind'
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 0.IN-ADDR.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 127.IN-ADDR.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 254.169.IN-ADDR.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.IP6.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.IP6.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: D.F.IP6.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 8.E.F.IP6.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 9.E.F.IP6.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: A.E.F.IP6.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: B.E.F.IP6.ARPA
Sep 29 09:33:02 isp lwresd[9408]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Sep 29 09:33:02 isp lwresd[9408]: none:0: open: /etc/bind/rndc.key: permission denied
Sep 29 09:33:03 isp lwresd[9408]: couldn't add command channel 127.0.0.1#953: permission denied
Sep 29 09:33:03 isp lwresd[9408]: none:0: open: /etc/bind/rndc.key: permission denied
Sep 29 09:33:03 isp lwresd[9408]: couldn't add command channel ::1#953: permission denied
Sep 29 09:33:03 isp lwresd[9408]: failed to add lwres socket: 127.0.0.1#921: permission denied
Sep 29 09:33:03 isp lwresd[9408]: the working directory is not writable
Sep 29 09:33:03 isp lwresd[9408]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
Sep 29 09:33:03 isp lwresd[9408]: managed-keys-zone ./IN: loaded serial 0



i dont know what is lwresd ...

falko 30th September 2012 10:36

The problem seems to be with the directories /var/run/lwresd and /var/run/named. Please check their permissions.

ngoyette 1st October 2012 18:27

permission are as follow!
ls -la /var/run/
drwxrwxr-x 2 root bind 4096 Oct 1 11:20 named
drwxrwxr-x 2 root bind 4096 Sep 29 09:31 lwresd
--
drwxrwxr-x 2 root bind 4096 Oct 1 12:21 .
drwxr-xr-x 24 root root 4096 Oct 1 12:32 ..
-rw-r--r-- 1 bind bind 6 Oct 1 12:21 named.pid
-rw------- 1 bind bind 102 Oct 1 12:21 session.key
sy5tem@isp:~$ ls -la /var/run/lwresd/
total 8
drwxrwxr-x 2 root bind 4096 Sep 29 09:31 .
drwxr-xr-x 24 root root 4096 Oct 1 12:32 ..
--
-rwxr-xr-x 1 bind bind 77 Aug 29 2011 /etc/bind/rndc.key
-------


is lwresd required? was it ever suposed to work? my server dns seem's to be working.... still this is scary


All times are GMT +2. The time now is 14:29.

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