HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   No dns zone files created? (http://www.howtoforge.com/forums/showthread.php?t=56524)

sjau 13th March 2012 11:28

No dns zone files created?
 
Hi there

I followed the debian 6 howto to setup ISPConfig. From the interface side it all seems to run well. The problem however is, when I add a DNS zone through the wizzard, nothing happens on the file level system.

I created one website, added a DNS zone for it and /etc/bind still outputs:

Code:

/etc/bind # ls -al
total 64K
drwxr-sr-x  3 root bind 4.0K Mar 12 13:58 .
drwxr-xr-x 105 root root 4.0K Mar 13 11:07 ..
-rw-r--r--  1 root root 2.5K Nov 16 20:19 bind.keys
-rw-r--r--  1 root root  237 Nov 16 20:19 db.0
-rw-r--r--  1 root root  271 Nov 16 20:19 db.127
-rw-r--r--  1 root root  237 Nov 16 20:19 db.255
-rw-r--r--  1 root root  353 Nov 16 20:19 db.empty
-rw-r--r--  1 root root  270 Nov 16 20:19 db.local
-rw-r--r--  1 root root 3.0K Nov 16 20:19 db.root
-rw-r--r--  1 root bind  463 Nov 16 20:19 named.conf
-rw-r--r--  1 root bind  490 Nov 16 20:19 named.conf.default-zones
-rw-r--r--  1 root bind    1 Mar 12 13:58 named.conf.local
-rw-r--r--  1 root bind  572 Nov 16 20:19 named.conf.options
-rw-r-----  1 bind bind  77 Mar 12 11:36 rndc.key
drwxr-s---  2 root bind 4.0K Mar 12 11:47 slave
-rw-r--r--  1 root root 1.3K Nov 16 20:19 zones.rfc1918

So, are the zones stored somewhere else? To my understanding they should be in named.conf with ISPConfig.

till 13th March 2012 11:37

The zones get added in named.conf.local which is included in named.conf.

If no dns zones get created in that file, then check that the jobqueue in the monitor is empty, If thats the case, then post the output of:

ls -la /usr/local/ispconfig/server/plugins-enabled
ls -la /usr/local/ispconfig/server/mods-enabled

sjau 13th March 2012 11:40

named.conf.local is empty

jobqueue is also empty


Code:

ls -la /usr/local/ispconfig/server/plugins-enabled                                       
total 80K                                                                                                               
drwxr-s---  2 ispconfig ispconfig 4.0K Mar 12 11:48 .                                                                   
drwxr-s--- 13 ispconfig ispconfig 4.0K Mar 12 11:48 ..                                                                         
lrwxrwxrwx  1 ispconfig ispconfig  68 Mar 12 11:48 apache2_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php
lrwxrwxrwx  1 ispconfig ispconfig  71 Mar 12 11:48 apps_vhost_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/apps_vhost_plugin.inc.php
lrwxrwxrwx  1 ispconfig ispconfig  65 Mar 12 11:48 bind_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php
lrwxrwxrwx  1 ispconfig ispconfig  73 Mar 12 11:48 cron_jailkit_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php
lrwxrwxrwx  1 ispconfig ispconfig  65 Mar 12 11:48 cron_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/cron_plugin.inc.php
lrwxrwxrwx  1 ispconfig ispconfig  69 Mar 12 11:48 firewall_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/firewall_plugin.inc.php
lrwxrwxrwx  1 ispconfig ispconfig  73 Mar 12 11:48 ftpuser_base_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/ftpuser_base_plugin.inc.php
lrwxrwxrwx  1 ispconfig ispconfig  68 Mar 12 11:48 getmail_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/getmail_plugin.inc.php   
lrwxrwxrwx  1 ispconfig ispconfig  72 Mar 12 11:48 maildeliver_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/maildeliver_plugin.inc.php 
lrwxrwxrwx  1 ispconfig ispconfig  68 Mar 12 11:48 mailman_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mailman_plugin.inc.php         
lrwxrwxrwx  1 ispconfig ispconfig  65 Mar 12 11:48 mail_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mail_plugin.inc.php               
lrwxrwxrwx  1 ispconfig ispconfig  75 Mar 12 11:48 mysql_clientdb_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mysql_clientdb_plugin.inc.php     
lrwxrwxrwx  1 ispconfig ispconfig  77 Mar 12 11:48 network_settings_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/network_settings_plugin.inc.php 
lrwxrwxrwx  1 ispconfig ispconfig  75 Mar 12 11:48 postfix_filter_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/postfix_filter_plugin.inc.php     
lrwxrwxrwx  1 ispconfig ispconfig  75 Mar 12 11:48 postfix_server_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/postfix_server_plugin.inc.php     
lrwxrwxrwx  1 ispconfig ispconfig  75 Mar 12 11:48 shelluser_base_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/shelluser_base_plugin.inc.php             
lrwxrwxrwx  1 ispconfig ispconfig  78 Mar 12 11:48 shelluser_jailkit_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/shelluser_jailkit_plugin.inc.php       
lrwxrwxrwx  1 ispconfig ispconfig  76 Mar 12 11:48 software_update_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/software_update_plugin.inc.php                     
root@manager /etc/bind #

Code:

ls -la /usr/local/ispconfig/server/mods-enabled                                                                                                                     
total 52K                                                                                                                                                                                     
drwxr-s---  2 ispconfig ispconfig 4.0K Mar 12 11:48 .                                                                                                                                                     
drwxr-s--- 13 ispconfig ispconfig 4.0K Mar 12 11:48 ..                                                                                                                                                     
lrwxrwxrwx  1 ispconfig ispconfig  64 Mar 12 11:48 client_module.inc.php -> /usr/local/ispconfig/server/mods-available/client_module.inc.php                                                             
lrwxrwxrwx  1 ispconfig ispconfig  62 Mar 12 11:48 cron_module.inc.php -> /usr/local/ispconfig/server/mods-available/cron_module.inc.php                                                                 
lrwxrwxrwx  1 ispconfig ispconfig  66 Mar 12 11:48 database_module.inc.php -> /usr/local/ispconfig/server/mods-available/database_module.inc.php                                                         
lrwxrwxrwx  1 ispconfig ispconfig  61 Mar 12 11:48 dns_module.inc.php -> /usr/local/ispconfig/server/mods-available/dns_module.inc.php                                                                   
lrwxrwxrwx  1 ispconfig ispconfig  62 Mar 12 11:48 mail_module.inc.php -> /usr/local/ispconfig/server/mods-available/mail_module.inc.php                                                                 
lrwxrwxrwx  1 ispconfig ispconfig  70 Mar 12 11:48 monitor_core_module.inc.php -> /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php                                                 
lrwxrwxrwx  1 ispconfig ispconfig  75 Mar 12 11:48 remoteaction_core_module.inc.php -> /usr/local/ispconfig/server/mods-available/remoteaction_core_module.inc.php                                             
lrwxrwxrwx  1 ispconfig ispconfig  69 Mar 12 11:48 rescue_core_module.inc.php -> /usr/local/ispconfig/server/mods-available/rescue_core_module.inc.php                                                         
lrwxrwxrwx  1 ispconfig ispconfig  64 Mar 12 11:48 server_module.inc.php -> /usr/local/ispconfig/server/mods-available/server_module.inc.php                                                                   
lrwxrwxrwx  1 ispconfig ispconfig  60 Mar 12 11:48 vm_module.inc.php -> /usr/local/ispconfig/server/mods-available/vm_module.inc.php                                                                           
lrwxrwxrwx  1 ispconfig ispconfig  61 Mar 12 11:48 web_module.inc.php -> /usr/local/ispconfig/server/mods-available/web_module.inc.php


till 13th March 2012 11:48

Thats all ok. Please check if the paths to the named configuration files etc. under System > Server Config > DNS are correct.

If thats the case, then there might be a problem with the dns record you created as ispconfig does not write the dns record when bind refuses to load it e.g. when the zone has no ns records or the ns records does not exist as a-records etc. You can see such errors by enabling loglevel debug, then modifying the dns records and check the log a minute later.

sjau 13th March 2012 12:03

They look correct to me

http://images.sjau.ch/img/b9edb479.png

sjau 13th March 2012 12:06

something strange is going one.... I think I'll just re-setup the whole thing.

Can I just run the ISPConfig install script again after removing the the IPSConfig database?

till 13th March 2012 12:12

Please use the uninstall.php to remove ispconfig from the server. The script is in the install folder.

But I'am note sure if the reinstall will help, better you just run the server script in debug mode to see the reason for the problem:

http://www.faqforge.com/linux/debugg...-of-a-failure/

sjau 13th March 2012 13:15

ok, reinstallation worked... no idea what cause the issue before.


All times are GMT +2. The time now is 06:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.