OLS stops listening to IPv6 after some time

Cheazey

Verified User
Joined
Aug 27, 2016
Messages
16
Hello,

OLS just stops listening to IPv6 after some time. When I restart it, it's fine again but after a day or so IPv6 on 80 and 443 isn't accessible again. Any advice on how I can diagnose this? What log should I look into? Thank you.
 

vlijmenlive

Verified User
Joined
Nov 13, 2013
Messages
64
Location
Belgium
I'm having the same issue since a few days. (Maybe longer but didn't notice it before).

You can check the Apache error log to get more info. In my case it says that all ipv6 addresses are busy/occupied. They are not, so I think it's an issue occuring when ols restarts "too fast" by a command called from Directadmin. Because after a manual restart it works again.

No solution found though so ideas are welcome. ��
 

jvdwilk

Verified User
Joined
Aug 2, 2006
Messages
17
For me also, same problem applies. OpenLiteSpeed stops listening to IPv6 after some undefined time, both on port 80 & 443.

No solution sofar.

I have installed DA through the Custombuild scripts on a fresh server (no clients at all) and the server has one IPv4 address active, and one IPv6 address.
Both addresses have initially been configured on the interface, not through DA, although ofcause both have been added to DA.
Server is a physical machine, not a VPS, with CentOS 7 installed.

Using 'evolution' skin, as Admin, clicking 'Server Manager' -> 'Custom HTTPD Configurations' and on that page clicking one of the openlitespeed.conf behind the available domains, I get to view the 'Domain Configuration' for the domains under this account, and it has a big red button 'Syntax Error' behind the 'Domain Configuration' title.
Looking through the 'Contents of the openlitespeed.conf file' I see nothing special (it's all default), but under the 'Domain Configuration' is a 'Configuration Check' check section with two highlights:
2019-09-26 10:20:03.102723 [WARN] Path for document root is not accessible: /var/www/html/domains/sharedip/
2019-09-26 10:20:03.102767 [WARN] [config:server:vhosts:vhost:[2001:41d0:2:xxxx:0:0:0:1]] configuration failed!

Since all has been freshly installed, and nothing has been edited from the defaults, this might point to something, but sofar I have been unable to understand where these warnings originate from.

So, anyone with insights in this who could share some would be welcome!

Kind regards,
Jorge.
 

jvdwilk

Verified User
Joined
Aug 2, 2006
Messages
17
Errors showing in the /var/log/httpd/error_log :

2019-09-26 11:05:02.096540 [ERROR] HttpListener::start(): Can't listen at address 2001-41d0-2-xxxx-0-0-0-1-80: Address already in use!
2019-09-26 11:05:02.096628 [ERROR] HttpServer::addListener(2001-41d0-2-xxxx-0-0-0-1-80) failed to create new listener
2019-09-26 11:05:02.096643 [ERROR] [config:server:listener:2001-41d0-2-xxxx-0-0-0-1-80] failed to start listener on address [2001:41d0:2:xxxx:0:0:0:1]:80!
2019-09-26 11:05:02.416113 [ERROR] HttpListener::start(): Can't listen at address 2001-41d0-2-xxxx-0-0-0-1-443: Address already in use!
2019-09-26 11:05:02.416139 [ERROR] HttpServer::addListener(2001-41d0-2-xxxx-0-0-0-1-443) failed to create new listener
2019-09-26 11:05:02.416155 [ERROR] [config:server:listener:2001-41d0-2-xxxx-0-0-0-1-443] failed to start listener on address [2001:41d0:2:xxxx:0:0:0:1]:443!

But although this explains the why, it does not get me much closer to a solution...
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,341
Location
LT, EU
Sounds like an OLS bug. I'd suggest opening a ticket for them, they're usually very fast in responding and fixing the issues :)
 

vlijmenlive

Verified User
Joined
Nov 13, 2013
Messages
64
Location
Belgium
Unfortunately it seems that there still isn't a solution/fix for it.
For now I've disabled all ipv6 dns entries for all webtraffic to work around the issue but of course that's not a future proof solution.

Since I can't find any other info then that it's only for DirectAdmin users, isn't there anything on DA side that might be causing or resolving this?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,341
Location
LT, EU
OLS developers said they had a few cases reviewed, did you try to contact them?
 

vlijmenlive

Verified User
Joined
Nov 13, 2013
Messages
64
Location
Belgium
OLS developers said they had a few cases reviewed, did you try to contact them?
Well I created the topic on the forum and got areply pretty quickly, but later nothing. How would you advice to contact them?
And what came out of those first reviews? ;)
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,341
Location
LT, EU
Well I created the topic on the forum and got areply pretty quickly, but later nothing. How would you advice to contact them?
And what came out of those first reviews? ;)
Just create a ticket at LiteSpeed. I am not sure if they have a testing version with a fix at the moment :)
 

vlijmenlive

Verified User
Joined
Nov 13, 2013
Messages
64
Location
Belgium
I've tried to create a ticket, but that doesn't seem possible for me. OLS doesn't have a ticketing system and for LS you need an account (and I don't see a way to just create one to create a ticket). Besides the forum there is a topic on Slack, but no extra feedback there, so that's why I wondered if something was happening. But if you know that they are investigating is already good news and hopefully a permanent solution will follow soon.
 
Top