fresh directadmin install apache failed to start

agaitan026

Verified User
Joined
Mar 24, 2021
Messages
42
Hi i just made a fresh server with directadmin and apache doenst works


-- Unit httpd.service has begun starting up.
Aug 27 06:59:01 panel.dbspma.com systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Aug 27 06:59:01 panel.dbspma.com systemd[1]: httpd.service: Failed with result 'exit-code'.
-- Subject: Unit failed

already tried

./build apache
./build php
./build rewrite_confs

but after build apache it shows

Installing man pages and online manual
make[1]: Leaving directory '/usr/local/directadmin/custombuild/httpd-2.4.48'
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Enabling httpd in systemd...
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 184.xxx.xxx.xxxx for your server IP
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.

[root@panel custombuild]# 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 Fri 2021-08-27 07:06:06 EST; 27s ago
Process: 81705 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 81705 (code=exited, status=1/FAILURE)
Status: "Reading configuration..."

Aug 27 07:06:06 panel.dbspma.com systemd[1]: Starting The Apache HTTP Server...
Aug 27 07:06:06 panel.dbspma.com systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Aug 27 07:06:06 panel.dbspma.com systemd[1]: httpd.service: Failed with result 'exit-code'.
Aug 27 07:06:06 panel.dbspma.com systemd[1]: Failed to start The Apache HTTP Server.

Aug 27 07:07:07 panel.dbspma.com systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Aug 27 07:07:07 panel.dbspma.com systemd[1]: httpd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit httpd.service has entered the 'failed' state with result 'exit-code'.
Aug 27 07:07:07 panel.dbspma.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has failed.
--
-- The result is failed.
 
the last quote is from journalctl -xe

-- The unit httpd.service has entered the 'failed' state with result 'exit-code'.
Aug 27 07:50:01 panel.dbspma.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Aug 27 07:50:06 panel.dbspma.com systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has begun starting up.
Aug 27 07:50:06 panel.dbspma.com systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Aug 27 07:50:06 panel.dbspma.com systemd[1]: httpd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit httpd.service has entered the 'failed' state with result 'exit-code'.
Aug 27 07:50:06 panel.dbspma.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has failed.
--
-- The result is failed.
 
network interface was set in directadmin conf correctly? IP was assigned to virtualhosts (default/users)?
 
Back
Top