BIND offline

Discussion in 'Installation/Configuration' started by cybereatl, Mar 14, 2008.

  1. cybereatl

    cybereatl Member

    Hi folks,

    I've updated my old server and install ISPConfig with Fedora 8 and all seems good, all services were running great, and I just add a site and now BIND-Server is offline, what do I need to check to make sure it's working ok??

    Thanks
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap

    and try to start bind on the shell. If bind does not start, have a look in the messages log or syslog.
     
  3. cybereatl

    cybereatl Member

    here is the output:

    netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:44168 *:* LISTEN 1752/rpc.statd
    tcp 0 0 *:mysql *:* LISTEN 2080/mysqld
    tcp 0 0 *:sunrpc *:* LISTEN 1733/rpcbind
    tcp 0 0 *:hosts2-ns *:* LISTEN 2575/ispconfig_http
    tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2330/cupsd
    tcp 0 0 *:smtp *:* LISTEN 14833/master
    tcp 0 0 *:imaps *:* LISTEN 2103/dovecot
    tcp 0 0 *:pop3s *:* LISTEN 2103/dovecot
    tcp 0 0 *:pop3 *:* LISTEN 2103/dovecot
    tcp 0 0 *:imap *:* LISTEN 2103/dovecot
    tcp 0 0 *:http *:* LISTEN 2758/httpd
    tcp 0 0 *:ftp *:* LISTEN 2877/proftpd: (acce
    tcp 0 0 *:ssh *:* LISTEN 1976/sshd
    tcp 0 0 *:https *:* LISTEN 2758/httpd
    tcp 0 1892 www.educandote.edu.co:ssh cable-baq-co-57.170.2:18735 ESTABLISHED 22013/0
    [[email protected] ~]#

    And here it's the output when trying to start named:

    [[email protected] ~]# /etc/init.d/named restart Stopping named: [ OK ]
    Starting named:
    Error in named configuration:
    /etc/named.conf:3: change directory to '/var/named/chroot/var/named' failed: file not found

    /etc/named.conf:3: parsing failed
    [FAILED]
    [[email protected] ~]#

    Thank you
     
    Last edited: Mar 15, 2008
  4. falko

    falko Super Moderator ISPConfig Developer

    Please do this:
    Code:
    chmod 755 /var/named/
    chmod 775 /var/named/chroot/
    chmod 775 /var/named/chroot/var/
    chmod 775 /var/named/chroot/var/named/
    chmod 775 /var/named/chroot/var/run/
    chmod 777 /var/named/chroot/var/run/named/
    cd /var/named/chroot/var/named/
    ln -s ../../ chroot
     
  5. cybereatl

    cybereatl Member

    You`re the man Falko.

    Thanks
     

Share This Page