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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > 4.0.10 Upgrade Problem - Configuration Files Not Valid

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2009, 09:20 PM
sdc888 sdc888 is offline
New Member
 
Join Date: May 2009
Posts: 7
Default 4.0.10 Upgrade Problem - Configuration Files Not Valid

I'm having a few issues with the 4.0.10 upgrade:

1.) I cannot access the configuration files for any of my virtual hosts -- I am seeing the following error message in red when clicking on the configuration for a virtual host (these worked fine in 4.9):

/home/myusername/public_html/config/mywebsite.com.xml is not a valid file.

2.) When downgrading back to 4.9 -- I am receiving a session error message and a 503 error on my website.

Any idea what might be wrong?

Thanks!

Last edited by anewday; 08-20-2009 at 09:29 PM..
Reply With Quote
  #2  
Old 08-20-2009, 09:49 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
4.0.10 uses suEXEC for the web console, running as user lsadm.
So, you may need to update directory/file permission for your custom configuration file if they are in the default conf/ directory.

If you want to downgrade to 4.0.9, I strongly suggest you not to, you need to run the installer of 4.0.9 to change the directory/file permission of the admin console related back to previous setting.
Reply With Quote
  #3  
Old 08-21-2009, 05:02 AM
sdc888 sdc888 is offline
New Member
 
Join Date: May 2009
Posts: 7
I changed owner/group of my virtual host config file (mysite.com.xml) to lsadm from (www-data:www-data), and also changed the owner/group of the config folder to lsadm, restarted the process, but still no luck. When clicking on any virtual host within the 4.10 admin console, i see the following message in red:

/home/myusername/public_html/config/mywebsite.com.xml is not a valid file.

Any other ideas? As a side note I keep all of my virtual host config files in directories separate from the main lsws server config files.

Here's a paste of my updated config file permissions:

-rw-r--r-- 1 lsadm lsadm 3238 Jun 15 19:35 mysite.com.xml
Reply With Quote
  #4  
Old 08-21-2009, 07:17 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You also need to check the ownership and permission of /home/myusername and /home/myusername/public_html.

It may not be a good idea to put configuration file under public_html.
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 02:13 PM.



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