LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Get 404 Not Found Eror after Installing light speed (http://www.litespeedtech.com/support/forum/showthread.php?t=6492)

Mohammad1980 12-20-2012 07:04 AM

Get 404 Not Found Eror after Installing light speed
 
Hello
After I install Light speed on my server. my sites that are on it server get 404 Not Found error.
please help me!?
What I must to do for solve this problem

webizen 12-20-2012 11:39 AM

is this native LSWS vhost? maybe you have not map your vhost to listener. check error log (/usr/local/lsws/logs/error.log) for more details.

Mohammad1980 12-20-2012 12:06 PM

Quote:

Originally Posted by webizen (Post 40653)
is this native LSWS vhost? maybe you have not map your vhost to listener. check error log (/usr/local/lsws/logs/error.log) for more details.

tnx for your replay

I dont know how I can do "is this native LSWS vhost? maybe you have not map your vhost to listene" this.
I go to (/usr/local/lsws/logs/error.log) and see this file

Code:

.                        error.log.2012_12_07.02  error.log.2012_12_19.04
..                      error.log.2012_12_08    error.log.2012_12_19.05
access.log              error.log.2012_12_08.01  error.log.2012_12_19.06
error.log                error.log.2012_12_09    error.log.2012_12_19.07
error.log.2012_11_26    error.log.2012_12_11    error.log.2012_12_20
error.log.2012_11_26.01  error.log.2012_12_11.01  error.log.2012_12_20.01
error.log.2012_11_27    error.log.2012_12_19    error.log.2012_12_20.02
error.log.2012_12_05    error.log.2012_12_19.01  error.log.save
error.log.2012_12_07    error.log.2012_12_19.02  lsrestart.log
error.log.2012_12_07.01  error.log.2012_12_19.03  stderr.log

and I open error.log.2012_12_19.01 file and see this text

Code:

2012-12-20 08:51:00.150 [NOTICE] Your License key will expire in 18 days
2012-12-20 08:51:00.150 [NOTICE] Loading LiteSpeed/4.2.1 Enterprise ...
2012-12-20 08:51:00.151 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7871
2012-12-20 08:51:00.151 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2012-12-20 08:51:00.152 [NOTICE] Recovering server socket: [127.0.0.1:443]
2012-12-20 08:51:00.152 [NOTICE] Recovering server socket: [127.0.0.1:81]
2012-12-20 08:51:00.152 [NOTICE] Recovering server socket: [188.138.100.72:443]
2012-12-20 08:51:00.152 [NOTICE] Recovering server socket: [188.138.100.72:81]
2012-12-20 08:51:00.152 [NOTICE] Recovering server socket: [*:80]
2012-12-20 08:51:00.152 [NOTICE] Recovering server socket: [*:7080]
2012-12-20 08:51:00.152 [INFO] old priority: -19, new priority: -19
2012-12-20 08:51:00.152 [INFO] [config:server:basic] For better obscurity, server version number is hidden in th$
2012-12-20 08:51:00.172 [NOTICE] [PID: 23582]: start cgid: 23583, /usr/local/lsws/bin/httpd
2012-12-20 08:51:00.172 [NOTICE] The maximum number of file descriptor limit is set to 6000.
2012-12-20 08:51:00.172 [NOTICE] [config] Cache function requires a 2-CPU license or above.
2012-12-20 08:51:00.172 [WARN] [config:server:rails] Cannot find ruby interpreter, Rails easy configuration is t$
2012-12-20 08:51:00.173 [ERROR] [config] Path for autoindex script location is invalid: /share/autoindex/
2012-12-20 08:51:00.173 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-phpmodules.conf
2012-12-20 08:51:00.173 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-directories.conf
2012-12-20 08:51:00.173 [WARN] /etc/httpd/conf/extra/httpd-directories.conf:26: Directive 'suPHP_UserGroup' is n$
2012-12-20 08:51:00.173 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-alias.conf
2012-12-20 08:51:00.221 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-includes.conf
2012-12-20 08:51:00.221 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-php-handlers.conf
2012-12-20 08:51:00.221 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-mpm.conf
2012-12-20 08:51:00.221 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-multilang-errordoc.conf
2012-12-20 08:51:00.221 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-autoindex.conf
2012-12-20 08:51:00.222 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-languages.conf
2012-12-20 08:51:00.222 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-info.conf
2012-12-20 08:51:00.222 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-vhosts.conf
2012-12-20 08:51:00.222 [INFO] Processing config file: /etc/httpd/conf/ips.conf
2012-12-20 08:51:00.222 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-dav.conf
2012-12-20 08:51:00.222 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-default.conf
2012-12-20 08:51:00.222 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-ssl.conf
2012-12-20 08:51:00.223 [INFO] Processing config file: /etc/httpd/conf/extra/httpd-deflate.conf

did you get anything of these text!?
Can you help me please
I am beginner

webizen 12-20-2012 01:08 PM

Those text indicates that your lsws also reads Apache httpd.conf and stuff in /etc/httpd/conf/*. You should look at error.log file.

Is your virtual host configured via LSWS admin console or in Apache conf? If via LSWS admin console, you need to create a Listener (admin console => configuration => listener) and map your virtual host to that listener.

Here is a few pointers for the beginners:

http://www.usefuljaja.com/litespeed
http://www.geekstorage.com/blog/inde...rted-litespeed

Mohammad1980 12-20-2012 01:39 PM

Quote:

Originally Posted by webizen (Post 40701)
Those text indicates that your lsws also reads Apache httpd.conf and stuff in /etc/httpd/conf/*. You should look at error.log file.

Is your virtual host configured via LSWS admin console or in Apache conf? If via LSWS admin console, you need to create a Listener (admin console => configuration => listener) and map your virtual host to that listener.

Here is a few pointers for the beginners:

http://www.usefuljaja.com/litespeed
http://www.geekstorage.com/blog/inde...rted-litespeed

excuse me Can you check my server?
Please. my site go down. and I cant do anything

imohsen 12-20-2012 02:53 PM

how did you install litespeed ?
- on a clean server and standalone install
- on a server with control panel (cpanel/directadmin/ispconfig/...)
- on a server with customized configuration that serve requests

Mohammad1980 12-21-2012 12:07 AM

Quote:

Originally Posted by imohsen (Post 40747)
how did you install litespeed ?
- on a clean server and standalone install
- on a server with control panel (cpanel/directadmin/ispconfig/...)
- on a server with customized configuration that serve requests

on server with direct admin.
Can you help me?

webizen 12-21-2012 06:51 PM

since you are on directadmin, make sure you follow this guide to migrate from apache to lsws:

http://www.litespeedtech.com/support...wiki:apache:da


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