Apache wan't start

dgenyo

New member
Joined
May 31, 2016
Messages
2
I has add php version to php2 and .
Code:
/build php n
and
Code:
./build rewrite_confs



Restarting apache.
AH00526: Syntax error on line 21 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command '|IF_MODULE_LITESPEED_OPEN|', perhaps misspelled or defined by a module not included in the server configuration

I try select apache & nginx_apache not worked.
pls. help
 
Please try 1.58.1, especially for this case. Sorry for any inconvenience caused.

The following should also work:
Code:
cd /usr/local/directadmin/custombuild
./build update_da
./build rewrite_confs
 
Please try 1.58.1, especially for this case. Sorry for any inconvenience caused.

The following should also work:
Code:
cd /usr/local/directadmin/custombuild
./build update_da
./build rewrite_confs

Now is worked.
Thanks for your help.
 
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.
 
Please do NOT up ancient posts which have a totally different issue then you have and do not doublepost.
You already have a post with your own specific issue, keep it there please.
 
Back
Top