BIND9 DNS Not Working

Discussion in 'Installation/Configuration' started by Xendi, Aug 7, 2017.

  1. Xendi

    Xendi New Member

    Here are my cron jobs:
    Code:
    * * * * * /usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /v$
    * * * * * /usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var$
    0 0 * * * /usr/local/ispconfig/server/scripts/create_daily_nginx_access_logs.sh &> /dev/null
    I'm also getting this:
    Code:
    [email protected]:/etc/cron.d# /usr/local/ispconfig/server/server.sh
    08.08.2017-13:35 - WARNING - There is already an instance of server.php running with pid 4453.
    Not sure why it's not working.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    rm -f /usr/local/ispconfig/server/temp/.ispconfig_lock
    /usr/local/ispconfig/server/server.sh
     
  3. Xendi

    Xendi New Member

    Here we go:
    Code:
    08.08.2017-13:37 - WARNING - There is already an instance of server.php running with pid 4453.
    [email protected]:/etc/cron.d# kill 4453
    [email protected]:/etc/cron.d# /usr/local/ispconfig/server/server.sh
    08.08.2017-13:37 - WARNING - There is already a lockfile set, but no process running with this pid (4453). Continuing.
    
    
    08.08.2017-13:37 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    08.08.2017-13:37 - DEBUG - Found 26 changes, starting update process.
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 148
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 149
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 150
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 151
    08.08.2017-13:37 - DEBUG - Calling function 'soa_update' from plugin 'bind_plugin' raised by event 'dns_soa_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 152
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 153
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 154
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 155
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 156
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 157
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 158
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 159
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 160
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    
     
  4. Xendi

    Xendi New Member

    continued:
    Code:
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 161
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 162
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 163
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 164
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 165
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 166
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 167
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 168
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 169
    08.08.2017-13:37 - DEBUG - Calling function 'rr_update' from plugin 'bind_plugin' raised by event 'dns_rr_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 170
    08.08.2017-13:37 - DEBUG - Calling function 'soa_update' from plugin 'bind_plugin' raised by event 'dns_soa_update'.
    08.08.2017-13:37 - DEBUG - Writing BIND domain file: /etc/bind/pri.synthetisoft.com
    08.08.2017-13:37 - WARNING - DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    DNSSEC ERROR: We are low on entropy. Not generating new Keys for synthetisoft.com. Please consider installing package haveged.
    08.08.2017-13:37 - DEBUG - Writing BIND named.conf.local file: /etc/bind/named.conf.local
    08.08.2017-13:37 - DEBUG - Processed datalog_id 171
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 172
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Network configuration disabled in server settings.
    08.08.2017-13:37 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
    08.08.2017-13:37 - DEBUG - Processed datalog_id 173
    08.08.2017-13:37 - DEBUG - Calling function 'restartBind' from module 'dns_module'.
    08.08.2017-13:37 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
    08.08.2017-13:37 - DEBUG - Checking nginx configuration...
    08.08.2017-13:37 - DEBUG - nginx configuration ok!
    08.08.2017-13:37 - DEBUG - Restarting httpd: systemctl reload nginx.service
    08.08.2017-13:37 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Your server has not enough entropy to generate dnssec keys and the haveged package seems to be missing on your server. Install haveged with apt and change a setting in your dns zone so that ispconfig tries to generate the zone again.
     
  6. Xendi

    Xendi New Member

    dig works now! Thanks so much!!! So that cron job was working then but it was just having that error? So just uncomment it?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    There were two errors, the cron job had been interrupted, so the .lock file was present. It must have worked before, otherwise you would not had the zone config file. And the reason why the zone config file was not included in named.conf.local was that the dnssec signing failed due to low entropy on your server.

    you can activate the cronjob again now and set log level back to error.
     
  8. Tuumke

    Tuumke Active Member

    Dig works here as well ;) Glad it's fixed!
     

Share This Page