DNS zone are not being created after upgrade to 3.2.1

Discussion in 'Installation/Configuration' started by Georgy Goshin, Nov 25, 2020.

  1. Georgy Goshin

    Georgy Goshin New Member

    Hello
    I'm new with ISPConfig, please advice where to look for a problem?
    After upgrading to 3.2.1 I can't create more DNS zones. System shows no error messages and I can't find any logs with any of information about this. Maintenance mode switched off. I did not test a lot, but all other seems to be working, I can create mail domain and I can change existing DNS records.

    Thanks in advance
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Georgy Goshin

    Georgy Goshin New Member

    /usr/local/ispconfig/server/server.sh shows no error
    And I have no any jobs in the list, system just does nothing when I'm trying to add the zone...

    Also I have some errors in ssl_errors and error_log of the web server.

    Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
    and
    mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /usr/local/ispconfig/interface/web/dashboard/dashlets/limits.php on line 166
     
    Last edited: Nov 25, 2020
  4. Georgy Goshin

    Georgy Goshin New Member

    Please advice where also I could locate any info about this problem?
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What is in ISPConfig Panel tab System | Interface | Main Config | Domains | Use the domain limits in client module to add new domains
     
  6. Georgy Goshin

    Georgy Goshin New Member

    upload_2020-11-25_15-39-45.png
    I also tried to create zones from admin account with same no result and no error messages
     
    Last edited: Nov 25, 2020
  7. Georgy Goshin

    Georgy Goshin New Member

  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    What's your OS and PHP version? (php -v)
     
  9. Georgy Goshin

    Georgy Goshin New Member

    CentOS Linux release 8.2.2004 (Core)
    PHP 7.4.13
     
  10. Georgy Goshin

    Georgy Goshin New Member

    I found that removing of the zones works as usual but adding still does nothing. If I choose "Add new DNS zone manually", zone name is being added to the list but not being added to the servers themself...
    I can't locate any info in logs about it. Maybe I could increase a logging level somewhere?
     
    Last edited: Nov 26, 2020
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Please see post #2 for the link to the debug instructions. if you don't post the debug output that you get on the shell when running server.sh after adding a new dns zone with debug mode enabled, then we can't help you.
     
  12. Georgy Goshin

    Georgy Goshin New Member

    Hi again
    I'm sorry I didn't read the first paragraph carefully and I did not completed 1st thing, did not raised log level. But it really did not helped a lot.

    Here is the output (and the same line I see in the logs)
    after changing the log level
    26.11.2020-11:18 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    26.11.2020-11:18 - DEBUG - Found 6 changes, starting update process.
    26.11.2020-11:18 - DEBUG - Processed datalog_id 1122
    26.11.2020-11:18 - DEBUG - Processed datalog_id 1123
    26.11.2020-11:18 - DEBUG - Processed datalog_id 1124
    26.11.2020-11:18 - DEBUG - Processed datalog_id 1125
    26.11.2020-11:18 - DEBUG - Calling function 'server_ip' from plugin 'apache2_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 1
    26.11.2020-11:18 - DEBUG - safe_exec cmd: which 'apachectl' 2> /dev/null - return code: 0
    26.11.2020-11:18 - DEBUG - Writing the conf file: /etc/httpd/conf/sites-available/ispconfig.conf
    26.11.2020-11:18 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 1
    26.11.2020-11:18 - DEBUG - safe_exec cmd: which 'apachectl' 2> /dev/null - return code: 0
    26.11.2020-11:18 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - Network configuration disabled in server settings.
    26.11.2020-11:18 - DEBUG - Calling function 'update' from plugin 'server_services_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - Calling function 'server_update' from plugin 'webserver_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - Processed datalog_id 1126
    26.11.2020-11:18 - DEBUG - Calling function 'server_ip' from plugin 'apache2_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 1
    26.11.2020-11:18 - DEBUG - safe_exec cmd: which 'apachectl' 2> /dev/null - return code: 0
    26.11.2020-11:18 - DEBUG - Writing the conf file: /etc/httpd/conf/sites-available/ispconfig.conf
    26.11.2020-11:18 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - safe_exec cmd: which 'apache2ctl' 2> /dev/null - return code: 1
    26.11.2020-11:18 - DEBUG - safe_exec cmd: which 'apachectl' 2> /dev/null - return code: 0
    26.11.2020-11:18 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - Network configuration disabled in server settings.
    26.11.2020-11:18 - DEBUG - Calling function 'update' from plugin 'server_services_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - Calling function 'server_update' from plugin 'webserver_plugin' raised by event 'server_update'.
    26.11.2020-11:18 - DEBUG - Processed datalog_id 1127
    26.11.2020-11:18 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
    26.11.2020-11:18 - DEBUG - Restarting httpd: systemctl restart httpd.service
    26.11.2020-11:18 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished server.php.

    After trying to add the zone
    26.11.2020-11:19 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    26.11.2020-11:19 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished server.php.


    When I'm trying to make any change in hosted entities, I see the red circle with the number of changes to be done on the servers but when I'm trying to add the zone, I see no these upcoming changes list. When I'm press the button Create new DNS zone after filling the client, zone name and email fields, I'm just returning to the zone's list without new zone being added and without red circle with the number of changes to be done.
     
    ahrasis likes this.
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, how did you add the dns zone, by using the dns zone wizard?
     
  14. Georgy Goshin

    Georgy Goshin New Member

    Yes, I'm going to DNS section (admin user)
    Press Add new DNS Zone with Wizard
    Fill data (template, client, domain, email)
    Press Create new DNS zone
    And just getting back to DNS section, zone list.

    I tried add manually, in that case zone is being added to the zone list in the interface but no red circle with tasks appears and no zone actually being created on the server.
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try adding this line at the end of the dns zone template that you are using:

    dnssec_wanted=0
     
    Georgy Goshin likes this.
  16. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I think it should be
    Code:
    dnssec_wanted=n
     
    ahrasis and till like this.
  17. till

    till Super Moderator Staff Member ISPConfig Developer

  18. Georgy Goshin

    Georgy Goshin New Member

    Switching DNSSEC off this was has resolved the problem. Thank you. Does it means something? Should I just add this to the new templates?
     
    linus, barko and ahrasis like this.
  19. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Yes, and we should add it to the example template.
     
    ahrasis likes this.
  20. Georgy Goshin

    Georgy Goshin New Member

    Problem solved. Thank you a lot!
     
    barko and Th0m like this.

Share This Page