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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [Resolved] IPv6 bugs.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2009, 10:46 PM
envygeeks envygeeks is offline
New Member
 
Join Date: Nov 2009
Posts: 4
Default [Resolved] IPv6 bugs.

There are a few bugs in your application of IPv6 which I hope you will fix rather quickly as IPv6 is very important to us.

Problem: Inability to set "IPv6" address in virtual host listeners and apply it to real world.
Example: example.com, www.example.com, [2001:1::2]
Result: 404 for http://[2001:1::2]
Comparison: IPv4 works by application and testing, theoretically IPv6 should too.
Where [2001:1::2] would be the actual IPv6 IP.

Problem: Litespeed web server does not wait long enough before trying to listen again.
Example: Restarting an IPv6 based web server results in the IPv6 listener not being started but IPv4 starting.
Result: Failure
Temporary Fix: Cycling then recycling again in 5 seconds (approximate)

Last edited by NiteWave; 04-06-2010 at 01:30 AM..
Reply With Quote
  #2  
Old 01-07-2010, 09:39 PM
Xorlev Xorlev is offline
Senior Member
 
Join Date: Nov 2005
Posts: 58
Quote:
Originally Posted by envygeeks View Post
There are a few bugs in your application of IPv6 which I hope you will fix rather quickly as IPv6 is very important to us.

Problem: Inability to set "IPv6" address in virtual host listeners and apply it to real world.
Example: example.com, www.example.com, [2001:1::2]
Result: 404 for http://[2001:1::2]
Comparison: IPv4 works by application and testing, theoretically IPv6 should too.
Where [2001:1::2] would be the actual IPv6 IP.

Problem: Litespeed web server does not wait long enough before trying to listen again.
Example: Restarting an IPv6 based web server results in the IPv6 listener not being started but IPv4 starting.
Result: Failure
Temporary Fix: Cycling then recycling again in 5 seconds (approximate)
I would also like to see these bugs fixed. I've been transitioning my sites to IPv6 as well.
Reply With Quote
  #3  
Old 01-08-2010, 10:46 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
add this to our to-do list.
Reply With Quote
  #4  
Old 01-13-2010, 04:20 AM
raphidae raphidae is offline
Senior Member
 
Join Date: Apr 2008
Posts: 59
I have also noticed this. As our network is native IPv6 a solution would be nice.

Now I fixed it with a set of wrapper/check scripts.
Reply With Quote
  #5  
Old 01-18-2010, 07:47 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Latest 4.0.12 build should fix this. Please try a manual upgrade.
Reply With Quote
  #6  
Old 03-31-2010, 03:12 PM
raphidae raphidae is offline
Senior Member
 
Join Date: Apr 2008
Posts: 59
4.0.13 (FreeBSD 8-STABLE) still has the ipv6 listener problem:

2010-04-01 00:08:29.428 [ERROR] [config:admin:listener:localadminlistener-6] failed to start SSL listener on address [2001:610:722:0:217:195:117:160]:280!
2010-04-01 00:08:29.744 [ERROR] HttpListener::start(): Can't listen at address virasena.mediamonks.net-6: Address already in use!
2010-04-01 00:08:29.744 [ERROR] HttpServer::addListener(virasena.mediamonks.net-6) failed to create new listener
2010-04-01 00:08:29.744 [ERROR] [config:server:listener:virasena.mediamonks.net-6] failed to start listener on address [2001:610:722:0:217:195:117:160]:80!
Reply With Quote
  #7  
Old 04-01-2010, 08:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
We need the full error log after graceful restart is initiated till the new instance of LSWS starts, usually across two log files if log file are rotated automatically when LSWS restart.

Make sure the per process file descriptor limit is high enough.
Reply With Quote
  #8  
Old 04-01-2010, 09:08 PM
raphidae raphidae is offline
Senior Member
 
Join Date: Apr 2008
Posts: 59
Code:
2010-04-02 06:05:17.779 [NOTICE] Server restart request from admin interface!
2010-04-02 06:05:17.779 [NOTICE] [Child: 23440] Start shutting down gracefully ...
2010-04-02 06:05:17.779 [NOTICE] [Child: 23438] Start shutting down gracefully ...
2010-04-02 06:05:17.779 [NOTICE] [Child: 23439] Start shutting down gracefully ...
2010-04-02 06:05:17.779 [NOTICE] [Child: 23437] Start shutting down gracefully ...
2010-04-02 06:05:18.518 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23439 !
2010-04-02 06:05:18.623 [NOTICE] [AutoRestarter] child process with pid=23439 exited with status=0!
2010-04-02 06:05:20.415 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23438 !
2010-04-02 06:05:20.518 [NOTICE] [AutoRestarter] child process with pid=23438 exited with status=0!
2010-04-02 06:05:20.521 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23440 !
2010-04-02 06:05:20.630 [NOTICE] [AutoRestarter] child process with pid=23440 exited with status=0!
2010-04-02 06:05:25.957 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23437 !
2010-04-02 06:05:26.000 [NOTICE] [AutoRestarter] child process with pid=23437 exited with status=0!
2010-04-02 06:05:26.000 [NOTICE] [PID:23433] Server Stopped!
Code:
2010-04-02 06:05:17.790 [NOTICE] Free software update of your owned license will expire in 41 days.
2010-04-02 06:05:17.790 [NOTICE] Loading LiteSpeed/4.0.13 Enterprise ...
2010-04-02 06:05:17.792 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7239
2010-04-02 06:05:17.792 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2010-04-02 06:05:17.793 [NOTICE] Recovering server socket: [217.195.117.160:280]
2010-04-02 06:05:17.793 [NOTICE] Recovering server socket: [[ANY]:280]
2010-04-02 06:05:17.793 [NOTICE] Recovering server socket: [217.195.117.160:80]
2010-04-02 06:05:17.793 [NOTICE] Recovering server socket: [[ANY]:80]
2010-04-02 06:05:17.793 [NOTICE] [config] chroot is disabled.
2010-04-02 06:05:18.113 [ERROR] HttpListener::start(): Can't listen at address localadminlistener-6: Address already in use!
2010-04-02 06:05:18.113 [ERROR] HttpServer::addListener(localadminlistener-6) failed to create new listener
2010-04-02 06:05:18.114 [ERROR] [config:admin:listener:localadminlistener-6] failed to start SSL listener on address [2001:610:722:0:217:195:117:160]:280!
2010-04-02 06:05:18.429 [ERROR] HttpListener::start(): Can't listen at address virasena.mediamonks.net-6: Address already in use!
2010-04-02 06:05:18.429 [ERROR] HttpServer::addListener(virasena.mediamonks.net-6) failed to create new listener
2010-04-02 06:05:18.429 [ERROR] [config:server:listener:virasena.mediamonks.net-6] failed to start listener on address [2001:610:722:0:217:195:117:160]:80!

2010-04-02 06:05:18.429 [NOTICE] The maximum number of file descriptor limit is set to 115891.

2010-04-02 06:05:18.434 [ERROR] [config:template:template for normal hosts] Listener [virasena.mediamonks.net-6] does not exist
2010-04-02 06:05:18.444 [ERROR] [config:template:template for RoR hosts] Listener [virasena.mediamonks.net-6] does not exist
2010-04-02 06:05:18.450 [ERROR] [config:template:template for framegame.nl hosts] Listener [virasena.mediamonks.net-6] does not exist
2010-04-02 06:05:18.459 [NOTICE] lshttpd (23489) is ready
Reply With Quote
  #9  
Old 04-02-2010, 10:38 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
I need INFO level log.
Reply With Quote
  #10  
Old 04-02-2010, 10:41 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Looks like [::]:280 the wildcard IPv6 is in use
2010-04-02 06:05:17.793 [NOTICE] Recovering server socket: [[ANY]:280]

You cannot create another listener on the same port binding to individual IPv6 address.
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:32 PM.



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