• Register
0 votes
55 views

Problem :

I have installed the fresh copy of the Centos 7. Then I just restarted Apache but my Apache failed to start. I am stuck with the bellow error from past 5 days. Even my support could not figure out the below error.

sudo service httpd start

Failed to start apache :
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2020-01-04 16:08:02 BST; 59s ago
   Docs: man:httpd(8)
   man:apachectl(8)
Main PID: 5710 (code=exited, status=1/FAILURE)

Jan 04 16:08:02 mike079.startdedicated.de systemd[1]: Starting The Apache HTTP Server...
Jan 04 16:08:02 mike079.startdedicated.de httpd[5710]: (98)Address already in use: AH00072: make_sock: could not bind to address 85.25.12.20:xx
Jan 04 16:08:02 startdedicated.de httpd[5710]: no listening sockets available, shutting down

 

7.5k points

1 Answer

0 votes

Solution :

From your above error:

“no listening sockets available, shutting down”

What basically it means, that if any port in which one of the apache is going to be listening is already occupied by some other application.

netstat -punta | grep LISTEN

Above command will give you the list of all your ports being used and its information needed to recognize which process is this so that you can kill stop or do According to your need with it.

This will help you in resolving your error.

36.1k points

Related questions

0 votes
1 answer 33 views
33 views
Problem : I got below problem which I am trying to fix from the few days now and I am unable to know what should I do, I am looking for the answers but all of those which I found are of no use for me. I am very new here so I really hope that somebody can help me in resolving my error $ ... ------------ f...e) Jan 05 13:23:33 startdedicated.com nginx[8315]: nginx: [emerg] bind() to ----- f...e)
asked Jan 6 alecxe 7.5k points
1 vote
1 answer 41 views
41 views
Problem : I am facing the problem which I am trying to fix from the couple of days now and still I don't know what should I do, I am searching for answers but all of those I came across are of no use to me. I am very new here and I am really hopeful ... systemd/system/nginx.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2019-12-29 13:23:35 GMT; 2min 20s ago
asked Dec 30, 2019 alecxe 7.5k points
0 votes
2 answers 123 views
123 views
Problem : I am trying to restart my apache from terminal using the following command: sudo service apache2 restart But when executing above command I am facing below error: Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for ... AH00489: Apache/2.4.12 (Unix) configured -- resuming normal operations AH00094: Command line: '/usr/local/apache2/bin/httpd'
asked Dec 18, 2019 alecxe 7.5k points
0 votes
1 answer 40 views
40 views
Problem : I want to install the Xampp win32-1.8.2 on Windows 8.1. But I get below message saying " Because an activated user account User Account on your system some functions of XAMPP are possibly restricted." I have already tried to change my user account control settings but ... . And my APACHE does not start. I have also disabled the IIS but still, it is not at all working. What can I do?
asked Feb 4 jwilliam 3.9k points
1 vote
1 answer 95 views
95 views
Problem : We are now running the 32-bit Windows server 2008 with the IIS version of 7. We are trying to publish the asp.net 4.0 webapp but so far our attempts have failed and only yielded the few warnings in our serverlog without even the stopping our 4.0 application ... very badly after that we ran out of the ideas on what to do on our issue so any form of the input would be greatly appreciated.
asked Dec 30, 2019 alecxe 7.5k points