ISPConfig not creating zonefile

Discussion in 'General' started by jimbauwens, Jan 19, 2015.

  1. jimbauwens

    jimbauwens New Member

    Hi.

    I'm running ISPConfig (3.0.2.1) on a Ubuntu 10.04 LTS server. I've been running it for some years now but becauses of issues with my ISP's DNS configuration interface I decided to try and use ISPConfig to manage it (use my server as nameserver). In any case, the issue I am having is that while I can edit the zones using the ISPConfig interface without an issue it doesn't seem to generate any zone files inside of the directory /etc/bind/.
    ISPConfig doesn't spit out any errors that help me debug the issue (even after setting the log level to debug). The Apache webserver log some warnings about none defined variables (some concerning the dns) but I'm not too sure if they are related to the issue.
    ISPConfig is correctly pointing to the correct configuration files.

    Anyone have an idea what the issue could be?

    Greetings,
    Jim
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    May you please post the debug output that you get when you add a new dns zone.
     
  3. jimbauwens

    jimbauwens New Member

    The output is:

    Code:
    # /usr/local/ispconfig/server/server.sh
    19.01.2015-19:50 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    19.01.2015-19:50 - DEBUG - Found 3 changes, starting update process.
    /usr/bin/fail2ban-client
    19.01.2015-19:50 - DEBUG - Call function 'update' in plugin 'apps_vhost_plugin' raised by event 'server_update'.
    19.01.2015-19:50 - DEBUG - Call function 'update' in plugin 'network_settings_plugin' raised by event 'server_update'.
    19.01.2015-19:50 - WARNING - Network configuration disabled in server settings.
    19.01.2015-19:50 - DEBUG - Call function 'update' in plugin 'postfix_server_plugin' raised by event 'server_update'.
    19.01.2015-19:50 - DEBUG - Processed datalog_id 282
    19.01.2015-19:50 - DEBUG - Call function 'update' in plugin 'apps_vhost_plugin' raised by event 'server_update'.
    19.01.2015-19:50 - DEBUG - Call function 'update' in plugin 'network_settings_plugin' raised by event 'server_update'.
    19.01.2015-19:50 - WARNING - Network configuration disabled in server settings.
    19.01.2015-19:50 - DEBUG - Call function 'update' in plugin 'postfix_server_plugin' raised by event 'server_update'.
    19.01.2015-19:50 - DEBUG - Processed datalog_id 283
    19.01.2015-19:50 - DEBUG - Processed datalog_id 284
    19.01.2015-19:50 - DEBUG - Call function 'restartHttpd' in module 'web_module'.
    19.01.2015-19:50 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
    The new entries the apache error log:
    Code:
    [Mon Jan 19 19:49:02 2015] [error] [client x.x.x.x] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 189, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:06 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:06 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: admin:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:06 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: admin:server_config:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:06 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 142, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 189, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:47 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:47 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: dns:on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:47 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: dns:dns_soa:on_after_insert in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://bwns.be:8080/
    [Mon Jan 19 19:49:47 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: return_to_url in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 218, referer: http://bwns.be:8080/
    Thank you
     
    Last edited: Jan 19, 2015
  4. jimbauwens

    jimbauwens New Member

    After removing it (double posting due to character limitations)
    Code:
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: id in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: id in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_userid in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_userid in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_groupid in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_groupid in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_perm_user in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_perm_user in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_perm_group in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_perm_group in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: sys_perm_other in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: server_id in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: server_id in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: origin in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: origin in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: ns in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: ns in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: mbox in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: mbox in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: serial in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: serial in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: refresh in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: refresh in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: retry in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: retry in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: expire in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: expire in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: minimum in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: minimum in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: ttl in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: ttl in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: active in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: active in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 231, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: xfer in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: also_notify in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    [Mon Jan 19 19:59:31 2015] [error] [client x.x.x.x] PHP Notice:  Undefined index: update_acl in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 228, referer: http://bwns.be:8080/
    Code:
    19.01.2015-20:00 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    19.01.2015-20:00 - DEBUG - Found 1 changes, starting update process.
    19.01.2015-20:00 - DEBUG - Processed datalog_id 285
    19.01.2015-20:00 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    That's a large amount of warnings.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The php notices are ok. The debug log that you posted contans only changes in postfix and changes in ispconfig general settings. are you sure tat you disabled the server.sh cronjob, then created a new dns zone in the dns manager and then run the server.sh script?
     
  6. jimbauwens

    jimbauwens New Member

    Yes. (crontab -e as root and commenting it out should be sufficient, right?)
    I have tried it again (adding a new DNS zone, not with the wizard), this time I only get:
    Code:
    19.01.2015-20:34 - DEBUG - Found 1 changes, starting update process.
    19.01.2015-20:34 - DEBUG - Processed datalog_id 286
    19.01.2015-20:34 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you use Bind or mydns as nameserver?
     
  8. jimbauwens

    jimbauwens New Member

    I am using bind and ISPConfig is configured to use bind. (Well it properly links to the config files)
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. then it might be that the bind ispconfig plugin is not enabled. Please post the output of:

    ls -la /usr/local/ispconfig/server/plugins-enabled/
     
  10. jimbauwens

    jimbauwens New Member

    That was the issue! I added the required symlinks and now it is working well.
    Thank you for your time :)
     

Share This Page