I've installed www/apache24, lang/php55, and lang/php55-extensions from the tree, this is in a jail. Everything was working fine until after a reboot. I was doing a memcheck because I added some more RAM recently and wanted to verify that it was good. I can
After this I can't navigate to it. I then checked the status:
Then I checked the following logs (note the errors/warnings have since been fixed):
httpd-error.log
httpd-access.log
I've also made sure apache24 was in /etc/rc.conf:
/etc/rc.conf
As well as checked my Apache configuration:
I've not done anything crazy, just trying to set[]up the basics. I feel like there is something small I'm missing. Any advice would be appreciated.
ssh into the jail fine and it appears that www/apache24 starts with the following.
Code:
# service apache24 onestart
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24
After this I can't navigate to it. I then checked the status:
Code:
# service apache24 status
apache24 is not running.
Then I checked the following logs (note the errors/warnings have since been fixed):
httpd-error.log
Code:
[Mon Dec 30 10:01:53.779332 2013] [mpm_prefork] [pid 49435] AH00163: Apache/2.4.6 (FreeBSD) configured -- resuming normal operations
[Mon Dec 30 10:01:53.780269 2013] [core] [pid 49435] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon Dec 30 10:12:47.339217 2013] [mpm_prefork] [pid 49435] AH00169: caught SIGTERM, shutting down
[Mon Dec 30 10:12:47.600749 2013] [so] [pid 4212] AH01574: module php5_module is already loaded, skipping
[Mon Dec 30 10:12:47.621554 2013] [mpm_prefork] [pid 4213] AH00163: Apache/2.4.6 (FreeBSD) PHP/5.5.7 configured -- resuming normal operations
[Mon Dec 30 10:12:47.621682 2013] [core] [pid 4213] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon Dec 30 10:14:07.954383 2013] [:error] [pid 4461] [client 192.168.1.113:59150] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you
used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/local/www/apache24/data/index.php on line 4
[Mon Dec 30 10:51:35.244677 2013] [:error] [pid 4463] [client 192.168.1.113:53801] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you
used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/local/www/apache24/data/index.php on line 4
[Mon Dec 30 10:51:37.897894 2013] [:error] [pid 4463] [client 192.168.1.113:53801] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you
used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/local/www/apache24/data/index.php on line 4
[Mon Dec 30 10:58:13.918567 2013] [:error] [pid 4215] [client 192.168.1.113:51653] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you
used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/local/www/apache24/data/index.php on line 4
[Mon Dec 30 11:23:00.357560 2013] [:error] [pid 4462] [client 192.168.1.113:26318] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you
used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/local/www/apache24/data/index.php on line 4
[Mon Dec 30 13:36:13.119188 2013] [mpm_prefork] [pid 4213] AH00169: caught SIGTERM, shutting down
[Mon Dec 30 14:55:27.890715 2013] [so] [pid 24415] AH01574: module php5_module is already loaded, skipping
[Mon Dec 30 14:55:58.970517 2013] [so] [pid 28168] AH01574: module php5_module is already loaded, skipping
[Mon Dec 30 14:56:50.539152 2013] [so] [pid 33920] AH01574: module php5_module is already loaded, skipping
httpd-access.log
Code:
192.168.1.113 - - [30/Dec/2013:10:02:01 -0600] "HEAD / HTTP/1.1" 200 -
192.168.1.113 - - [30/Dec/2013:10:02:07 -0600] "GET / HTTP/1.1" 200 45
192.168.1.113 - - [30/Dec/2013:10:02:07 -0600] "GET /favicon.ico HTTP/1.1" 404 209
192.168.1.113 - - [30/Dec/2013:10:13:10 -0600] "GET / HTTP/1.1" 304 -
192.168.1.113 - - [30/Dec/2013:10:14:07 -0600] "GET / HTTP/1.1" 200 60833
192.168.1.113 - - [30/Dec/2013:10:51:35 -0600] "GET / HTTP/1.1" 200 60234
192.168.1.113 - - [30/Dec/2013:10:51:37 -0600] "GET / HTTP/1.1" 200 60234
192.168.1.113 - - [30/Dec/2013:10:58:13 -0600] "GET / HTTP/1.1" 200 60234
192.168.1.113 - - [30/Dec/2013:11:23:00 -0600] "GET / HTTP/1.1" 200 60234
I've also made sure apache24 was in /etc/rc.conf:
/etc/rc.conf
Code:
portmap_enable="NO"
sshd_enable="YES"
sendmail_enable="NO"
hostname="apache"
devfs_enable="YES"
devfs_system_ruleset="devfsrules_common"
sshd_enable="YES"
mysql_enable="YES"
apache24_enable="YES"
As well as checked my Apache configuration:
Code:
# apachectl configtest
Performing sanity check on apache24 configuration:
Syntax OK
I've not done anything crazy, just trying to set[]up the basics. I feel like there is something small I'm missing. Any advice would be appreciated.