I’m having problems trying to get a script to work which uses FFMPEG and cURL and after installing FFMPEG I’m getting
Starting web server: apache2(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action ‘start’ failed.
The Apache error log may have more information.
failed!
When I try to restart Apache. Any ideas? I’m also getting cURL errors in the script :/.
Edit: I completely uninstalled both ffmpeg and curl and the error is still coming up. I think it has to do with me recently adding a site using a dedicated IP.
The error you’re getting suggests that an Apache process isn’t completely shutting down during the Apache restart.
I don’t think it’s related to curl or ffmpeg, and it’s also unlikely to be related to moving to a new IP. My guess is that some application or Apache module is causing the issue.
To get around that issue you’re seeing, you can kill the Apache process manually. You can do that with this command:
I’ve been having this issue even after rebooting the system and trying a restart. Should I have to kill everything every time I have to restart Apache? Also along with FFMPEG and cURL I installed their php5 packages as well.
This is in my Apache2.conf:
NameVirtualHost 63.141.248.146:80
NameVirtualHost 63.141.248.146:443
NameVirtualHost 63.141.248.148:80
NameVirtualHost 63.141.248.150:80
Should I try commenting it out like that guy above said? Another problem I’m having is sometimes when I reboot my virtual networks just stop working (site doesn’t load, IP won’t ping) and I have to readd them all just to get it to work. Maybe this is related?
Edit: It seems to work when I do service apache2 stop then service apache2 start :/. Still looking for a solution for the IPs not coming up too.