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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > how i can restore defult config

Reply
 
Thread Tools Display Modes
  #1  
Old 07-01-2009, 05:07 PM
saud99 saud99 is offline
New Member
 
Join Date: Jul 2009
Posts: 5
Default how i can restore defult config

hi

i change many thing in the lightspeed admin control panel

the site now is very slow and always show page cant despaled so i change to apache and its come very fast

how do i can restore the defult config?
and what is your recomndition to change in the defult config?

im new in linux so pls tell me detaels

note: i change the config becuse i face problem that when visitor first time open the siye he face page cant be dwsolaed and when he make refresh its open until he dont make any move for about 10 min then he weill face the same problem.. i face this problem in apache too.. and i buy limetspeed becuse i thing it will fix the problem
-----------
enterprise verion
didicated server
4 gb ram
the site is big vbulliten form


----------
sorry about my bad english

------------

pls help with details

BestRegards

Last edited by saud99; 07-01-2009 at 05:12 PM..
Reply With Quote
  #2  
Old 07-01-2009, 05:44 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Look for a file called httpd_config.xml.orig under /path/to/lsws/conf/ (the location lsws is installed to) and copy it to httpd_config.xml

For example, I installed it to /usr/local/lsws/

cd /usr/local/lsws/conf

cp httpd_config.xml.orig httpd_config.xml

Overwrite the file and restart Litespeed.
Reply With Quote
  #3  
Old 07-01-2009, 11:29 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If it does not work out well, you can try a reinstall, just remember to backup the serial.no and license.key under conf/ directory.
Reply With Quote
  #4  
Old 07-02-2009, 04:57 AM
saud99 saud99 is offline
New Member
 
Join Date: Jul 2009
Posts: 5
thanks for your help


that what i do


root@ [~]# cd /usr/local/lsws/conf
root@ [/usr/local/lsws/conf]# cp httpd_config.xml.orig httpd_config.xml
cp: cannot stat `httpd_config.xml.orig': No such file or directory
root@ [/usr/local/lsws/conf]# dir
./ ../ cert/ httpd_config.xml httpd_config.xml.bak httpd_config.xml.rej .last license.key mime.properties serial.no templates/
root@2 [/usr/local/lsws/conf]# cp
root [/usr/local/lsws/conf]# cp httpd_config.xml.bak httpd_config.xml
cp: overwrite `httpd_config.xml'? y



now when i enter the control panel i face these eror in the log

Found last 10 warning/error messages in the log: More
Time Level Message
2009-07-02 06:46:48.138 ERROR HttpListener::start(): Can't listen at address 174.36.238.24:8686: Address already in use!
2009-07-02 06:46:48.138 ERROR HttpServer::addListener(174.36.238.24:8686) failed to create new listener
2009-07-02 06:46:48.138 ERROR [/usr/local/apache/conf/httpd.conf:373] Listener for 174.37.203.196:80 is not available!
2009-07-02 06:46:48.138 ERROR [/usr/local/apache/conf/httpd.conf:396] Listener for 174.37.203.199:80 is not available!
2009-07-02 06:46:48.138 ERROR [/usr/local/apache/conf/httpd.conf:396] Listener for 174.37.203.199:8686 is not available!
2009-07-02 06:46:48.139 ERROR [/usr/local/apache/conf/httpd.conf:430] Listener for 174.36.238.24:8686 is not available!
2009-07-02 06:46:48.140 ERROR [/usr/local/apache/conf/httpd.conf:457] Listener for 174.37.203.199:80 is not available!
2009-07-02 06:46:48.140 ERROR [/usr/local/apache/conf/httpd.conf:457] Listener for 174.37.203.196:80 is not available!
2009-07-02 06:46:48.140 ERROR [/usr/local/apache/conf/httpd.conf:457] Listener for *:8686 is not available!
2009-07-02 06:46:48.140 ERROR [/usr/local/apache/conf/httpd.conf:365] Listener for *:8686 is not available!


note: i open port 8686 in the server to be http port .. link port 80

waiting for your help
Reply With Quote
  #5  
Old 07-02-2009, 11:37 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Did you stop Apache?
Reply With Quote
  #6  
Old 07-02-2009, 12:17 PM
saud99 saud99 is offline
New Member
 
Join Date: Jul 2009
Posts: 5
thnx for riplaying

now i stop apache and litespeed

and i do the command

when i enter the admin cnotol i face 1 warning wrote in yellow color

Found 1 warning/error messages in the log: More
Time Level Message
2009-07-02 14:15:02.773 WARN [config:server:listener] No listener is available for normal virtual host!
Reply With Quote
  #7  
Old 07-02-2009, 12:50 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
That one is normal, nothing to worry about. Maybe George should remove that entry since many asked about it in the past. Also, maybe a good idea to add an option to backup and restore saved and default configuration to the WHM addon.

I suggest you disable Apache from loading at server boot and start litespeed automatically if Apache is no longer needed. Assuming your server is running WHM/Cpanel, run these commands:

chkconfig httpd off
cd /usr/local/lsws/admin/misc/
./rc-inst.sh

Last edited by anewday; 07-02-2009 at 12:59 PM..
Reply With Quote
  #8  
Old 07-02-2009, 01:13 PM
saud99 saud99 is offline
New Member
 
Join Date: Jul 2009
Posts: 5
dear anewday
thanx tnax for your help

can u help me in this last problem that rally confuse me pls

http://www.litespeedtech.com/support...ead.php?t=3149
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 11:11 PM.



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