The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> HTTPD service wont start
sanoj96
post Jul 19 2015, 05:14 PM
Post #1


Advanced Member
****

Group: Members
Posts: 118
Joined: 18-September 12
Member No.: 17,803



Hello,

I am kinda new to Linux (centos), and i am trying to install apache on my linux terminal server. But the service HTTPD wont start.
Here is a log of journalctl -xn. If there is someone out there that can help me, please do smile.gif

CODE
[root@localhost ~]# journalctl -xn
-- Logs begin at sø. 2015-07-19 23:55:56 CEST, end at ma. 2015-07-20 00:09:32 CEST. --
juli 20 00:09:32 localhost.apilix httpd[2659]: [Mon Jul 20 00:09:31.992295 2015] [alias:warn] [pid 2659] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 19 will probably never match because it overlaps an earlier A
juli 20 00:09:32 localhost.apilix httpd[2659]: [Mon Jul 20 00:09:31.992304 2015] [alias:warn] [pid 2659] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 20 will probably never match because it overlaps an earlier A
juli 20 00:09:32 localhost.apilix httpd[2659]: [Mon Jul 20 00:09:31.992309 2015] [alias:warn] [pid 2659] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 21 will probably never match because it overlaps an earlier A
juli 20 00:09:32 localhost.apilix httpd[2659]: [Mon Jul 20 00:09:31.992316 2015] [alias:warn] [pid 2659] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 22 will probably never match because it overlaps an earlier A
juli 20 00:09:32 localhost.apilix httpd[2659]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
juli 20 00:09:32 localhost.apilix systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
juli 20 00:09:32 localhost.apilix kill[2661]: kill: cannot find process ""
juli 20 00:09:32 localhost.apilix systemd[1]: httpd.service: control process exited, code=exited status=1
juli 20 00:09:32 localhost.apilix 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.
juli 20 00:09:32 localhost.apilix systemd[1]: Unit httpd.service entered failed state.



Thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
sanoj96
post Jul 20 2015, 01:19 PM
Post #2


Advanced Member
****

Group: Members
Posts: 118
Joined: 18-September 12
Member No.: 17,803



I am just reposting some info i got on another forum so if someone else got the same problem they might get a solution

here is what someone sayd:


juli 20 00:09:32 localhost.apilix httpd[2659]: [Mon Jul 20 00:09:31.992295 2015] [alias:warn] [pid 2659] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 19 will probably never match because it overlaps an earlier A
juli 20 00:09:32 localhost.apilix httpd[2659]: [Mon Jul 20 00:09:31.992304 2015] [alias:warn] [pid 2659] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 20 will probably never match because it overlaps an earlier A
juli 20 00:09:32 localhost.apilix httpd[2659]: [Mon Jul 20 00:09:31.992309 2015] [alias:warn] [pid 2659] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 21 will probably never match because it overlaps an earlier A
juli 20 00:09:32 localhost.apilix httpd[2659]: [Mon Jul 20 00:09:31.992316 2015] [alias:warn] [pid 2659] AH00671: The Alias directive in /etc/httpd/conf.d/welcome.conf at line 22 will probably never match because it overlaps an earlier A


Have a look at the file mentioned - is there something wrong with those lines?

juli 20 00:09:32 localhost.apilix httpd[2659]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80


HTTPD can't start there's already something using tcp/80 - are you trying to start Apache when it's already running?
Also are you starting httpd as root?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 20 2015, 02:11 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Thank you for adding that information. smile.gif

Sorry no one here seems to be able to help. I've never run a server on Linux. I helped maintain one for a while, from a distance, but I wasn't the one who did the heavy stuff.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 09:39 PM