503 service unavailable for phpMyAdmin and Roundcube

patrickkasie

Verified User
Joined
Sep 21, 2021
Messages
241
Location
Een echte Hollander
Dear DirectAdmin forum,

I must admit I've not fully tested some tabs before my update, but checking up on Roundcube and PhpMyAdmin after my update, there appears to be a 503 Service Unavailable error. I've checked that the symlinks in /var/www/html work, and they do appear to be correct. I'm not sure where to look for with this error, and my /var/log/httpd/domains/domain.error.log did not show anything.

I understand the context is as vague as any 500+ error, which is where I'm stuck at. I hope I've still provided enough information to hopefully get locations on where to look and what to look for. The only thing I remember updating was Exim, but I can't confirm wether the server was misbehaving before this update either.
 
and my /var/log/httpd/domains/domain.error.log did not show anything.
Is it only giving you the 503 on 1 domain then? Otherwise you're looking at the wrong log.

In that cache check your /var/log/httpd/access.log and error.log for example.

Also, just to be sure place the output of:
ls -la /var/www/html
 
It's on the whole server, you seem to have established that correctly.

Code:
[Tue Oct 03 14:51:27.939239 2023] [proxy_fcgi:error] [pid 1198:tid 140718553896704] [remote our.ip.addr.ess:50645] AH01079: failed to make connection to backend: httpd-UDS
[Tue Oct 03 14:51:55.976658 2023] [proxy:error] [pid 1198:tid 140718562289408] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php74/sockets/webapps.sock (*:80) failed

Also, thanks for re-iterating the importance to still list stuff just in case.
Code:
ls -la /var/www/html
total 16
drwxr-xr-x.  5 root    root     163 Oct  3 16:19 .
dr-xr-x--x. 10 webapps apache   139 Mar 31  2022 ..
-rw-r--r--   1 root    root      44 Jun 14  2022 index.html
lrwxrwxrwx   1 webapps webapps   44 Oct  3 11:40 phpMyAdmin -> /var/www/html/phpMyAdmin-5.2.1-all-languages
drwxr-xr-x  13 webapps webapps 4096 Oct  3 11:40 phpMyAdmin-5.2.1-all-languages
-rwxr-xr-x.  1 webapps webapps   68 Sep 10  2018 redirect.php
lrwxrwxrwx   1 webapps webapps   19 Oct  3 14:52 roundcube -> roundcubemail-1.6.3
drwxrwxr-x  12 webapps webapps 4096 Oct  3 14:52 roundcubemail-1.6.3
drwxr-x--x   3 webapps webapps   45 Jul  3  2019 .well-known
What's interesting is that the timestamps match with when I did the update: I did the update around 11:40, and I realised later that roundcube wouldn't change version too, so I fixed that issue too.
 
Oh you're using fastcgi. I'm using php-fpm. So I don't know how fastcgi is restarted.

Did you already restarted apache and if possible the php fastcgi?
 
That's weird, we do use PHP-FPM. I realised the error message too, but I haven't edited PHP-FPM in any way shape or form. I have rebuilt PHP 7.4 on CLI, and it works right out of the gate after another reboot. I have no idea what could have possibly interfered with the PHP version. Either way, thank you for being observant

Code:
cd /usr/local/directadmin/custombuild/
./build php_expert 7.4 php-fpm
 
Hmmz... odd. Normally restarting php-fpm might have fixed the error too, but rebuilding can also fix things.
Nice to see it's working again.
 
Back
Top