Unable to Start Apache

Issues related to applications and software problems
Post Reply
mySKILLZ
Posts: 35
Joined: 2018/02/21 09:10:21

Unable to Start Apache

Post by mySKILLZ » 2018/07/05 15:02:43

please help me
i have thise error for months now
i thinks hacker hacked my httpd or im wrong

here's how its looking

Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@skillz log]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset : disabled)
Active: failed (Result: start-limit) since Thu 2018-07-05 12:26:57 EDT; 31s a go
Docs: man:httpd(8)
man:apachectl(8)
Process: 51843 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAI LURE)
Process: 51842 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, s tatus=1/FAILURE)
Main PID: 51842 (code=exited, status=1/FAILURE)

Jul 05 12:26:57 skillz systemd[1]: httpd.service: control process exited, c...=1
Jul 05 12:26:57 skillz systemd[1]: Failed to start The Apache HTTP Server.
Jul 05 12:26:57 skillz systemd[1]: Unit httpd.service entered failed state.
Jul 05 12:26:57 skillz systemd[1]: httpd.service failed.
Jul 05 12:26:57 skillz systemd[1]: httpd.service holdoff time over, schedul...t.
Jul 05 12:26:57 skillz systemd[1]: start request repeated too quickly for h...ce
Jul 05 12:26:57 skillz systemd[1]: Failed to start The Apache HTTP Server.
Jul 05 12:26:57 skillz systemd[1]: Unit httpd.service entered failed state.
Jul 05 12:26:57 skillz systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.



please tell me what to do here

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to Start Apache

Post by TrevorH » 2018/07/05 15:20:26

Please don't hijack other people's threads and post your unrelated problem to them, especially not ones that are already marked "[SOLVED]" as you'll find that people may not even bother to read those.

Read your /var/log/httpd/*error_log files and look for errors.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mySKILLZ
Posts: 35
Joined: 2018/02/21 09:10:21

Re: Unable to Start Apache

Post by mySKILLZ » 2018/07/05 19:40:59

OK

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to Start Apache

Post by TrevorH » 2018/07/05 21:40:16

And please do not make duplicate posts about the same subject. I have deleted your other identical post.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mySKILLZ
Posts: 35
Joined: 2018/02/21 09:10:21

Re: Unable to Start Apache

Post by mySKILLZ » 2018/07/06 06:49:42

i have no other problem with centos exept that.. and i really need an answer, where i live there aint no other person that could help me. im all alone into this, according to what i said in the other post,i tried to reformat my server but the same error is still there, and i have looked into the /var/log/httpd/ and theres no error message there. so please help me, i need to start embedding the online payment system ,
thanx

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: Unable to Start Apache

Post by pjsr2 » 2018/07/06 08:14:00

Did you check your apache configuration?

Code: Select all

apachectl configtest

mySKILLZ
Posts: 35
Joined: 2018/02/21 09:10:21

Re: Unable to Start Apache

Post by mySKILLZ » 2018/07/06 08:38:39

this is what i found after typing the ( journalctl -xe)
.........................................
-- The result is failed.
Jul 06 05:57:51 skill systemd[1]: Unit httpd.service entered failed state.
Jul 06 05:57:51 skill systemd[1]: httpd.service failed.
Jul 06 05:57:51 skill systemd[1]: httpd.service holdoff time over, scheduling restart.
Jul 06 05:57:51 skill systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has begun starting up.
Jul 06 05:57:51 skill httpd[110590]: (98)Address already in use: AH00072: make_sock: could not bind to address 198.243.49.60:80
Jul 06 05:57:51 skill httpd[110590]: no listening sockets available, shutting down
Jul 06 05:57:51 skill httpd[110590]: AH00015: Unable to open logs
Jul 06 05:57:51 skill systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 06 05:57:51 skill kill[110591]: kill: cannot find process ""
Jul 06 05:57:51 skill systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 06 05:57:51 skill systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has failed.
--
.............................................................


is there anything you could see that im not

please help me

mySKILLZ
Posts: 35
Joined: 2018/02/21 09:10:21

Re: Unable to Start Apache

Post by mySKILLZ » 2018/07/06 08:41:39

[root@skill ~]# apachectl configtest
Syntax OK
[root@skill ~]#

mySKILLZ
Posts: 35
Joined: 2018/02/21 09:10:21

Re: Unable to Start Apache

Post by mySKILLZ » 2018/07/06 09:19:17

ok CEntos. now its running, i got it working.. thanx fro pushing me this way to get it done by my own

Post Reply