hello list!!
the reason I'm writing you guys today is that I'm looking to solve an issue I am having with apache on a centos 5.5 box.
The situation is this.. I am sharing the webroot for a few sites in a test environment on an NFS share.
This is the share:
nas2:/mnt/store/web 1.4T 225G 1021G 19% /var/www
Everything that is shared from this location on a server called simply web1 403's no matter what document you hit. On another web sever called web2 the opposite is true. Every document you share is correctly served.
The error log is located here:
ErrorLog "/var/log/httpd/jokefire.com-error_log"
Yet when I try to generate some activity in the logs by hitting pages nothing turns up in that log.
Everything looks correct with httpd -S on both servers.
web1:
[root@VIRTCENT07:/var/www/html/example.com] #httpd -S [Wed Jun 01 22:14:16 2011] [warn] module php5_module is already loaded, skipping Warning: DocumentRoot [/var/www/html/example.com/jokefire/project_files] does not exist Warning: DocumentRoot [/var/www/html/example.com/store] does not exist VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: _default_:443 VIRTCENT07.summitnjhome.com (/etc/httpd/conf.d/ssl.conf:81) *:80 is a NameVirtualHost default server blog.example.com (/etc/httpd/conf.d/blog.conf:1) port 80 namevhost blog.example.com (/etc/httpd/conf.d/blog.conf:1) port 80 namevhost example.com (/etc/httpd/conf.d/jfprod.conf:1) port 80 namevhost example.com (/etc/httpd/conf.d/jokefire.conf:1) port 80 namevhost store.example.com (/etc/httpd/conf.d/store.conf:1) port 80 namevhost wiki.example.com (/etc/httpd/conf.d/wiki.conf:1) Syntax OK
web2:
[root@VIRTCENT08:~] #httpd -S [Wed Jun 01 21:58:04 2011] [warn] module php5_module is already loaded, skipping Warning: DocumentRoot [/var/www/html/example.com/jokefire/project_files] does not exist VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: _default_:443 VIRTCENT08.testlab.com (/etc/httpd/conf.d/ssl.conf:81) *:80 is a NameVirtualHost default server blog.example.com (/etc/httpd/conf.d/blog.conf:1) port 80 namevhost blog.example.com (/etc/httpd/conf.d/blog.conf:1) port 80 namevhost example.com (/etc/httpd/conf.d/jfprod.conf:1) port 80 namevhost example.com (/etc/httpd/conf.d/jokefire.conf:1) port 80 namevhost store.example.com (/etc/httpd/conf.d/store.conf:1) port 80 namevhost wiki.example.com (/etc/httpd/conf.d/wiki.conf:1) Syntax OK
Here is a listing of the webroot which is identical on both boxes because (as I've mentioned) it lives on an NFS share.
[root@VIRTCENT07:/var/www/html/jokefire.com] #ls -l total 15814 lrwxrwxrwx 1 root apache 36 May 30 00:11 blog -> /var/www/html/jokefire.com/wordpress drwxr-xr-x 2 root apache 512 May 31 23:50 bluethundr -rw-r--r-- 1 root apache 0 May 29 09:00 check.txt lrwxrwxrwx 1 root apache 16 May 29 09:00 forums -> /var/www2/phpBB3 -rw-r--r-- 1 root apache 3 Jun 1 21:19 hi.html -rw-r--r-- 1 root apache 3 Jun 1 21:51 index.html -rw-r--r-- 1 root apache 2764167 May 30 00:07 latest.tar.gz drwxr-xr-x 14 root apache 1024 May 29 10:08 mediawiki-1.16.5 -rw-r--r-- 1 root apache 13235937 May 5 01:37 mediawiki-1.16.5.tar.gz drwxr-xr-x 2 root apache 512 May 29 18:42 mkdir drwxr-xr-x 6 root apache 512 May 29 18:52 smarty drwxr-xr-x 4 root apache 512 Feb 11 16:44 Smarty-3.0.7 -rw-r--r-- 1 root apache 135613 Feb 11 17:09 Smarty-3.0.7.tar.gz lrwxrwxrwx 1 root apache 17 May 30 01:11 store -> /var/www2/magento lrwxrwxrwx 1 root apache 43 May 29 09:03 wiki -> /var/www/html/jokefire.com/mediawiki-1.16.5 drwxr-xr-x 5 apache apache 1024 May 30 01:09 wordpress
I'd certainly appreciate any tips you might have. I'm really ripping my hair out over this one!
tim