store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Wed May 22, 2013 1:05 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Plesk 10.4.4 MU#16 broke old PHP session file removal
Unread postPosted: Wed Jul 25, 2012 4:39 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
Errr....so, having installed MU#40 for Plesk 10.4.4 a few days ago and having updated php at the same time on a particular system, I received a call from a customer who is using php-fastcgi to say that there were errors relating to saving session files in his website logs.

To my amazement, I found /var/lib/php/sessions to be root.apache drwxrwx--- just as it should be.

What's more, I never got round to fixing the ownership and permissions on this particular system.

So SOMETHING has automagically fixed the ownership and permissions issue.

But it doesn't explain why the customer is seeing session write errors. I thought this was dealt with autmagically by Plesk when php-fastcgi was used. Ah well. One thing fixed, another broken :-(

QUICK UPDATE: It must be ASL - Scott/Mike have added something without telling us? I've checked 4 systems. 3 ASL ones have correct ownership/perms. One non-ASL one has wrong perms/ownership.

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject: Re: Plesk 10.4.4 MU#16 broke old PHP session file removal
Unread postPosted: Wed Jul 25, 2012 7:12 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
Yeah theres a simple event for it right now, but if something changes it again theres no detection for that yet. What we need to find is some kind of log thats going to see it happen so it would be fixed with a SH rule more reliably.


Top
 Profile  
 
 Post subject: Re: Plesk 10.4.4 MU#16 broke old PHP session file removal
Unread postPosted: Wed Jul 25, 2012 7:52 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
I think we just need to keep bugging Parallels about this so they stop messing with that directory's group and permissions: bugreport@parallels.com

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Plesk 10.4.4 MU#16 broke old PHP session file removal
Unread postPosted: Mon Aug 06, 2012 4:09 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
It seems this has been fixed in Plesk 10.4.4 MU#41: http://kb.parallels.com/en/114503

Quote:
[-] PHP garbage collector can't delete session because of lack of permissions on folder defined in session.save_path directive (114368, 109394)

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Plesk 10.4.4 MU#16 broke old PHP session file removal
Unread postPosted: Mon Oct 08, 2012 7:10 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
In current Plesk 9, 10 and 11 versions this problem is fixed AFAIK. The latest micro updates at least didn't change /var/lib/php/session and it's still set to mode 0770, user root, group apache for us.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 20 posts ]  Go to page Previous  1, 2

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group