Thread: apache autostart problem
on new kubuntu 11.10 64 bit apache won't start default. /etc/init.d/apache2 exists , rc directories list apache entries (e.g. /etc/init.d/s91apache2). confused whether apache2 script starts service @ boot. therefore set own script looks like:
#!/bin/bash
/etc/init.d/apache2 start
put in s95 runlevels: sudo update-rc.d apache-startup start 95 2 3 4 5 .
now, script sits in runlevels, doesn't job. still have start apache2 manually:
sudo service apache2 start
* restarting web server apache2 apache2: not reliably determine server's qualified domain name, using 127.0.1.1 servername
... waiting apache2: not reliably determine server's qualified domain name, using 127.0.1.1 servername
[ ok ]
/var/log/error.log looks this:
...
[fri jan 06 22:34:13 2012] [notice] caught sigterm, shutting down
[sat jan 07 11:41:50 2012] [notice] digest: generating secret digest authentication ...
[sat jan 07 11:41:50 2012] [notice] digest: done
[sat jan 07 11:41:50 2012] [notice] apache/2.2.20 (ubuntu) dav/2 php/5.3.6-13ubuntu3.3 suhosin-patch configured -- resuming normal operations
[sat jan 07 11:43:12 2012] [notice] caught sigterm, shutting down
[sat jan 07 12:12:50 2012] [notice] digest: generating secret digest authentication ...
[sat jan 07 12:12:50 2012] [notice] digest: done
[sat jan 07 12:12:50 2012] [notice] apache/2.2.20 (ubuntu) dav/2 php/5.3.6-13ubuntu3.3 suhosin-patch configured -- resuming normal operations
[mon jan 09 08:42:21 2012] [notice] caught sigterm, shutting down
[mon jan 09 09:13:08 2012] [notice] digest: generating secret digest authentication ...
[mon jan 09 09:13:08 2012] [notice] digest: done
[mon jan 09 09:13:08 2012] [notice] apache/2.2.20 (ubuntu) dav/2 php/5.3.6-13ubuntu3.3 suhosin-patch configured -- resuming normal operations
[tue jan 10 09:03:47 2012] [notice] graceful restart requested, doing restart
apache2: not reliably determine server's qualified domain name, using 127.0.1.1 servername
wrong? how can thing autostart?
thread moved server platforms.
have here, starting @ post 7: http://ubuntuforums.org/showthread.php?t=1748310
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] apache autostart problem
Ubuntu
Comments
Post a Comment