Unable to generate the web server configuration file: "No or empty input supplied on utility's standard input stream"

Refers to:

  • Plesk 10.4 for Linux
  • Plesk 11.5 for Linux

Created:

2016-11-16 12:46:57 UTC

Modified:

2016-12-21 19:11:57 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to generate the web server configuration file: "No or empty input supplied on utility's standard input stream"

Symptoms

Getting the following notification by email:

Unable to generate the web server configuration file on the host <server.example.com> because of the following errors:

Template_Exception: No or empty input supplied on utility's standard input stream!

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0

Cause

Some configuration files were not generated during Daily Maintenance script.

Resolution

  1. Find all the domains with broken configuration files:

    ~# MYSQL_PWD=`cat /etc/psa/.psa.shadow`  mysql -uadmin psa -sNe "select d.name,c.name,c.file,c.status from domains d join Configurations c on d.id=c.objectId where c.status <> 'ok'"
  2. Reconfigure broken domains:

    # /usr/local/psa/admin/bin/httpdmng  --reconfigure-domain <domain_name>

    or all the domains:

    # /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Have more questions? Submit a request
Please sign in to leave a comment.