Hello,
I have setup an NFS server to hold site files, I have two LiteSpeed servers with a load balancer and would like to use NFS rather than rsync to keep them the same.
The NFS server seems to work fine. I cann SSH into either of the web servers and create files from the CLI.
When I try to modify the VHOST to use the NFS mounted folder as the site root the admin UI gives me the error "*file /var/www/conf/sitename/vhconf.xml does not exist. Please create manually".
Then I look at the server log it has the following:
--------------------------------
[192.168.1.2:54372-0#_AdminVHost] [STDERR] PHP Warning: is_file() [<a href='function.is-file'>function.is-file</a>]: Stat failed for /var/www/conf/sitename/vhconf.xml (errno=13 - Permission denied) in /usr/local/lsws/admin/html.4.0.20/classes/ConfValidation.php on line 627
--------------------------------
The NFS share is mounted as /var/www/share
I am attemting to use the site as follows:
/var/www/share/sitename/
/var/www/conf/sitename/vhconf.xml <-- keeping the conf xml local.
I have tried to chmod and chown the folders to allow www-data access.
for the folder /var/www/conf/
drwxrwxr-- 3 www-data share 4096 2011-07-08 17:01 conf
I am not sure abot the part of the error "192.168.1.2:54372-0#_AdminVHost".
192.168.1.2 is not my IP or the IP of the web server. where is this comming from or is it not an IP?
Thank you,
I have setup an NFS server to hold site files, I have two LiteSpeed servers with a load balancer and would like to use NFS rather than rsync to keep them the same.
The NFS server seems to work fine. I cann SSH into either of the web servers and create files from the CLI.
When I try to modify the VHOST to use the NFS mounted folder as the site root the admin UI gives me the error "*file /var/www/conf/sitename/vhconf.xml does not exist. Please create manually".
Then I look at the server log it has the following:
--------------------------------
[192.168.1.2:54372-0#_AdminVHost] [STDERR] PHP Warning: is_file() [<a href='function.is-file'>function.is-file</a>]: Stat failed for /var/www/conf/sitename/vhconf.xml (errno=13 - Permission denied) in /usr/local/lsws/admin/html.4.0.20/classes/ConfValidation.php on line 627
--------------------------------
The NFS share is mounted as /var/www/share
I am attemting to use the site as follows:
/var/www/share/sitename/
/var/www/conf/sitename/vhconf.xml <-- keeping the conf xml local.
I have tried to chmod and chown the folders to allow www-data access.
for the folder /var/www/conf/
drwxrwxr-- 3 www-data share 4096 2011-07-08 17:01 conf
I am not sure abot the part of the error "192.168.1.2:54372-0#_AdminVHost".
192.168.1.2 is not my IP or the IP of the web server. where is this comming from or is it not an IP?
Thank you,