how i can restore defult config
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
4 gb ram
the site is big vbulliten form
sorry about my bad english
pls help with details
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/
cp httpd_config.xml.orig httpd_config.xml
Overwrite the file and restart Litespeed.
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.
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 184.108.40.206:8686: Address already in use!
2009-07-02 06:46:48.138 ERROR HttpServer::addListener(220.127.116.11:8686) failed to create new listener
2009-07-02 06:46:48.138 ERROR [/usr/local/apache/conf/httpd.conf:373] Listener for 18.104.22.168:80 is not available!
2009-07-02 06:46:48.138 ERROR [/usr/local/apache/conf/httpd.conf:396] Listener for 22.214.171.124:80 is not available!
2009-07-02 06:46:48.138 ERROR [/usr/local/apache/conf/httpd.conf:396] Listener for 126.96.36.199:8686 is not available!
2009-07-02 06:46:48.139 ERROR [/usr/local/apache/conf/httpd.conf:430] Listener for 188.8.131.52:8686 is not available!
2009-07-02 06:46:48.140 ERROR [/usr/local/apache/conf/httpd.conf:457] Listener for 184.108.40.206:80 is not available!
2009-07-02 06:46:48.140 ERROR [/usr/local/apache/conf/httpd.conf:457] Listener for 220.127.116.11: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 :(
Did you stop Apache?
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!
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
thanx tnax for your help
can u help me in this last problem that rally confuse me pls
|All times are GMT -7. The time now is 05:57 AM.|