• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75

SahinS

Basic Pleskian
Hi All,
I have a (Centos 6 & Plesk 12) VPS and very hard problem! Problem is, I run this codes:

# /etc/init.d/nginx restart
out: Not starting nginx as it is disabled in config

# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
Code:
ERR [util_exec] proc_close() failed
[2015-04-15 05:13:29] ERR [panel] Apache config (14290891720.37505300) generation failed: Template_Exception: Syntax error on line 59 of /etc/httpd/conf/plesk.conf.d/vhosts/sunucucozumleri.com.conf:
FcgidIOTimeout must be greater than 0

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75
code: 0
Syntax error on line 59 of /etc/httpd/conf/plesk.conf.d/vhosts/myOneDomain.com.conf:
FcgidIOTimeout must be greater than 0

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

Code:
Execution failed.
Command: httpdmng
Arguments: Array
(
    [0] => --reconfigure-domains
    [1] => blabla.com,clacla.com,okeydokey.com....
)

Details: [2015-04-15 05:22:32] ERR [util_exec] proc_close() failed
[2015-04-15 05:22:40] ERR [panel] Apache config (14290897330.31984800) generation failed: Template_Exception: Syntax error on line 59 of /etc/httpd/conf/plesk.conf.d/vhosts/OneMyDom.com.conf:
FcgidIOTimeout must be greater than 0

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Syntax error on line 59 of /etc/httpd/conf/plesk.conf.d/vhosts/MyOneDom.com.conf:
FcgidIOTimeout must be greater than 0


Can you help me? :(
Thanks!
 
FcgidIOTimeout must be greater than 0

Looks like that problem in that subscription has max_execution_time PHP parameter set as -1 value.
Set correct value for max_execution_time PHP parameter, recommend value is 60.
Use something like

#plesk bin subscription --update-php-settings MyOneDom.com -settings my_file

Content of my_file should be like

max_execution_time = 60

More details here - http://download1.parallels.com/Plesk/Doc/es-ES/online/plesk-unix-cli/37768.htm
 
Looks like that problem in that subscription has max_execution_time PHP parameter set as -1 value.
Set correct value for max_execution_time PHP parameter, recommend value is 60.
Use something like

#plesk bin subscription --update-php-settings MyOneDom.com -settings my_file

Content of my_file should be like

max_execution_time = 60

More details here - http://download1.parallels.com/Plesk/Doc/es-ES/online/plesk-unix-cli/37768.htm

Hello IgorG
New statu:
[root@mySrv~]#
[root@mySrv~]# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
[root@mySrv ~]#
[root@mySrv ~]# service nginx restart
Starting
nginx: [ OK ]

[root@mySrv ~]#
[root@mySrv ~]#

I have another a problem. see please. site is working but.. dns errors ? also no problem on other sites. see. they are in the same place.
 
[root@mySrv ~]# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

-- Warning: Skipping the data of table mysql.event. Specify the --events option e xplicitly.
Finishing up upgrade procedures and rerunning previously failed upgrade actions. ..
===> Cumulative APS controller database (apsc) upgrade and repair has been starte d.
===> Cumulative upgrade and repair of APS controller database has been completed.
===> Cumulative APS controller upgrade and repair (final stage) has been started.
===> Cumulative upgrade and repair of APS controller (final stage) has been compl eted.
===> Cumulative Plesk database upgrade and repair (revertable stage) has been sta rted.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
===> Cumulative Plesk upgrade and repair (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade and repair of Plesk (final stage) has been completed.
Reconfiguring mail subsystem...
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
Restoring SELinux context on '/usr/local/psa'
Restoring SELinux context on '/var/log/psa-horde'
Restoring SELinux context on '/var/named/chroot'
Restoring SELinux context on '/var/qmail/alias'
Restoring SELinux context on '/var/qmail/control'
Restoring SELinux context on '/var/qmail/popuser'
Restoring SELinux context on '/var/qmail/queue'
Restoring SELinux context on '/var/qmail/users'
Restoring SELinux context on '/var/lib/plesk'
Restoring SELinux context on '/usr/libexec/postfix'
Restoring SELinux context on '/var/drweb'
Restoring SELinux context on '/opt/drweb'
Restoring SELinux context on '/usr/lib64/plesk-9.0'
Restoring SELinux context on '/etc/nginx'
Restoring SELinux context on '/var/lib/nginx'
Restoring SELinux context on '/var/log/nginx'
Restoring SELinux context on '/var/lib/plesk/mail'
Restoring SELinux context on '/opt/kav'
Restoring SELinux context on '/usr/lib64/php/modules'
Restoring SELinux context on '/var/run'
Restoring SELinux context on '/var/www/vhosts'
Restoring SELinux context on '/var/qmail/mailnames'
Regenerating web servers' configuration files...
Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/var/log/plesk/install/plesk_12.0.18_repair.log' and '/var/log/plesk/install/plesk_12.0.18_repair_problems.log' ) for errors.
If you can't resolve the issue on your own, please address Parallels support.


...

....
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
Restoring SELinux context on '/usr/local/psa'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/log/psa-horde'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/named/chroot'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/qmail/alias'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/qmail/control'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/qmail/popuser'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/qmail/queue'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/qmail/users'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/lib/plesk'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/usr/libexec/postfix'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/drweb'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/opt/drweb'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/usr/lib64/plesk-9.0'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/etc/nginx'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/lib/nginx'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/log/nginx'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/lib/plesk/mail'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/opt/kav'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/usr/lib64/php/modules'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/run'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/www/vhosts'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Restoring SELinux context on '/var/qmail/mailnames'
Can't stat exclude path "/var/named/chroot/proc", No such file or directory - ignoring.
Regenerating web servers' configuration files...
Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/var/log/plesk/install/plesk_12.0.18_repair.log' and '/var/log/plesk/install/plesk_12.0.18_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.

**** Product repair completed successfully.
 
Back
Top