URGENT FOR HTTPD SERVICE PROBLEM

erik216

New Member
Joined
Aug 19, 2020
Messages
4
Reaction score
0
Credits
48
I DISABLE and ENABLE HTTPD SERVER
STOP HTTPD SERVICE
But caanot start httpd service again

I followed the instruction to usejournal-ze
Show fews ERROR as below
----------------------------------
-- Unit httpd.service has begun starting up.
Aug 20 19:15:47 saturn.quinns.com httpd[3309]: httpd: Syntax error on line 358 of /etc/htt
Aug 20 19:15:47 saturn.quinns.com systemd[1]: httpd.service: main process exited, code=exi
Aug 20 19:15:47 saturn.quinns.com kill[3311]: kill: cannot find process ""
Aug 20 19:15:47 saturn.quinns.com systemd[1]: httpd.service: control process exited, code=
Aug 20 19:15:47 saturn.quinns.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Aug 20 19:15:47 saturn.quinns.com systemd[1]: Unit httpd.service entered failed state.
Aug 20 19:15:47 saturn.quinns.com systemd[1]: httpd.service failed.
Aug 20 19:15:47 saturn.quinns.com polkitd[789]: Unregistered Authentication Agent for unix
-----------------------
What is the problem and how can I solve it? Thanks a lot a lot
 


You have an error in your httpd configuration:
Aug 20 19:15:47 saturn.quinns.com httpd[3309]: httpd: Syntax error on line 358 of /etc/htt

Can't see the rest of the line, so it could be either in /etc/httpd/conf/httpd.conf or it could be that the configuration error is in one of your vhosts in /etc/httpd/conf.d.

Try running: apachectl configtest
 
But there are no line 3309 in /etc/https/conf/https.conf o_O
on line 358 of

What output do you get when you do: apachectl configtest
 
1597969935119.png


config test display syntax OK
I really don't know how to solve the problem.
 
Strange if the journal shows an error but going on. In my previous post I also hinted toward this but you didn't even read it? What does this line show?:
Aug 20 19:15:47 saturn.quinns.com httpd[3309]: httpd: Syntax error on line 358 of /etc/httpd/conf/httpd.conf
 
I DISABLE and ENABLE HTTPD SERVER
STOP HTTPD SERVICE
But caanot start httpd service again

I followed the instruction to usejournal-ze
Show fews ERROR as below
----------------------------------
-- Unit httpd.service has begun starting up.
Aug 20 19:15:47 saturn.quinns.com httpd[3309]: httpd: Syntax error on line 358 of /etc/htt
Aug 20 19:15:47 saturn.quinns.com systemd[1]: httpd.service: main process exited, code=exi
Aug 20 19:15:47 saturn.quinns.com kill[3311]: kill: cannot find process ""
Aug 20 19:15:47 saturn.quinns.com systemd[1]: httpd.service: control process exited, code=
Aug 20 19:15:47 saturn.quinns.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
 

Members online


Top