[BlueOnyx:25755] Re: New 5211R service Unavailable
Ernie
ernie at info.eis.net.au
Fri Nov 25 22:47:07 -05 2022
The problem is the admserv-php-fpm is not starting up.
I did a reboot of the server at 10pm last night
admserv-php-fpm did not start, there was no sock in /var/run/php-fpm.
At midnight admserv-php-fpm process started without me doing anything, I was
asleep. When I woke up I listed the files in /var/run/php-fpm and the
admserv sock was there timestamped midnight as you can see below.
admserv-php-fpm doesn't start on boot up, it does start manually.
- Ernie.
root at bx4 ernie# systemctl status admserv-php-fpm.service
× admserv-php-fpm.service - AdmServ PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/admserv-php-fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2022-11-25 22:00:11 AEST; 1min 29s ago
Main PID: 1445 (code=exited, status=70)
CPU: 25ms
Nov 25 22:00:11 bx4 systemd[1]: admserv-php-fpm.service: Scheduled restart job, restart counter is at 5.
Nov 25 22:00:11 bx4 systemd[1]: Stopped AdmServ PHP FastCGI Process Manager.
Nov 25 22:00:11 bx4 systemd[1]: admserv-php-fpm.service: Start request repeated too quickly.
Nov 25 22:00:11 bx4 systemd[1]: admserv-php-fpm.service: Failed with result 'exit-code'.
Nov 25 22:00:11 bx4 systemd[1]: Failed to start AdmServ PHP FastCGI Process Manager.
root at bx4 ernie]# cd /var/run/php-fpm/
root at bx4 php-fpm# ll
total 4.0K
drwxr-xr-x 2 root root 60 Nov 25 22:00 .
drwxr-xr-x 45 root root 1.4K Nov 25 22:00 ..
-rw-r--r-- 1 root root 4 Nov 25 22:00 php-fpm.pid
root at bx4 php-fpm# ll
total 8.0K
drwxr-xr-x 2 root root 100 Nov 26 00:00 .
drwxr-xr-x 45 root root 1.4K Nov 26 13:30 ..
srw-rw-rw- 1 admserv admserv 0 Nov 26 00:00 admserv-fpm.sock
-rw-r--r-- 1 root root 4 Nov 26 00:00 admserv-php-fpm.pid
-rw-r--r-- 1 root root 4 Nov 25 22:00 php-fpm.pid
> Hi Ernie,
>
> > The error I get is:
> > Fri Nov 25 20:43:08.234587 2022] [proxy:error] [pid 1293:tid 1373] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php-fpm/admserv-fpm.sock (localhost) failed
> >
> > That is when I run
> > /home/solarspeed/admserv-php/sbin/php-fpm -c /etc/admserv/php.ini -y /etc/admserv/php-fpm/php-fpm.conf
> >
> > The problem was originally caused by trying to edit the gateway IP in the TCP/IP
> > settings. I didn't change the IP, I just typed it in again and clicked save.
>
>
> I hear you, but a change of the network settings of any changes in the
> GUI do not cause any changes (and not even a restart!) of
> admserv-php-fpm) and its configuration remains entirely static.
>
> So I wonder what else cause it.
>
> Do you actually *have* a /run/php-fpm directory?
>
> Or is there any chance that I could login to that system by SSH and take
> a look? That would be most helpful.
>
> --
> With best regards
>
> Michael Stauber
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
More information about the Blueonyx
mailing list