Dear CSF-fans,
I am testing out the new feature "Integrated User Interface".
Unfortunately, it isn't working
In my /var/log/lfd.log I get this error:
Oct 26 12:23:24 pluto lfd[17877]: UI: *Error* cannot open server on port 6666: IO::Socket::INET6 configuration failederror:00000000:lib(0):func(0):reason(0), at line 6079
Does anyone know what is going wrong?
Thanks in advance.
- Thijmen
Edit: My bad, should be posted in Bug reports.
Integrated User Interface not working
Re: Integrated User Interface not working
I'm afraid that I don't know what could be the cause of the error with the IO::Socket module. some things to check:
1. Make sure port 6666 isn't already in use
2. Check that the certificates are correct and valid (use the default ones shipped with csf to confirm)
1. Make sure port 6666 isn't already in use
2. Check that the certificates are correct and valid (use the default ones shipped with csf to confirm)
Re: Integrated User Interface not working
I had this error after disabling IPv6 in the kernel.
To fix it, I added the line 'Domain => AF_INET,' to lfd <dot> pl, line 7346
sub ui {
...
my $server = IO::Socket::SSL->new(
Domain => AF_INET,
LocalPort => $config{UI_PORT},
This forces the SSL listener to use IPv4. Of course a real bug-fix would use $config{IPV6} flag to set the domain as needed. Not sure what's wrong with Perl's IO::Socket::SSL that it can't figure out IPv6 is disabled.
To fix it, I added the line 'Domain => AF_INET,' to lfd <dot> pl, line 7346
sub ui {
...
my $server = IO::Socket::SSL->new(
Domain => AF_INET,
LocalPort => $config{UI_PORT},
This forces the SSL listener to use IPv4. Of course a real bug-fix would use $config{IPV6} flag to set the domain as needed. Not sure what's wrong with Perl's IO::Socket::SSL that it can't figure out IPv6 is disabled.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Integrated User Interface not working
Thanks for that, we'll include a workaround as suggested in the next release.
Re: Integrated User Interface not working
Today I update CSF to version 6.20 and UI still doesn't work.
I replace #Domain => $domain with Domain => AF_INET on lfd[point]pl to work
I replace #Domain => $domain with Domain => AF_INET on lfd[point]pl to work
Re: Integrated User Interface not working
Still doesn't work in version 6.21
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: Integrated User Interface not working
You have to either set IPV6 to "0" or fix your perl modules.