Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm not sure but I think the named service keeps crashing on my VPS server.

This brings it up fine:

root@vps [~]# /sbin/service named restart

How can I diagnose why this is happening?

root@vps [~]# uname -a
Linux 2.6.18-028stab070.14 #1 SMP Thu Nov 18 16:04:02 MSK 2010 x86_64 x86_64 x86_64 GNU/Linux
share|improve this question

Have a look in /var/log/messages for the output from your named process as it starts and fails.

You can also run named directly from the command line and switch on debugging to get more information on what is happening. Depending on how you have configured named you may have to supply other command line parameters e.g.

  • -u user to run named under
  • -c /path/to/named.conf
  • -t /path/to/chroot

To run named in the foreground and send all logging to stderr

/usr/sbin/named -g

To run named in the foreground and send all logging to stderr with additional debugging information

/usr/sbin/named -g -d 1

You can increase the debug level to get more verbose logging.

share|improve this answer

Check named process:

ps aux | grep name
bind     15133  0.0  0.4 279224 59612 ?        Ssl   2010   1:18 /usr/sbin/named -u bind

Check port listen:

lsof -i udp:53
named   15133 bind  512u  IPv6  96328476       UDP *:domain

Check log:

less /var/log/(syslog|named.log|message|daemon.log|...)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.