Hi All,
Can someone help, my server after updating apache 2.4.55. httpd currently down, and up again, and down again.
I'm using PHP 7.4 and PHP 5.6, CentOS 7.9
I was trying to rebuild apache and php
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php n
./build rewrite_confs
Job for httpd.service failed because a fatal signal was delivered to the control process. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@1832 custombuild]# ./build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
2023/01/29 00:14:37 info executing task task=action=rewrite&value=ips
Using 115.84.1832 for your server IP
2023/01/29 00:14:41 info executing task task=action=rewrite&value=httpd
Restarting apache.
Job for httpd.service invalid.
2023/01/29 00:18:32 info executing task task=action=directadmin&value=reload
[root@1832 ]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: activating (start) since Sat 2023-01-28 23:58:32 +07; 49s ago
Main PID: 50977 (httpd)
CGroup: /system.slice/httpd.service
├─50977 /usr/sbin/httpd -DFOREGROUND
├─57584 /usr/sbin/httpd -DFOREGROUND
└─57604 /usr/sbin/httpd -DFOREGROUND
Jan 28 23:58:32 1832.server123.info systemd[1]: Starting The Apache HTTP Server...
[root@1832 ]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since Sun 2023-01-29 00:03:07 +07; 18s ago
Process: 145053 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL)
Main PID: 145053 (code=killed, signal=KILL)
Jan 29 00:01:32 1832.server123.info systemd[1]: Starting The Apache HTTP Server...
Jan 29 00:03:02 1832.server123.info systemd[1]: httpd.service start operation timed out. Terminating.
Jan 29 00:03:07 1832.server123.info systemd[1]: httpd.service stop-sigterm timed out. Killing.
Jan 29 00:03:07 11832.server123.info systemd[1]: httpd.service: main process exited, code=killed, status=9/KILL
Jan 29 00:03:07 1832.server123.info systemd[1]: Failed to start The Apache HTTP Server.
Jan 29 00:03:07 1832.server123.info systemd[1]: Unit httpd.service entered failed state.
Jan 29 00:03:07 1832.server123.info systemd[1]: httpd.service failed.
Can someone help, my server after updating apache 2.4.55. httpd currently down, and up again, and down again.
I'm using PHP 7.4 and PHP 5.6, CentOS 7.9
I was trying to rebuild apache and php
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php n
./build rewrite_confs
Job for httpd.service failed because a fatal signal was delivered to the control process. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@1832 custombuild]# ./build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
2023/01/29 00:14:37 info executing task task=action=rewrite&value=ips
Using 115.84.1832 for your server IP
2023/01/29 00:14:41 info executing task task=action=rewrite&value=httpd
Restarting apache.
Job for httpd.service invalid.
2023/01/29 00:18:32 info executing task task=action=directadmin&value=reload
[root@1832 ]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: activating (start) since Sat 2023-01-28 23:58:32 +07; 49s ago
Main PID: 50977 (httpd)
CGroup: /system.slice/httpd.service
├─50977 /usr/sbin/httpd -DFOREGROUND
├─57584 /usr/sbin/httpd -DFOREGROUND
└─57604 /usr/sbin/httpd -DFOREGROUND
Jan 28 23:58:32 1832.server123.info systemd[1]: Starting The Apache HTTP Server...
[root@1832 ]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since Sun 2023-01-29 00:03:07 +07; 18s ago
Process: 145053 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL)
Main PID: 145053 (code=killed, signal=KILL)
Jan 29 00:01:32 1832.server123.info systemd[1]: Starting The Apache HTTP Server...
Jan 29 00:03:02 1832.server123.info systemd[1]: httpd.service start operation timed out. Terminating.
Jan 29 00:03:07 1832.server123.info systemd[1]: httpd.service stop-sigterm timed out. Killing.
Jan 29 00:03:07 11832.server123.info systemd[1]: httpd.service: main process exited, code=killed, status=9/KILL
Jan 29 00:03:07 1832.server123.info systemd[1]: Failed to start The Apache HTTP Server.
Jan 29 00:03:07 1832.server123.info systemd[1]: Unit httpd.service entered failed state.
Jan 29 00:03:07 1832.server123.info systemd[1]: httpd.service failed.