[BlueOnyx:25798] Re: 5209R/5210R/5211R: ISO images updated

Michael Stauber mstauber at blueonyx.it
Wed Dec 7 18:26:55 -05 2022


Hi Ernie,

> that update got rid of the gencerts error, but the admserv still doesn't 
> want to start.

Let's scale this back and try to get to the bottom of this.

On 5211R we have three services related to "admserv":

[root at 5211r ~]# ls -k1 /usr/lib/systemd/system/admserv*
/usr/lib/systemd/system/admserv-init.service
/usr/lib/systemd/system/admserv-php-fpm.service
/usr/lib/systemd/system/admserv.service


admserv-init.service <- SSL cert generation, needed only once. Not 
important.

admserv.service <- This starts the AdmServ webserver (ports 444/81)

admserv-php-fpm.service <- PHP-FPM instance for AdmServ

So in your case "admserv-php-fpm.service" is failing. Does it *ever* 
start for you? Like: It fails a few times and eventually comes up? Or 
does it *never* ever start for you?

So let us look at what it does:

#> cat /usr/lib/systemd/system/admserv-php-fpm.service|grep Exec
ExecStartPre=/bin/bash -c 'mkdir -p /var/run'
ExecStart=/home/solarspeed/admserv-php/sbin/php-fpm -c 
/etc/admserv/php.ini -y /etc/admserv/php-fpm/php-fpm.conf
ExecReload=/bin/kill -USR2 $MAINPID

If '/var/run' doesn't exist, it creates it. Not important. The real deal 
is this:

/home/solarspeed/admserv-php/sbin/php-fpm -c /etc/admserv/php.ini -y 
/etc/admserv/php-fpm/php-fpm.conf

That's how the PHP-FPM daemon of it is started. Please run that from the 
shell and see if it throws any errors for you.

If it errors out, check what the following commands report:

/home/solarspeed/admserv-php/sbin/php-fpm -v
/home/solarspeed/admserv-php/sbin/php-fpm -m
ldd /home/solarspeed/admserv-php/sbin/php-fpm

Or if possible: Please provide me with access to the server in question 
(SSH will do) and I'll take a look at it.






-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list