Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have setup the DNS server and when i run the command service named restart, it shows failed. Please help. This is my log messages below:
Jan 28 15:29:13 server named[8533]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5 -u named -D -t /var/named/chroot
Jan 28 15:29:13 server named[8533]: adjusted limit on open files from 1024 to 1048576
Jan 28 15:29:13 server named[8533]: found 2 CPUs, using 2 worker threads
Jan 28 15:29:13 server named[8533]: using up to 4096 sockets
Jan 28 15:29:13 server named[8533]: loading configuration from '/etc/named.conf'
Jan 28 15:29:13 server named[8533]: using default UDP/IPv4 port range: [1024, 65535]
Jan 28 15:29:13 server named[8533]: using default UDP/IPv6 port range: [1024, 65535]
Jan 28 15:29:13 server named[8533]: listening on IPv4 interface lo, 127.0.0.1#53
Jan 28 15:29:13 server named[8533]: listening on IPv4 interface eth0, 192.168.1.250#53
Jan 28 15:29:13 server named[8533]: using default UDP/IPv6 port range: [1024, 65535]
Jan 28 15:29:13 server named[8533]: listening on IPv4 interface lo, 127.0.0.1#53
Jan 28 15:29:13 server named[8533]: listening on IPv4 interface eth0, 192.168.1.250#53
Jan 28 15:29:13 server named[8533]: command channel listening on 127.0.0.1#953
Jan 28 15:29:13 server named[8533]: command channel listening on ::1#953
Jan 28 15:29:13 server named[8533]: the working directory is not writable
Jan 28 15:29:13 server named[8533]: zone 1.168.192.in-addr.arpa/IN: loaded serial 1997022700
Jan 28 15:29:13 server named[8533]: zone ioties.com/IN: loaded serial 42
Now I am in /var/named/chroot and i run the command chmod g+w named of /var/named/chroot/var and the error message is not showing in logs. But still the service is showing failed when i restart the service.
These are the files you want to have a view:
/var/named/chroot/var/named/:
total 3028
-rw------- 1 named named 43597824 Jan 28 15:49 core.8716
-rw------- 1 named named 43597824 Jan 28 15:55 core.8735
drwxrwx--- 2 named named 4096 Jan 27 21:54 data
-rw-r----- 1 named named 229 Jan 27 21:41 forward.zone
-rw-r----- 1 named named 198 Jul 30 2009 localdomain.zone
-rw-r----- 1 named named 195 Jul 30 2009 localhost.zone
-rw-r----- 1 named named 427 Jul 30 2009 named.broadcast
-rw-r----- 1 named named 1892 Jul 30 2009 named.ca
-rw-r----- 1 named named 424 Jul 30 2009 named.ip6.local
-rw-r----- 1 named named 426 Jul 30 2009 named.local
-rw-r----- 1 named named 427 Jul 30 2009 named.zero
-rw-r----- 1 named named 453 Jan 27 21:44 reverse.zone
drwxrwx--- 2 named named 4096 Jul 27 2004 slaves
/var/named/chroot/var/named/data:
total 8
-rw-r--r-- 1 named named 4147 Jan 28 15:55 named.run
/var/named/chroot/var/named/slaves:
total 0
Last edited by rahul.buragohain; 01-28-2013 at 04:26 AM.
process 8902: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file dbus-connection.c line 2615.
This is normally a bug in some application using the D-Bus library.
Segmentation fault (core dumped)
named -u named -D -t /var/named/chroot -d3 -f
process 8945: Re-entrant call to dbus_connection_set_watch_functions is not allowed
Segmentation fault (core dumped)
[root@server bin]# named -u named -D -t /var/named/chroot -d3 -f
process 8950: Re-entrant call to dbus_connection_set_watch_functions is not allowed
process 8950: Re-entrant call to dbus_connection_set_timeout_functions is not allowed
process 8950: Re-entrant call to dbus_connection_set_watch_functions is not allowed
process 8950: Re-entrant call to dbus_connection_set_timeout_functions is not allowed
process 8950: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file dbus-connection.c line 2744.
This is normally a bug in some application using the D-Bus library.
process 8950: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file dbus-connection.c line 2615.
This is normally a bug in some application using the D-Bus library.
*** glibc detected *** named: double free or corruption (!prev): 0x093d7f40 ***
Aborted (core dumped)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.