Thanks, that seemed to work!

On Tue, Apr 19, 2011 at 1:00 PM, Vishnu D H <amdathlon.vis...@gmail.com>wrote:

> Hello,
>
> I was recently installing VCL web interface on my laptop. I faced the same
> error on my web interface. The issue is due to the permission issues which
> Josh mentions here. It clears the errors once u set the right permissions.
> (Do chown -R web_server_user:web_server_group  /var/lib/php/session where
> web_server_user and web_server_group are the ones u set in 'httpd.conf').
>
> -Vishnu
>
>
> On Tue, Apr 19, 2011 at 3:04 PM, Josh Thompson <josh_thomp...@ncsu.edu>wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Tyler,
>>
>> I've never seen this one before, but it sounds like the path where php
>> session
>> information is stored is not writeable by the web server user (typically
>> 'apache').  Check the ownership and permissions of /var/lib/php/session.
>>
>> ls -ld /var/lib/php/session
>> drwxrwx---  2 root apache 4096 Oct 19  2007 /var/lib/php/session/
>>
>> This will give you the web server user:
>>
>> ps aux | grep httpd
>> apache   26041  0.0  0.1 93576 7568 ?        S    Apr18   0:04
>> /usr/sbin/httpd
>>
>> In the examples above, httpd is running as the 'apache' user.  The
>> /var/lib/php/session directory is writeable by the 'apache' group.  This
>> requires a little more checking.
>>
>> grep apache /etc/group /etc/passwd
>> /etc/group:apache:x:48:
>> /etc/passwd:apache:x:48:48:Apache:/var/www:/sbin/nologin
>>
>> This shows us the 'apache' user's default group is 'apache'.  So, the
>> 'apache'
>> user should have write access to /var/lib/php/session.
>>
>> Josh
>>
>>

Reply via email to