[RESOLVED]Cant start httpd service
[RESOLVED]Cant start httpd service
Hi
Any Idea about this
service httpd start
Starting httpd: [Tue Oct 06 10:30:13 2015] [warn] module ssl_module is already loaded, skipping
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Tue Oct 06 10:30:13 2015] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
Thanks
Chamikara
Any Idea about this
service httpd start
Starting httpd: [Tue Oct 06 10:30:13 2015] [warn] module ssl_module is already loaded, skipping
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Tue Oct 06 10:30:13 2015] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
Thanks
Chamikara
Last edited by chamikara on 2015/10/19 08:37:12, edited 1 time in total.
Re: Cant start httpd service
Services should be launched as root, and then the init script will run it as whichever user it's told to use.
Please try "sudo service httpd start".
Please try "sudo service httpd start".
Re: Cant start httpd service
You already have some process that is listening on the 443 port. Try netstat -anp | grep :443 to see which process that is. Once you know the process ID (rightmost column), you can get more information about the process (including its full path) with ps -fp processidnumber.
Re: Cant start httpd service
Hi
Thanks for reply . I checked the PID so what is the next step do i stop it.
Thanks
Thanks for reply . I checked the PID so what is the next step do i stop it.
Thanks
Re: Cant start httpd service
Hi
After I kill that process , i can start the httpd service but the thing is other application will stop. I need to up both services.
After I kill that process , i can start the httpd service but the thing is other application will stop. I need to up both services.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Cant start httpd service
You cannot have 2 services using the same port.
-
- Posts: 12
- Joined: 2015/10/05 21:25:41
Re: Cant start httpd service
What other service?chamikara wrote:Hi
After I kill that process , i can start the httpd service but the thing is other application will stop. I need to up both services.
Re: Cant start httpd service
gerald_clark use lsof to check what process is listening on the port
Code: Select all
# lsof -i :443
"God, root, what is difference?"
Re: Cant start httpd service
this is the out put i got
only 1 PID
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 4248 root 57u IPv6 1432326 0t0 TCP server01:53341->sb-in-f95.1e100.net:https (CLOSE_WAIT)
java 4248 root 138u IPv6 1166002 0t0 TCP *:https (LISTEN)
java 4248 root 203r IPv6 1432325 0t0 TCP server01:53340->sb-in-f95.1e100.net:https (CLOSE_WAIT)
only 1 PID
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 4248 root 57u IPv6 1432326 0t0 TCP server01:53341->sb-in-f95.1e100.net:https (CLOSE_WAIT)
java 4248 root 138u IPv6 1166002 0t0 TCP *:https (LISTEN)
java 4248 root 203r IPv6 1432325 0t0 TCP server01:53340->sb-in-f95.1e100.net:https (CLOSE_WAIT)
Re: Cant start httpd service
So You got java application listeting on port 443 (https), if You need to run httpd on 443 you have to kill this application or change tcp port.
"God, root, what is difference?"