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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] litespeed weird behavior

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2013, 05:20 AM
litespeederr litespeederr is offline
New Member
 
Join Date: Jan 2013
Posts: 4
Default [solved] litespeed weird behavior

Hi, i use litespeed 4.1.7 and for 1 domains is having a weird bihavior.
When i use litespeed, 1 domain is redirecting to other domain without any rules set in cpanel, ftp or dns.
When i switch to apache the domains is working normaly.

Where should I look for any more information to solve the problem with litespeed and this weird redirect ?

Last edited by NiteWave; 01-10-2013 at 05:14 PM..
Reply With Quote
  #2  
Old 01-04-2013, 08:28 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You should upgrade to 4.1.13 or 4.2.1

/usr/local/lsws/admin/misc/lsup.sh -f -v 4.1.13

or

/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.1
Reply With Quote
  #3  
Old 01-04-2013, 11:14 AM
litespeederr litespeederr is offline
New Member
 
Join Date: Jan 2013
Posts: 4
Quote:
Originally Posted by mistwang View Post
You should upgrade to 4.1.13 or 4.2.1

/usr/local/lsws/admin/misc/lsup.sh -f -v 4.1.13

or

/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.1
not working,

Code:
/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.1
2013-01-04 21:10:47.353 [NOTICE] [AutoUpdate] Checking for new releases..., pid=442381
expr: syntax error
/usr/bin/wget -nv -O /usr/local/lsws/autoupdate/lsws-4.2.1--x86_64-linux.tar.gz http://www.litespeedtech.com/packages/4.0/lsws-4.2.1--x86_64-linux.tar.gz
http://www.litespeedtech.com/packages/4.0/lsws-4.2.1--x86_64-linux.tar.gz:
2013-01-04 21:10:49 ERROR 404: Not Found.
/usr/local/lsws/admin/misc/update.sh 4.2.1  x86_64-linux
Usage: update.sh VERSION EDITION PLATFORM
  Upgrade to another version of LiteSpeed web server. the package file must
  exist under /usr/local/lsws/autoupdate/
  Package file should be lsws-VERSION-EDITION-PLATFORM.tar.gz

Restarting LSWS
[OK] Send SIGUSR1 to 441196
Done
root@server4 [~]# wget
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
Reply With Quote
  #4  
Old 01-04-2013, 06:59 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,227
what's current value of following files?
/usr/local/lsws/autoupdate/platform
/usr/local/lsws/autoupdate/release

please try delete all files under /usr/local/lsws/autoupdate/
and run
/usr/local/lsws/admin/misc/lsup.sh ...
again
Reply With Quote
  #5  
Old 01-05-2013, 04:46 AM
litespeederr litespeederr is offline
New Member
 
Join Date: Jan 2013
Posts: 4
Quote:
Originally Posted by NiteWave View Post
what's current value of following files?
/usr/local/lsws/autoupdate/platform
/usr/local/lsws/autoupdate/release

please try delete all files under /usr/local/lsws/autoupdate/
and run
/usr/local/lsws/admin/misc/lsup.sh ...
again
Code:
root@server4 [~]# /usr/local/lsws/autoupdate/platform
-bash: /usr/local/lsws/autoupdate/platform: Permission denied
root@server4 [~]# /usr/local/lsws/autoupdate/release
-bash: /usr/local/lsws/autoupdate/release: Permission denied
root@server4 [~]# cd /usr/local/lsws/autoupdate/
root@server4 [/usr/local/lsws/autoupdate]# ls
./                                   lsws-4.1.13-ent-x86_64-linux.tar.gz
../                                  lsws-4.1.13--x86_64-linux.tar.gz
.last                                lsws-4.2.1--x86_64-linux.tar.gz
lsws-4.1.12/                         platform
lsws-4.1.12-ent-x86_64-linux.tar.gz  release
lsws-4.1.13/                         update.log
root@server4 [/usr/local/lsws/autoupdate]# ls -als
total 6472
   4 drwx------  4 lsadm lsadm     4096 Jan  4 21:10 ./
   4 drwxr-xr-x 16 root  root      4096 Nov 16  2011 ../
   0 -rw-r--r--  1 root  nobody       0 Jan  5 14:05 .last
   4 drwxr-xr-x 12  1000 users     4096 May 26  2012 lsws-4.1.12/
3176 -rw-r--r--  1 lsadm lsadm  3247441 May 26  2012 lsws-4.1.12-ent-x86_64-linu                                                                                                                                                             x.tar.gz
   4 drwxr-xr-x 12  1000 users     4096 Nov  7 00:14 lsws-4.1.13/
2864 -rw-r--r--  1 lsadm lsadm  2924694 Nov  7 00:14 lsws-4.1.13-ent-x86_64-linu                                                                                                                                                             x.tar.gz
   0 -rw-r--r--  1 root  root         0 Nov  6 23:15 lsws-4.1.13--x86_64-linux.t                                                                                                                                                             ar.gz
   0 -rw-r--r--  1 root  root         0 Jan  4 21:10 lsws-4.2.1--x86_64-linux.ta                                                                                                                                                             r.gz
   4 -rw-r--r--  1 lsadm lsadm       12 Jan  5 14:05 platform
   4 -rw-r--r--  1 lsadm lsadm       24 Jan  5 14:05 release
 408 -rw-r--r--  1 lsadm lsadm   413448 Jan  5 14:05 update.log
root@server4 [/usr/local/lsws/autoupdate]#
Code:
root@server4 [/usr/local/lsws/autoupdate]# rm -rf *
root@server4 [/usr/local/lsws/autoupdate]# /usr/local/lsws/admin/misc/lsup.sh
2013-01-05 14:40:51.151 [NOTICE] [AutoUpdate] Checking for new releases..., pid=872714
/usr/bin/wget -nv -O /usr/local/lsws/autoupdate/lsws-4.2.1-ent-x86_64-linux.tar.gz http://www.litespeedtech.com/packages/4.0/lsws-4.2.1-ent-x86_64-linux.tar.gz
2013-01-05 14:41:08 URL:http://www.litespeedtech.com/packages/4.0/lsws-4.2.1-ent-x86_64-linux.tar.gz [5723638/5723638] -> "/usr/local/lsws/autoupdate/lsws-4.2.1-ent-x86_64-linux.tar.gz" [1]
/usr/local/lsws/admin/misc/update.sh 4.2.1 ent x86_64-linux
2013-01-05 14:41:09.147 [NOTICE] [OK] Updated license key has been created at /usr/local/lsws/autoupdate/lsws-4.2.1/license.key.
groupadd: group lsadm exists
useradd: user lsadm exists
Warning:  --directory (-d) option is undocumented and no-op.
 Use -rf for deleting non-empty dirs
EasyApache Hooks is enabled, update scripts

LiteSpeed Web Server Plugin for WHM Installed.
You can access it from WHM web console plugins section.

Restarting LSWS
[OK] Send SIGUSR1 to 856274
Done
root@server4 [/usr/local/lsws/autoupdate]# /usr/local/lsws/autoupdate/platform
-bash: /usr/local/lsws/autoupdate/platform: Permission denied
root@server4 [/usr/local/lsws/autoupdate]# /usr/local/lsws/autoupdate/release
-bash: /usr/local/lsws/autoupdate/release: Permission denied
root@server4 [/usr/local/lsws/autoupdate]#
Litespeed in whm it's shows Current Version: 4.2.1, but the mail problema with the redirect still exists.

any new idea?
Reply With Quote
  #6  
Old 01-05-2013, 09:28 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,227
Quote:
When i use litespeed, 1 domain is redirecting to other domain without any rules set in cpanel, ftp or dns.
When i switch to apache the domains is working normaly.
please PM the problem domain name
Reply With Quote
  #7  
Old 01-10-2013, 08:24 AM
litespeederr litespeederr is offline
New Member
 
Join Date: Jan 2013
Posts: 4
Quote:
Originally Posted by NiteWave View Post
please PM the problem domain name
I have solved the problem.
There was a .htaccess file in the user root directory with redirect instructions.

I have ignored this file from the start because I assumed the .htaccess file will not have efect if it's not in the public_html directory
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 01:12 AM.



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