Hi,
I am a noob and i did big mistake today by what it looks like chmood the system files , i have tried through ssh to chmood directory using this command sudo chmod -R 777 /assets but i think it did chmood the plesk file system now i have erros all over plesk , also when trying to connect to my website i have this error bad gateway 502 nginx ! when loging to the plesk i can see this : New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter.
When i go to webserver configuration troubleshooter i can see this : Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted. Search in KB
Those red flagged :
/etc/apache2/plesk.conf.d/server.conf
/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf
/etc/apache2/plesk.conf.d/webmails/subdomainame_webmail.conf
/var/www/vhosts/system/mydomainame/conf/httpd.conf
/var/www/vhosts/system/mysubdomain/conf/httpd.conf
I can't rebuild them at all cause each time i try i get this :
Error: Can not reconfigure web server configurations: Unable to execute httpdmng: [2020-10-27 20:20:07.089] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=apache' 'ip_default/mywebsite.conf' 'ip_default/mywebsite_httpd_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.296] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=nginx' 'ip_default/mydomain.conf' 'ip_default/mywebsite_nginx_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.422] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=apache' 'ip_default/mysubdomain.conf' 'ip_default/mysubdomain_httpd_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.537] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=nginx' 'ip_default/mysubdomain.conf' 'ip_default/mysubdomain_nginx_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:08.306] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:08.442] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:08.567] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:08.705] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.007] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2020-10-27 20:20:09.137] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.246] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.365] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.476] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.614] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.723] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.838] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.950] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.063] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.179] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.296] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.407] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.529] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.638] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.749] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.877] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:11.127] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2020-10-27 20:20:11.231] ERR [panel] Apache config (16038300070.07390300) generation failed: Template_Exception: chown: changing ownership of '/var/www/vhosts/system/atthemarket.co.uk/conf/httpd.conf.bak': Operation not permitted
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
plesk sendmail[29908]: Unable to change ownership of mail file `/opt/psa/handlers/spool/messagepuqX2z' (1): Operation not permitted
[2020-10-27 20:20:11.258] ERR [panel] Unable to send mail: Unknown error
[2020-10-27 20:20:11.258] ERR [panel] Administrator notification failed: Unable to send mail: Unknown error
chown: changing ownership of '/var/www/vhosts/system/mydomain/conf/httpd.conf.bak': Operation not permitted
Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted. Search in KB
The list of web-server configuration files
please your help much appreciated in this case . my website is hosted aws lightsale ! Thank you
I am a noob and i did big mistake today by what it looks like chmood the system files , i have tried through ssh to chmood directory using this command sudo chmod -R 777 /assets but i think it did chmood the plesk file system now i have erros all over plesk , also when trying to connect to my website i have this error bad gateway 502 nginx ! when loging to the plesk i can see this : New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter.
When i go to webserver configuration troubleshooter i can see this : Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted. Search in KB
Those red flagged :
/etc/apache2/plesk.conf.d/server.conf
/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf
/etc/apache2/plesk.conf.d/webmails/subdomainame_webmail.conf
/var/www/vhosts/system/mydomainame/conf/httpd.conf
/var/www/vhosts/system/mysubdomain/conf/httpd.conf
I can't rebuild them at all cause each time i try i get this :
Error: Can not reconfigure web server configurations: Unable to execute httpdmng: [2020-10-27 20:20:07.089] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=apache' 'ip_default/mywebsite.conf' 'ip_default/mywebsite_httpd_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.296] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=nginx' 'ip_default/mydomain.conf' 'ip_default/mywebsite_nginx_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.422] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=apache' 'ip_default/mysubdomain.conf' 'ip_default/mysubdomain_httpd_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.537] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=nginx' 'ip_default/mysubdomain.conf' 'ip_default/mysubdomain_nginx_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:08.306] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:08.442] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:08.567] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:08.705] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.007] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2020-10-27 20:20:09.137] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.246] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.365] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.476] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.614] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.723] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.838] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.950] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.063] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.179] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.296] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.407] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.529] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.638] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.749] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.877] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:11.127] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2020-10-27 20:20:11.231] ERR [panel] Apache config (16038300070.07390300) generation failed: Template_Exception: chown: changing ownership of '/var/www/vhosts/system/atthemarket.co.uk/conf/httpd.conf.bak': Operation not permitted
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
plesk sendmail[29908]: Unable to change ownership of mail file `/opt/psa/handlers/spool/messagepuqX2z' (1): Operation not permitted
[2020-10-27 20:20:11.258] ERR [panel] Unable to send mail: Unknown error
[2020-10-27 20:20:11.258] ERR [panel] Administrator notification failed: Unable to send mail: Unknown error
chown: changing ownership of '/var/www/vhosts/system/mydomain/conf/httpd.conf.bak': Operation not permitted
Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted. Search in KB
The list of web-server configuration files
please your help much appreciated in this case . my website is hosted aws lightsale ! Thank you