• 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

Resolved web does not work

tkalfaoglu

Silver Pleskian
Server operating system version
Alma Linux
Plesk version and microupdate number
Obsidian
Customers reported that their web sites would not open today.. I restarted that server.. then
I did a PLESK REPAIR WEB -y and it found many webmail.conf files it said were unknown and deleted them..
the web server still does not work.. I had autoupdates enabled, I wonder if yesterday there was an update and that changed things?
I still haven't found the cause.. looking.. -t
 
Yep , there are dozens of deleted webmail.conf files in the webserver configuration troubleshooter..
so strange..
34 items totalEntries per page: 10 25 100 AllPages: First << 1 2 >> Last
File PathOrig. TemplateRelated Domain
error
/etc/httpd/conf/plesk.conf.d/webmails/areksgroup.net_webmail.conf
webmail.phpDeletedSearch in log files
Rebuild this config file
error
/etc/httpd/conf/plesk.conf.d/webmails/arutan.com_webmail.conf
webmail.phpDeletedSearch in log files
Rebuild this config file
error
/etc/httpd/conf/plesk.conf.d/webmails/autoparcabul.com.tr_webmail.conf
webmail.phpDeletedSearch in log files
Rebuild this config file
error
/etc/httpd/conf/plesk.conf.d/webmails/cumhuriyeteczanesi.net_webmail.conf
webmail.phpDeletedSearch in log files
 
Error: Can not reconfigure web server configurations: Unable to execute httpdmng: Domain with name '' does not exist
 
From the Webserver Configurations Troubleshooter., Set STATUS to Error, Select all, then click Rebuild?

Edit: Also after repair, if any remain broken, remove them.
 
Checking Plesk version
Installed Plesk version/build: 18.0.52 RedHat el8 1800230516.12

Checking Apache configuration ....................................... [OK]

Checking for custom configuration templates
Custom template /usr/local/psa/admin/conf/templates/custom/server/mailman.php has been found
Custom template /usr/local/psa/admin/conf/templates/custom/server/nginxVhosts.php has been found
Custom template /usr/local/psa/admin/conf/templates/custom/server/PCI_compliance.php has been found
Custom template /usr/local/psa/admin/conf/templates/custom/server/remoteip.php has been found
Custom template /usr/local/psa/admin/conf/templates/custom/server/vhosts.php has been found

Some custom configuration templates have been found. The custom
templates have higher priority than default templates in case of
configs generation.
Please check documentation for details:
https://docs.plesk.com/current/redi...istration-guide-linux&page=68693.htm[WARNING]

Checking associations between domains and IP addresses .............. [OK]

Checking for corrupted reference between IP collections and IP
addresses ........................................................... [OK]

Checking for links between APS applications and subscriptions ....... [OK]

Checking for nginx ULIMIT value ..................................... [OK]

Checking for extra configurations in database not owned by any object
There is an extra configuration with id 41 belongs to the missed domain with id 9
There is an extra configuration with id 57 belongs to the missed domain with id 13
There is an extra configuration with id 80 belongs to the missed domain with id 19
There is an extra configuration with id 233 belongs to the missed domain with id 52
There is an extra configuration with id 283 belongs to the missed domain with id 62
There is an extra configuration with id 344 belongs to the missed domain with id 77
There is an extra configuration with id 342 belongs to the missed domain with id 79
There is an extra configuration with id 1090 belongs to the missed domain with id 225
There is an extra configuration with id 1254 belongs to the missed domain with id 258
There is an extra configuration with id 1522 belongs to the missed domain with id 313
There is an extra configuration with id 1538 belongs to the missed domain with id 315
There is an extra configuration with id 1542 belongs to the missed domain with id 317
There is an extra configuration with id 1586 belongs to the missed domain with id 324
There is an extra configuration with id 1619 belongs to the missed domain with id 333
There is an extra configuration with id 1985 belongs to the missed domain with id 404
There is an extra configuration with id 2040 belongs to the missed domain with id 415
There is an extra configuration with id 2045 belongs to the missed domain with id 416
There is an extra configuration with id 46 belongs to the missed domain with id 9
There is an extra configuration with id 58 belongs to the missed domain with id 13
There is an extra configuration with id 82 belongs to the missed domain with id 19
There is an extra configuration with id 240 belongs to the missed domain with id 52
There is an extra configuration with id 285 belongs to the missed domain with id 62
There is an extra configuration with id 349 belongs to the missed domain with id 77
There is an extra configuration with id 348 belongs to the missed domain with id 79
There is an extra configuration with id 1091 belongs to the missed domain with id 225
There is an extra configuration with id 1255 belongs to the missed domain with id 258
There is an extra configuration with id 1523 belongs to the missed domain with id 313
There is an extra configuration with id 1539 belongs to the missed domain with id 315
There is an extra configuration with id 1543 belongs to the missed domain with id 317
There is an extra configuration with id 1587 belongs to the missed domain with id 324
There is an extra configuration with id 1620 belongs to the missed domain with id 333
There is an extra configuration with id 1986 belongs to the missed domain with id 404
There is an extra configuration with id 2041 belongs to the missed domain with id 415
There is an extra configuration with id 2046 belongs to the missed domain with id 416

There are some unnecessary configurations in the database. Please
check https://support.plesk.com/hc/articles/213389789 for solution [WARNING]

Found errors: 0; Found Warnings: 2
 
rebuild -> selected does not work -- it says Error: Can not reconfigure web server configurations: Unable to execute httpdmng: Domain with name '' does not exist
yep I tried deselecting the first and last too..
 
From the Webserver Configurations Troubleshooter., Set STATUS to Error, Select all, then click Rebuild?

Edit: Also after repair, if any remain broken, remove them.
Thanks.. I just removed the whole 34 webmail.conf files from the troubleshooter..
the troubleshooter now says all is well, but the PHP 7.4 sites are not opening.
web server just waits..
 
After a restart, it seems to be back online. web sites slowly working.. maybe it was some attack..because the web pages were pausing for a long time..
anyway, checking things now..
 
I'm also seeing in the logs a lot of timeouts.. of that one web site...

[Fri May 26 09:54:27.898847 2023] [log_config:warn] [pid 40479:tid 140223828715264] (32)Broken pipe: [client 2a01:4f9:c0
11:4792::1:0] AH00646: Error writing to |/usr/local/psa/admin/sbin/pipelog 7081
[Fri May 26 09:54:28.765831 2023] [proxy_fcgi:error] [pid 40308:tid 140223920805632] (70007)The timeout specified has ex
pired: [client 95.108.213.123:0] AH01075: Error dispatching request to : (polling)
[Fri May 26 09:54:28.766114 2023] [log_config:warn] [pid 40308:tid 140223920805632] (32)Broken pipe: [client 95.108.213.
123:0] AH00646: Error writing to |/usr/local/psa/admin/sbin/pipelog 7081
[Fri May 26 09:54:39.650754 2023] [proxy_fcgi:error] [pid 40479:tid 140223786751744] (70007)The timeout specified has ex
pired: [client 95.108.213.78:0] AH01075: Error dispatching request to : (polling)
[Fri May 26 09:54:39.651003 2023] [log_config:warn] [pid 40479:tid 140223786751744] (32)Broken pipe: [client 95.108.213.
78:0] AH00646: Error writing to |/usr/local/psa/admin/sbin/pipelog 7081
[Fri May 26 09:54:40.858138 2023] [proxy_fcgi:error] [pid 40189:tid 140222889191168] (70007)The timeout specified has ex
pired: [client 43.153.193.11:0] AH01075: Error dispatching request to : (polling), referer: binance.com
[Fri May 26 09:54:40.858386 2023] [log_config:warn] [pid 40189:tid 140222889191168] (32)Broken pipe: [client 43.153.193.
11:0] AH00646: Error writing to |/usr/local/psa/admin/sbin/pipelog 7081, referer: binance.com
[Fri May 26 09:54:44.653697 2023] [proxy_fcgi:error] [pid 40479:tid 140222713009920] (70007)The timeout specified has ex
pired: [client 5.255.231.48:0] AH01075: Error dispatching request to : (polling)
[Fri May 26 09:54:44.653918 2023] [log_config:warn] [pid 40479:tid 140222713009920] (32)Broken pipe: [client 5.255.231.4
8:0] AH00646: Error writing to |/usr/local/psa/admin/sbin/pipelog 7081
 
Timeouts can have different reasons. You mentioned that PHP 7.4 and up are failing. Are the corresponding services plesk-php74-fpm etc. running?
 
Many thanks.. Yes, it appears to work..

[root@storm logs]# service php-fpm status
Redirecting to /bin/systemctl status php-fpm.service
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/php-fpm.service.d
└─add-preload-plesk-resctrl-lib.conf, limit_nofile.conf, respawn.conf
Active: active (running) since Fri 2023-05-26 09:11:14 +03; 1h 39min ago
Main PID: 4800 (php-fpm)
Status: "Processes active: 0, idle: 0, Requests: 72, slow: 0, Traffic: 0req/sec"
Tasks: 1 (limit: 409428)
Memory: 22.6M
CGroup: /system.slice/php-fpm.service
└─4800 php-fpm: master process (/etc/php-fpm.conf)
 
Since the last update early this morning websites inside my Plesk panel started to fail occasionally.

Website log is showing mostly errors like this:

client denied by server configuration: XXXXXXXXXXX

If i reload the website sometimes work, sometimes not.

I tried to restart server, plesk repair all -y but nothing working for now.
 
@tkalfaoglu In that case it probably needs more investigation what the script is doing that became unresponsive. I'd also like to ask whether you see 403 errors in either error_log or access_ssl_log, because there is a new issue that was brought in by an update of mod_evasive last night where the public IP is blacklisted and can keep Apache from responding to the Nginx front-end. Maybe take a look at Issue - Urgent / Big problem with apache/nginx if this could apply to your case, too.
 
It doesn't seem to be... I just tried something very vanilla:

# php index.php

even that doesn't finish.. it just waits forever.. very strange!
the index.php is an ioncubed - php code.. I tried various versiosn but the default is 7.4 on this system..

Interestingly, a

# php t.php

... that just has phpinfo() in it , runs fine.. it must be the ioncube then or something else?
-t
 
Back
Top