Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2757  / 1 Year ago, sat, may 13, 2023, 9:54:35

Running apachectl -k restart gives:



/usr/sbin/apachectl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
httpd not running, trying to start
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action '-k restart' failed.
The Apache error log may have more information.


This is what I am getting while restarting the server. How can I fix this?


More From » 12.04

 Answers
4

Finally I got the answer / reason..!
Acutally, the reason for not restarting here, something other. it is ..



The default port for my apache2 here is 80, and is being used by some other process/server called some "xyzserver". then Apache tried to start on the same port,but it could not able start. later I found the that, and I killed that process then restarted apache2. It successfully working now.



I tried in the way



sudo service apache2 restart


I got the same error i.e., the way I regularly use.


[#32958] Monday, May 15, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bunsistent

Total Points: 198
Total Questions: 108
Total Answers: 121

Location: Monaco
Member since Sun, Jan 16, 2022
2 Years ago
;