I’m new in BSD, so please be nice if this is a stupid question
But I’m setting up a webserver, and most of it looks fine (Apache shows "IT WORKS") .
But most of my services will not start after reboot.
I have added the following to /etc/rc.conf
apache and mysql is not auto starting, but ftpd works fine.
If is start for example apache manual it works.
I have tried to add
Because that was the advise in previous tread, but it made no difference, so have removed it again.
Here is the http-error log from today:
But I’m setting up a webserver, and most of it looks fine (Apache shows "IT WORKS") .
But most of my services will not start after reboot.
I have added the following to /etc/rc.conf
Code:
apache22_enable="YES"
ftpd_enable="YES"
mysql_enable="YES"
apache and mysql is not auto starting, but ftpd works fine.
If is start for example apache manual it works.
Code:
/usr/local/etc/rc.d/apache22 start
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
I have tried to add
Code:
jail_JAILNAME_exec="/bin/sh /etc/rc"
Because that was the advise in previous tread, but it made no difference, so have removed it again.
Here is the http-error log from today:
Code:
[Sat Aug 29 13:01:56 2009] [error] [client 192.168.15.1] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Sat Aug 29 13:28:15 2009] [notice] caught SIGTERM, shutting down
[Sat Aug 29 14:31:03 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Aug 29 14:31:06 2009] [notice] Digest: generating secret for digest authentication ...
[Sat Aug 29 14:31:06 2009] [notice] Digest: done
[Sat Aug 29 14:31:08 2009] [notice] Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.10 with Suhosin-Patch configured -- resuming normal op
[Sat Aug 29 14:42:43 2009] [error] [client 192.168.15.1] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Sat Aug 29 14:42:44 2009] [error] [client 192.168.15.1] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Sat Aug 29 14:42:45 2009] [error] [client 192.168.15.1] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Sat Aug 29 14:45:35 2009] [error] [client 77.213.118.28] File does not exist: /usr/local/www/apache22/data/MNG
[Sat Aug 29 17:54:39 2009] [notice] caught SIGTERM, shutting down
[Sat Aug 29 19:09:26 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Aug 29 19:09:28 2009] [notice] Digest: generating secret for digest authentication ...
[Sat Aug 29 19:09:28 2009] [notice] Digest: done
[Sat Aug 29 19:09:30 2009] [notice] Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.10 with Suhosin-Patch configured -- resuming normal op