Apache startup on reboot
- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
When rebooting the production server I get the following message::
./start_stop: /exlibris/aleph/u16_1/alephe/apache/bin/apachectl_auto: not found"
However, apache is running ok after the reboot, but when trying to restart apache via util w I get the following:
"/exlibris/aleph/u17_7/alephe/apache/bin/apachectl restart: httpd not running, trying to start
(125)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
/exlibris/aleph/u17_7/alephe/apache/bin/apachectl restart: httpd could not be started"
This is despite the fact that apache is running.
Any ideas why this is happening?
At the moment both ver 16 and ver 17 apache are defined to be started upon reboot in /exlibris/startup/init.dat:
You need to modify this file - either remove ver 16 line or set it to N:
That's why ver 17 apache started fine this morning, and ver 16 one gave an error.
To start apache from util w, you need to stop it first.
ps -ef |grep apach
Note: If you have multiple instances (such as Prod and Test) on this server, make sure that the apache processes you are killing are for the instance you are working with.
- Article last edited: 26-Jun-2016