HTTPD service wont start |
HTTPD service wont start |
sanoj96 |
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 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 |
imort |
Jun 18 2016, 07:28 AM
Post
#2
|
Group: Members Posts: 7 Joined: 18-June 16 Member No.: 24,338 |
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. juli 20 00:09:32 localhost.apilix httpd[2659]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 [/code] Hey Take a look at the quote above. It means that some other process is already using the port 80 on your server, that's why Apache can't start. Apache can't use already occupied port. You need to use another port by changing the 'Listen' directive in the httpd.conf file as a dirty hack or find out which process is using port first. You can check for the processes using the 'netstat' utility: netstat -lt If you'll have any other questions please feel free to ask. |
Lo-Fi Version | Time is now: 25th April 2024 - 12:42 PM |