LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   [Resolved] IPv6 bugs. (http://www.litespeedtech.com/support/forum/showthread.php?t=3486)

envygeeks 11-02-2009 10:46 PM

[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)

Xorlev 01-07-2010 09:39 PM

Quote:

Originally Posted by envygeeks (Post 17348)
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.

mistwang 01-08-2010 10:46 AM

add this to our to-do list.

raphidae 01-13-2010 04:20 AM

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.

mistwang 01-18-2010 07:47 PM

Latest 4.0.12 build should fix this. Please try a manual upgrade.

raphidae 03-31-2010 03:12 PM

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!

mistwang 04-01-2010 08:59 PM

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.

raphidae 04-01-2010 09:08 PM

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


mistwang 04-02-2010 10:38 AM

I need INFO level log.

mistwang 04-02-2010 10:41 AM

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.


All times are GMT -7. The time now is 12:35 AM.