LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > 4.1 > 4.1.1 upgrade - odd behaviour

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2011, 04:08 AM
XN-Matt XN-Matt is offline
Member
 
Join Date: Apr 2011
Posts: 44
Question 4.1 > 4.1.1 upgrade - odd behaviour

We have some sites that call on files in other users directories, mainly for our multisite CMS.

We do have open_basedir protection on and there are exceptions in place. This has worked flawlessly for years for all previous 4.x releases.

We've just tried to upgrade to 4.1.1 on two different servers and the same behaviour is seen.

The sites cannot see the files in other user directories. Permissions are correct, open_basedir still set correct too.

If we switch back to 4.1, everything works as normal. Switching back to 4.1.1, it breaks again.

When we enable errors, PHP can't seem to find the files, but they're there and work OK in 4.1 - and we're using the same PHP version too (i.e not recompiled that).

Has something changed in the workings of LiteSpeed to perhaps, chroot them to their own directories that isn't in the changelog?

Matt
Reply With Quote
  #2  
Old 06-15-2011, 04:21 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,217
maybe relate to symbol link ... can you change "allow symbol links" etc and see if 4.1.1 works fine.
Reply With Quote
  #3  
Old 06-15-2011, 04:22 AM
XN-Matt XN-Matt is offline
Member
 
Join Date: Apr 2011
Posts: 44
I'll give it a try but none of the paths are symbolic.

Edit, settings are already.

Follow Symbolic Link Yes
Check Symbolic Link No


Matt

Last edited by XN-Matt; 06-15-2011 at 04:24 AM..
Reply With Quote
  #4  
Old 06-15-2011, 06:38 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 149
And 4.1.1 doesn't have "Server Snapshot" anymore in it's panel Home

Last edited by DraCoola; 06-15-2011 at 06:40 AM..
Reply With Quote
  #5  
Old 06-15-2011, 09:39 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Yes, it is removed from the home page to improve performance.
Just use the status page.
Reply With Quote
  #6  
Old 06-20-2011, 01:50 PM
XN-Matt XN-Matt is offline
Member
 
Join Date: Apr 2011
Posts: 44
How about a reply to the initial issue reported?

We cannot use the new release.
Reply With Quote
  #7  
Old 06-20-2011, 03:51 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
I am referring to the issue you reported below. Can you be more specific about it?

Quote:
Originally Posted by XN-Matt View Post
...
The sites cannot see the files in other user directories. Permissions are correct, open_basedir still set correct too.

...
Matt
Reply With Quote
  #8  
Old 06-20-2011, 03:53 PM
XN-Matt XN-Matt is offline
Member
 
Join Date: Apr 2011
Posts: 44
Not really.

After upgrade, we get a PHP error stating the file not found, although it exists.

If we switch back to 4.1 it is fine, with no error.

I.e a script in /home/user1/public_html/ is trying to access a file in /home/user2/public_html/ - works in 4.1, but not in 4.1.1.

Permissions are correct and user is allowed.

Looks like some chroot is being enforced, even though it never has had a problem before.

Matt
Reply With Quote
  #9  
Old 06-20-2011, 09:18 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
please post a snippet of code in question.
Reply With Quote
  #10  
Old 06-21-2011, 02:38 AM
XN-Matt XN-Matt is offline
Member
 
Join Date: Apr 2011
Posts: 44
Just any basic php include will show this problem.

The php then errors stating the file cannot be found, when it does exist.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:06 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.