Hello,
Due heartbleed we updated all of our Debian boxes From Debian 7.x to Debian 7.4 with openSSL fixed (Plesk 11.5.30, MU 40 or MU 41). Since then, we started to receive these mails when we delete or create a domain:
Unable to generate the web server configuration file on the host <server.domain.ext> because of the following errors:
Template_Exception: No or empty input supplied on utility's standard input stream!
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
Please resolve the errors in web server configuration templates and generate the file again.
Is in all the boxes not in only one. Also if we check the panel log the domains causing the error works fine but...
Here you have the log /usr/local/psa/admin/logs/panel.log:
If I go to /var/www/vhosts/system/domain.com/conf
And ls -l:
-rw-r----- 1 root nginx 2516 feb 3 13:14 13914296740.63289400_nginx.conf
-rw-r----- 1 root www-data 6991 feb 3 13:14 13914296800.69655300_httpd.conf
-rw-r----- 1 root nginx 2516 feb 3 13:14 13914296910.04822400_nginx.conf
-rw-r----- 1 root www-data 6991 feb 3 13:14 13914296910.37193400_httpd.conf
-rw-r----- 1 root nginx 2516 feb 3 13:15 13914297390.44619200_nginx.conf
-rw-r----- 1 root www-data 6991 feb 3 13:15 13914297390.62356000_httpd.conf
-rw-r----- 1 root nginx 2516 feb 3 13:19 13914299380.33440000_nginx.conf
-rw-r----- 1 root www-data 6991 feb 3 13:18 13914299380.51388000_httpd.conf
-rw-r----- 1 root www-data 7223 abr 16 19:26 13976691600.28797700_httpd.conf
-rw-r----- 1 root nginx 2516 abr 16 19:28 13976692760.74672100_nginx.conf
-rw-r----- 1 root www-data 7223 abr 16 19:27 13976692770.09857200_httpd.conf
-rw-r----- 1 root nginx 2516 abr 16 19:31 13976694920.37960800_nginx.conf
-rw-r----- 1 root www-data 7223 abr 16 19:31 13976694920.69590900_httpd.conf
-rw-r----- 1 root nginx 2516 abr 16 19:41 13976701120.43432200_nginx.conf
-rw-r----- 1 root www-data 7223 abr 16 19:41 13976701120.75705000_httpd.conf
lrwxrwxrwx 1 root root 31 abr 16 19:41 last_httpd.conf -> 13976701120.75705000_httpd.conf
lrwxrwxrwx 1 root root 31 abr 16 19:41 last_nginx.conf -> 13976701120.43432200_nginx.conf
-rw-r--r-- 1 root root 0 abr 16 07:36 prev_month.found
-rw-r--r-- 1 root root 2 abr 16 07:36 stat_ttl.conf
Can you please tell me exactly why we receive the error?
Regards
Due heartbleed we updated all of our Debian boxes From Debian 7.x to Debian 7.4 with openSSL fixed (Plesk 11.5.30, MU 40 or MU 41). Since then, we started to receive these mails when we delete or create a domain:
Unable to generate the web server configuration file on the host <server.domain.ext> because of the following errors:
Template_Exception: No or empty input supplied on utility's standard input stream!
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
Please resolve the errors in web server configuration templates and generate the file again.
Is in all the boxes not in only one. Also if we check the panel log the domains causing the error works fine but...
Here you have the log /usr/local/psa/admin/logs/panel.log:
2014-04-16T19:26:07+02:00 ERR (3) [util_exec]: proc_close() failed
[16-Apr-2014 19:26:07 Europe/Berlin] PleskUtilException: '/opt/psa/admin/bin/nginx-config' '-w' '/var/www/vhosts/system/domain.com/conf/13976691590.61770700_nginx.conf' failed with code 101.
stdout:
stderr:
No or empty input supplied on utility's standard input stream!
file: /opt/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 38
code: 0
trace: #0 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(60): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#1 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(26): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#2 /opt/psa/admin/plib/Service/Agent.php(140): Service_Agent_Transport_Local->process('0a14d91bcb3ed66...', Array)
#3 /opt/psa/admin/plib/Service/Driver/Web/Proxy/Nginx.php(44): Service_Agent->commit()
#4 /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php(66): Service_Driver_Web_Proxy_Nginx->test()
#5 /opt/psa/admin/plib/Template/Configuration/Applier.php(204): Template_Writer_Webserver_Abstract->test()
#6 /opt/psa/admin/plib/Template/Configuration/Applier.php(110): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#7 [internal function]: Template_Configuration_Applier->applyConfiguration()
#8 {main}
2014-04-16T19:26:07+02:00 ERR (3) [util_exec]: proc_close() failed
[16-Apr-2014 19:26:07 Europe/Berlin] PleskUtilException: '/opt/psa/admin/bin/nginx-config' '-l' '/var/www/vhosts/system/domain.com/conf/13976691590.61770700_nginx.conf:/etc/nginx/plesk.conf.d/vhosts/domain.com.conf' failed with code 100.
stdout:
stderr:
Path /var/www/vhosts/system/domain.com/conf/13976691590.61770700_nginx.conf doesn't exist
file: /opt/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 38
code: 0
trace: #0 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(60): Service_Agent_Transport_Local_Exec->process(1, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#1 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(26): Service_Agent_Transport_Local->_command(1, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#2 /opt/psa/admin/plib/Service/Agent.php(140): Service_Agent_Transport_Local->process('0a14d91bcb3ed66...', Array)
#3 /opt/psa/admin/plib/Service/Driver/Web/Proxy/Nginx.php(44): Service_Agent->commit()
#4 /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php(66): Service_Driver_Web_Proxy_Nginx->test()
#5 /opt/psa/admin/plib/Template/Configuration/Applier.php(204): Template_Writer_Webserver_Abstract->test()
#6 /opt/psa/admin/plib/Template/Configuration/Applier.php(110): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#7 [internal function]: Template_Configuration_Applier->applyConfiguration()
#8 {main}
2014-04-16T19:26:07+02:00 ERR (3) [panel]: Apache config (13976691590.61770700) generation failed: Template_Exception: No or empty input supplied on utility's standard input stream!
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0
If I go to /var/www/vhosts/system/domain.com/conf
And ls -l:
-rw-r----- 1 root nginx 2516 feb 3 13:14 13914296740.63289400_nginx.conf
-rw-r----- 1 root www-data 6991 feb 3 13:14 13914296800.69655300_httpd.conf
-rw-r----- 1 root nginx 2516 feb 3 13:14 13914296910.04822400_nginx.conf
-rw-r----- 1 root www-data 6991 feb 3 13:14 13914296910.37193400_httpd.conf
-rw-r----- 1 root nginx 2516 feb 3 13:15 13914297390.44619200_nginx.conf
-rw-r----- 1 root www-data 6991 feb 3 13:15 13914297390.62356000_httpd.conf
-rw-r----- 1 root nginx 2516 feb 3 13:19 13914299380.33440000_nginx.conf
-rw-r----- 1 root www-data 6991 feb 3 13:18 13914299380.51388000_httpd.conf
-rw-r----- 1 root www-data 7223 abr 16 19:26 13976691600.28797700_httpd.conf
-rw-r----- 1 root nginx 2516 abr 16 19:28 13976692760.74672100_nginx.conf
-rw-r----- 1 root www-data 7223 abr 16 19:27 13976692770.09857200_httpd.conf
-rw-r----- 1 root nginx 2516 abr 16 19:31 13976694920.37960800_nginx.conf
-rw-r----- 1 root www-data 7223 abr 16 19:31 13976694920.69590900_httpd.conf
-rw-r----- 1 root nginx 2516 abr 16 19:41 13976701120.43432200_nginx.conf
-rw-r----- 1 root www-data 7223 abr 16 19:41 13976701120.75705000_httpd.conf
lrwxrwxrwx 1 root root 31 abr 16 19:41 last_httpd.conf -> 13976701120.75705000_httpd.conf
lrwxrwxrwx 1 root root 31 abr 16 19:41 last_nginx.conf -> 13976701120.43432200_nginx.conf
-rw-r--r-- 1 root root 0 abr 16 07:36 prev_month.found
-rw-r--r-- 1 root root 2 abr 16 07:36 stat_ttl.conf
Can you please tell me exactly why we receive the error?
Regards
Last edited: