Article ID: 124673, created on Mar 1, 2015, last review on Mar 1, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Attempt to reconfigure the domain fails with the error:

[root@vz ~]# /usr/local/psa/admin/bin/httpdmng --reconfigure-domain example.com
Error occured while sending feedback. HTTP code returned: 502
2015-02-18T22:51:33+01:00 ERR (3)  [panel]: Apache config (14242962820.05856600, service node 203.0.113.2) generation failed: Template_Exception: Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 100
code: 0
Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

On the service node the website hosts on, the /var/log/httpd/error_log contains the following errors:

(24)Too many open files: httpd: could not open error log file /home/vhosts/system/interface.gallery/logs/error_log.
Unable to open logs
(24)Too many open files: httpd: could not open error log file /home/vhosts/system/interface.gallery/logs/error_log.
Unable to open logs

Cause

Amount of websites hosted on the server. Apache attempts to open too many files (above the limit) and fails.

Resolution

Increase the required limit as described in KB Article.

Search Words

domain disabled

Too many open files

(24)Too many open files: httpd: could not open error log file

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF