• 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 ERROR: ub /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php in Line 148

Andreas Kempe

New Pleskian
Hello,

I have had the problem for a few weeks that none of my websites can be reached. I have now given up the problem myself and hope for help here in the forum. I've tried a lot, but in summary this excerpt from the log is probably the most helpful:

Details: [2021-05-01 08: 11: 40.629] ERR [util_exec] proc_close () failed ['/ opt / psa / admin / bin / apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '7080' '--https-port' '7081'] with exit code [255]
[2021-05-01 08: 11: 42.714] ERR [panel] Apache config (16198493690.51391700) generation failed: Template_Exception: Can not restart web server:
file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 148
code: 0
Can not restart web server:

Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
Trying to reconfigure web-server configurations skipping broken domains ... Execution failed.

So far, the pages have all run without problems and suddenly not a single one works anymore. I had deleted some with special characters in the domain name to avoid these common problems, but that didn't help.

I hope one of you can help me.

many greetings and thank you very much
andreas

Ps .: if information is missing, please ask. I'm just wondering what would be most helpful.

here is the full log:


helpful is maybe also:


WARNING:Skip fixing 'plesk-distupgrade': Cannot find deb-archive for package plesk-distupgrade (17.8.11-ubuntu.16.04.180301.1930)
WARNING:Skip fixing 'plesk-liblog4cpp-0.3.5': Cannot find deb-archive for package plesk-liblog4cpp-0.3.5 (0.3.5rc2-ubuntu.16.04.171017.1348)
WARNING:Skip fixing 'plesk-libmyodbc': Cannot find deb-archive for package plesk-libmyodbc (5.2.7-ubuntu16.04.17091320)
WARNING:Skip fixing 'plesk-libpoco-1.7.8': Cannot find deb-archive for package plesk-libpoco-1.7.8 (1.7.8p3-ubuntu.16.04.171017.1159)
 
Last edited:
"Error, this is a private paste or is pending moderation. If this paste belongs to you, please login to Pastebin to view it."

Anyway, for the repair messages: The "Cannot find deb-archive" sounds like this is an old Debian operating system that is no longer supported?

For the web server issue: Try to start the web server on your command line and see what it logs (why it cannot start). It normally explains the reason in detail either directly in the
# service apache2 start
or in /var/log/messages
or in /var/log/apache2/error_log (or similar location, depends on your os).
 
Hi Peter, thx for your reply. Im little bit confused about pastebin because it is set to public exposure.

if i restart the apache manually i got nothing rly helpful, the service start outputs nothing and in the logs also no error, warning or critical. i can adjust the apache config files for my websites manually via console but the plesk rewrite it then and the server dont restart again then.
 
apachectl -t:
Syntax OK


service apache2 status gives me:
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: inactive (dead) since Sa 2021-05-01 15:32:54 CEST; 8min ago
Docs: man:systemd-sysv-generator(8)
Process: 10256 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 10240 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)

Mai 01 15:32:52 ****** systemd[1]: Starting LSB: Apache2 web server...
Mai 01 15:32:52 ****** apache2[10240]: * Starting Apache httpd web server apache2
Mai 01 15:32:54 ****** apache2[10240]: Segmentation fault
Mai 01 15:32:54 ****** apache2[10240]: Action 'start' failed.
Mai 01 15:32:54 ****** apache2[10240]: The Apache error log may have more information.
Mai 01 15:32:54 ****** apache2[10256]: * Stopping Apache httpd web server apache2
Mai 01 15:32:54 ****** apache2[10256]: *
Mai 01 15:32:54 ****** systemd[1]: Started LSB: Apache2 web server.
 
O.k., so we know that the configuration files are not causing the problem.

Please check
/var/log/apache2/error.log
for suspicious error entries, for example "Configuration Failed" or "Name or service not known" or similar awkward things.
 
the error.log are full with every the same lines:


[Sat May 01 15:32:54.008117 2021] [ssl:warn] [pid 10254] AH01909: webmail.******:443:0 server certificate does NOT include an ID which matches the server name
[Sat May 01 15:32:54.008602 2021] [ssl:warn] [pid 10254] AH01909: webmail.******:443:0 server certificate does NOT include an ID which matches the server name
[Sat May 01 15:32:54.009001 2021] [ssl:warn] [pid 10254] AH01909: webmail.******:443:0 server certificate does NOT include an ID which matches the server name
[Sat May 01 15:32:54.009390 2021] [ssl:warn] [pid 10254] AH01909: webmail.******:443:0 server certificate does NOT include an ID which matches the server name
[Sat May 01 15:32:54.009687 2021] [ssl:warn] [pid 10254] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
[Sat May 01 15:32:54.010076 2021] [ssl:warn] [pid 10254] AH01909: default-2a02_2b80_1_0_5652__97c:443:0 server certificate does NOT include an ID which matches the server name
[Sat May 01 15:32:54.010476 2021] [ssl:warn] [pid 10254] AH01909: default-89_22_113_245:443:0 server certificate does NOT include an ID which matches the server name
[Sat May 01 15:32:54.011355 2021] [:notice] [pid 10254] ModSecurity for Apache/2.9.3 (http://www.modsecurity.org/) configured.
[Sat May 01 15:32:54.011370 2021] [:notice] [pid 10254] ModSecurity: APR compiled version="1.5.2"; loaded version="1.5.2"
[Sat May 01 15:32:54.011376 2021] [:notice] [pid 10254] ModSecurity: PCRE compiled version="8.38 "; loaded version="8.44 2020-02-12"
[Sat May 01 15:32:54.011380 2021] [:warn] [pid 10254] ModSecurity: Loaded PCRE do not match with compiled!
[Sat May 01 15:32:54.011383 2021] [:notice] [pid 10254] ModSecurity: LUA compiled version="Lua 5.1"
[Sat May 01 15:32:54.011387 2021] [:notice] [pid 10254] ModSecurity: LIBXML compiled version="2.9.3"
[Sat May 01 15:32:54.011398 2021] [:notice] [pid 10254] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.


not more. the certificates cant renewed because the domains are not accessible and so the service failes to renew.

if pasted the full log on other service now:


because i think this is more helpful for you ;)

rly many thx for your time!
 
No problems there. All entries can be ignored (for now).

Have you recently attempted a Plesk update? What is your operating system version?
 
i have this trouble after the last plesk update. my plesk version is:

Plesk Obsidian Web Host Edition
Version 18.0.34 Update #2

on Ubuntu 16.04 LTS / 64 bit
 
Ubuntu 16 support has been dropped in a recent Plesk update. The currently supported operating system versions can be found here:

You need to migrate your content to a server with a newer operating system.
 
hmm ok then i should do a backup of all my files. is there a possibility to backup all data in plesk? to prevent create all email user and so one manually after the OS upgrade? i dont expect there are no problems after this because in the most cases a simple dist upgrade failes completely on ubuntu. so i have to install a clear os.
 
Yes, you can backup everything (inside Plesk) with the backup manager in Tools & Settings, then restore it to a different, newer system later.
 
y i found this already and started the process to backup all files. are there all in? all email accounts, all websites and databases and so one?
 
i dont trust tools like this. i archive all my files manually now and download it. then i reinstall my server and try to use the backup that i created. if this not work, i have the archives also ;)

many thx for your time and your help peter. i hoped i can prevent this effort but a newer system is also not the wrongest part today.

enjoy your weekend and many thanks again.
 
Back
Top