• 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

Issue Problem with creating webspace

CoyoteKG

Regular Pleskian
I installed minimal Centos 0.7.
After that MySQL 5.7 and PHP 5.6 remi.
And then Plesk... with no errors

Now when I try to create webspace I got this error
upload_2017-3-11_20-11-9.png

why?

When I clicked to generate links I got this
Unable to configure the web server: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all ) Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart ) Details: [2017-03-11 20:33:40] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1] [2017-03-11 20:33:41] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1] [2017-03-11 20:33:41] ERR [panel] Apache config (14892608200.59359700) generation failed: Template_Exception: AH00526: Syntax error on line 30 of /etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0 AH00526: Syntax error on line 30 of /etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf: Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory
 
Last edited:
Hi CoyoteKG,

pls. try to solve the issue with the commands over SSH ( logged in as user "root" ):
Code:
( Plesk 12.5 or later )
plesk repair web -y -v

or

plesk bin repair --restore-vhosts-permissions
plesk bin repair --update-vhosts-structure
 
after plesk repair web -y -v I got this Fails

Repairing server-wide configuration parameters for web servers .. [2017-03-11 20:40:01] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/httpdmng' '--reconfigure-server'] with exit code [1]
[FAILED]
- httpdmng failed: [2017-03-11 20:39:58] ERR [util_exec]
proc_close() failed ['/usr/local/psa/admin/bin/apache-config'
'-t'] with exit code [1]
[2017-03-11 20:39:59] ERR [util_exec] proc_close() failed
['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code
[1]
[2017-03-11 20:40:00] ERR [panel] Apache config
(14892611980.83047600) generation failed: Template_Exception:
AH00526: Syntax error on line 30 of
/etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be
accessed: (2)No such file or directory

file:
/usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
AH00526: Syntax error on line 30 of
/etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be
accessed: (2)No such file or directory
Updating the file of sharing passwords and permissions of users
according to actual information ................................. [OK]
Repairing web server configuration for all domains. This aspect
can be used with individual domains ("plesk repair web
example.com"), and on the server level ("plesk repair web") ..... [2017-03-11 20:40:25] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/httpdmng' '--reconfigure-all'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[FAILED]
- httpdmng failed: Error occured while sending feedback. HTTP
code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: [2017-03-11 20:40:02] ERR [util_exec] proc_close()
failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with
exit code [1]
[2017-03-11 20:40:10] ERR [util_exec] proc_close() failed
['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code
[1]
[2017-03-11 20:40:19] ERR [panel] Apache config
(14892612020.27338100) generation failed: Template_Exception:
AH00526: Syntax error on line 30 of
/etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be
accessed: (2)No such file or directory

file:
/usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
AH00526: Syntax error on line 30 of
/etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be
accessed: (2)No such file or directory

and after
[root@websrv1 tmp]# plesk bin repair --update-vhosts-structure
Error occured while sending feedback. HTTP code returned: 502
Error: Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-all
)

Details: Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: [2017-03-11 20:42:19] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2017-03-11 20:42:20] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2017-03-11 20:42:20] ERR [panel] Apache config (14892613390.70452300) generation failed: Template_Exception: AH00526: Syntax error on line 30 of /etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
AH00526: Syntax error on line 30 of /etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory



Error occured while sending feedback. HTTP code returned: 502
Unable to update the structure of the home directory: an unexpected error has occurred.
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-all
)

Details: Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: [2017-03-11 20:42:19] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2017-03-11 20:42:20] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
Error occured while sending feedback. HTTP code returned: 502
[2017-03-11 20:42:20] ERR [panel] Apache config (14892613390.70452300) generation failed: Template_Exception: AH00526: Syntax error on line 30 of /etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
AH00526: Syntax error on line 30 of /etc/httpd/conf/plesk.conf.d/webmails/cs.team_webmail.conf:
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory




exit status 1
 
Hi CoyoteKG,

did you recently upgraded ( or removed and re-installed ) PHP or/and MySQL - packages on your server and didn't pay attention upon dependencies removals?

Pls. try to restore a backup, use the "Plesk repair utility", or try out the "Plesk installer" to fix your issue.
 
Hi,
No I did not.
Like I said, that is fresh installed Centos 7.3 minimal.
After that I installed only mysql 5.7 and php 5.6.
I did not installed httpd, because I chose to do that via pledk installer.
So I installed plesk with no errors. Installed SSL, added plesk and mail to that SSL, and that is it.
After that I just tried to create webspace with domain ceman.info, and I got that errors.
 
Hi CoyoteKG,

you could try as well ( for Plesk 12.5.30 and CentOS 7 ) :

Code:
rpm -Uvh http://autoinstall.plesk.com/PSA_12.5.30/dist-rpm-CentOS-7-x86_64/opt/php5/psa-php5-configurator-1.7.0-cos7.build1205150924.14.x86_64.rpm


Afterwards, I strongly recommend:
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base
or
plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base

followed by

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Hi CoyoteKG,

well, IF you desire help for Plesk Onyx, pls. don't open a thread at "Home > Forum > Plesk Discussion > Plesk 12.x for Linux"... :rolleyes:

The Plesk ONYX subforum is located at:




In addition, pls. consider to investigate your installer - logs, which should directly point you to possible issues/errors/problems, so your statement:
I want clean proper installation, not some fixing from start.
... could explain, what might have gone wrong. :)
 
Ah, OK. I supposed because you are Plesk Guru, and about your activity that you are from Plesk team :).
 
Back
Top