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)
-   -   IPv6 & Graceful Restart (http://www.litespeedtech.com/support/forum/showthread.php?t=6004)

Ghan_04 06-06-2012 11:08 AM

IPv6 & Graceful Restart
 
Hello,

I've seen a couple other reports that are similar to this but it doesn't seem to be fixed (or I'm doing something wrong).
When I change the default listener to "[ALL] IPv6" so it will bind to both the IPv4 and IPv6 addresses on my server, the graceful restart fails to rebind correctly to the addresses. I have to kill the Litespeed process and restart it manually in order to fix the problem. This happens every successive time after manually restarting as well. Any time I try a graceful restart, it doesn't rebind.

Other info:
I only have a Default and an SSL listener (SSL on port 443).
I have a template bound to the default listener.
My server has three addresses - and public IPv4, private IPv4 and public IPv6.
Current Litespeed Version: 4.1.12

webizen 06-06-2012 11:21 AM

For IP rebind like you did, full(manual) stop/start is required.

Ghan_04 06-06-2012 11:38 AM

So this is true even for later restarts for config changes? I think it should be able to gracefully restart after rebinding correctly one time, but it does not.

webizen 06-06-2012 11:58 AM

if later restart still graceful, it does not make difference. the key is that graceful restart would _not_ pickup IP binding changes only full stop/start does.

Ghan_04 06-06-2012 12:00 PM

But why does the interface still break even if the latest changes were not IP binding changes?
Normally, when I make a config change and graceful restart with only the IPv4 address bound, it is fine. But now, EVERY time I graceful restart regardless of what was changed, it fails and I have to do a full start/stop.

mistwang 06-08-2012 07:01 AM

Please upgrade to latest 4.1.13 build, it should be addressed.
you can do it from command line

/usr/local/lsws/admin/misc/lsup.sh 4.1.13

Ghan_04 06-08-2012 02:39 PM

It appears that this has been fixed. Thanks!

Couple of notes:

- After a successful graceful restart, everything works, but the listener shows the following on the main "Actions" page as its Address:

[::]:80

Normally it shows this: [ALL]:80
Just a cosmetic issue and not very important.


- Previously as a workaround, I was using a template and just created one listener for IPv4 and one for IPv6 and added both to the template, which worked fine. This is likely a lot of work if you don't use a template, though.


All times are GMT -7. The time now is 03:42 AM.