php and apache is down after i updated (all) with custom build

keramatifar

New member
Joined
Jul 10, 2021
Messages
5
i have updated (all) with custombuild and my server apache and php-fpm(s) has same error when i run
./build rewrite_confs

> service directadmin restart
Redirecting to /bin/systemctl restart directadmin.service
> ./build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 94.232.173.162 for your server IP
Job for php-fpm73.service failed because the control process exited with error code. See "systemctl status php-fpm73.service" and "journalctl -xe" for details.
Job for php-fpm74.service failed because the control process exited with error code. See "systemctl status php-fpm74.service" and "journalctl -xe" for details.
Job for php-fpm80.service failed because the control process exited with error code. See "systemctl status php-fpm80.service" and "journalctl -xe" for details.
PHP has been secured.
Restarting php-fpm73.
Job for php-fpm73.service failed because the control process exited with error code. See "systemctl status php-fpm73.service" and "journalctl -xe" for details.
Restarting php-fpm74.
Job for php-fpm74.service failed because the control process exited with error code. See "systemctl status php-fpm74.service" and "journalctl -xe" for details.
Restarting php-fpm80.
Job for php-fpm80.service failed because the control process exited with error code. See "systemctl status php-fpm80.service" and "journalctl -xe" for details.
Restarting apache.
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
> systemctl status php-fpm73.service
● php-fpm73.service - The PHP FastCGI Process Manager
Loaded: loaded (/etc/systemd/system/php-fpm73.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2021-07-10 15:06:03 +0430; 9s ago
Process: 24280 ExecStart=/usr/local/php73/sbin/php-fpm73 --nodaemonize --pid=/run/php-fpm73.pid (code=exited, status=78)
Main PID: 24280 (code=exited, status=78)

Jul 10 15:06:03 server1.keramatifar.ir php-fpm73[24280]: [10-Jul-2021 15:06:03] NOTICE: PHP message: PHP Warning: Module 'imagick' already loaded in Unknown on line 0
Jul 10 15:06:03 server1.keramatifar.ir php-fpm73[24280]: [10-Jul-2021 15:06:03] ERROR: [/usr/local/directadmin/data/users/keramatifa/php/php-fpm73.conf:10] unable to parse value for entry 'pm.max_children': is not a valid number (greater or equal than zero)
Jul 10 15:06:03 server1.keramatifar.ir php-fpm73[24280]: [10-Jul-2021 15:06:03] ERROR: Unable to include /usr/local/directadmin/data/users/keramatifa/php/php-fpm73.conf from /usr/local/php73/etc/php-fpm.conf at line 10
Jul 10 15:06:03 server1.keramatifar.ir php-fpm73[24280]: [10-Jul-2021 15:06:03] ERROR: failed to load configuration file '/usr/local/php73/etc/php-fpm.conf'
Jul 10 15:06:03 server1.keramatifar.ir php-fpm73[24280]: [10-Jul-2021 15:06:03] ERROR: FPM initialization failed
Jul 10 15:06:03 server1.keramatifar.ir systemd[1]: php-fpm73.service: main process exited, code=exited, status=78/n/a
Jul 10 15:06:03 server1.keramatifar.ir systemd[1]: Failed to start The PHP FastCGI Process Manager.
Jul 10 15:06:03 server1.keramatifar.ir systemd[1]: Unit php-fpm73.service entered failed state.
Jul 10 15:06:03 server1.keramatifar.ir systemd[1]: php-fpm73.service failed.
Jul 10 15:06:07 server1.keramatifar.ir systemd[1]: Unit php-fpm73.service cannot be reloaded because it is inactive.
 
Did you customize any config files? Because I see odd errors here like:
PHP Warning: Module 'imagick' already loaded in Unknown on line 0
and
ERROR: Unable to include /usr/local/directadmin/data/users/keramatifa/php/php-fpm73.conf from /usr/local/php73/etc/php-fpm.conf at line 10
same with the line about the pm.max_children is also strange. Did you adjust this setting anywhere? Or other settings?
 
Did you customize any config files? Because I see odd errors here like:
PHP Warning: Module 'imagick' already loaded in Unknown on line 0
and
ERROR: Unable to include /usr/local/directadmin/data/users/keramatifa/php/php-fpm73.conf from /usr/local/php73/etc/php-fpm.conf at line 10
same with the line about the pm.max_children is also strange. Did you adjust this setting anywhere? Or other settings?
no i did not customize any config files. i just clicked on update all button in CustomBuild 2 ui and more than 20 websites hosted in my server is down for last 3 days.
 
and also apache:
> systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2021-07-10 17:54:07 +0430; 2s ago
Process: 13474 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 13474 (code=exited, status=1/FAILURE)
Status: "Reading configuration..."

Jul 10 17:54:07 server1.keramatifar.ir systemd[1]: Starting The Apache HTTP Server...
Jul 10 17:54:07 server1.keramatifar.ir httpd[13474]: AH00112: Warning: DocumentRoot [/home/keramatifa/domains/sharedip] does not exist
Jul 10 17:54:07 server1.keramatifar.ir httpd[13474]: AH00112: Warning: DocumentRoot [/home/keramatifa/domains/sharedip] does not exist
Jul 10 17:54:07 server1.keramatifar.ir httpd[13474]: AH00526: Syntax error on line 27 of /usr/local/directadmin/data/users/admin/httpd.conf:
Jul 10 17:54:07 server1.keramatifar.ir httpd[13474]: Invalid command '|IF_MODULE_LITESPEED_OPEN|', perhaps misspelled or defined by a module not included in the server configuration
Jul 10 17:54:07 server1.keramatifar.ir systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 10 17:54:07 server1.keramatifar.ir systemd[1]: Failed to start The Apache HTTP Server.
Jul 10 17:54:07 server1.keramatifar.ir systemd[1]: Unit httpd.service entered failed state.
Jul 10 17:54:07 server1.keramatifar.ir systemd[1]: httpd.service failed.
 
Look here first and change this according error message :

Jul 10 15:06:03 server1.keramatifar.ir php-fpm73[24280]: [10-Jul-2021 15:06:03] ERROR: [/usr/local/directadmin/data/users/keramatifa/php/php-fpm73.conf:10] unable to parse value for entry 'pm.max_children': is not a valid number (greater or equal than zero)
Jul 10 15:06:03 server1.keramatifar.ir php-fpm73[24280]: [10-Jul-2021 15:06:03] ERROR: Unable to include /usr/local/directadmin/data/users/keramatifa/php/php-fpm73.conf from /usr/local/php73/etc/php-fpm.conf at line 10
maybe also do this after you solved that lines there:
as SMTALK write before

If license open ticket at DA.

If at hoster then open ticket there. ;)
 
Invalid command '|IF_MODULE_LITESPEED_OPEN|', perhaps missp
Hmmz... looks like more went wrong. Seems indeed similar as the link where ikkeben is pointing to.

Try to use the solution of that link. But do not use the custombuild plugin, you have to use these commands via SSH.
 
Hmmz... looks like more went wrong. Seems indeed similar as the link where ikkeben is pointing to.

Try to use the solution of that link. But do not use the custombuild plugin, you have to use these commands via SSH.
Yup Litespeed search forum after update some more have problems, but as i can remember that was woth old os als centos 6, i am not sure.

Search Forum.

BUT IF LISENCE DA then make ASAP TICKET!
 
Look here first and change this according error message :


maybe also do this after you solved that lines there:
as SMTALK write before

If license open ticket at DA.

If at hoster then open ticket there. ;)
thanks alot, this solved all the problems:
Code:
/usr/local/directadmin/directadmin p
 
Back
Top