This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
ok i've restarted apache2, all good thanks.
1 question: how if i do /etc/init.d/apache2 restart, many times i get:
<<<
* Starting web server apache2
(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
<<<
but if i normal stop and start, waiting 5 seconds, all is good?
Thanks
This is a buggy behavior in Ubuntu's initscript (the Ubuntu folks "improved" the initscript a few months ago; and as is often the case with Ubuntu improvements, it broke things). The Ubuntu folks make a fine desktop OS, but methinks they don't have a lot of experience on the server, and it shows. ;-)
You'll want to stop/start until they fix it.
It leads to hung apache processes that don't respond.
the restart is sending a HUP signal, graceful restart, used to apply only if you changed a configuration. It's like reloading the config.
To my best knowledge the "error" can be ignored
You probably just need to install the PHP GD module.
How to do that differs depending on what distro you're using, but on CentOS/RHEL, it's something like:
yum install php5-gd
i'm on ubuntu, done with apt-get install php5-gd, and now? how to load? thanks
ok i've restarted apache2, all good thanks.
1 question: how if i do /etc/init.d/apache2 restart, many times i get:
<<<
* Starting web server apache2
(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
<<<
but if i normal stop and start, waiting 5 seconds, all is good?
Thanks
This is a buggy behavior in Ubuntu's initscript (the Ubuntu folks "improved" the initscript a few months ago; and as is often the case with Ubuntu improvements, it broke things). The Ubuntu folks make a fine desktop OS, but methinks they don't have a lot of experience on the server, and it shows. ;-)
You'll want to stop/start until they fix it.
It leads to hung apache processes that don't respond.
--
Check out the forum guidelines!
the restart is sending a HUP signal, graceful restart, used to apply only if you changed a configuration. It's like reloading the config. To my best knowledge the "error" can be ignored
stop will disconnect and reconnect with start.
I have same question? I install php7.0-gd but I can not available .. thanks
Victor
Victor, this post was from 2009. Start a new thread rather than reviving ancient ones.
You haven't told us your distro or version so I'll guess CentOS 7.
# yum install rh-php70-php-gd
--
Check out the forum guidelines!