Integrated User Interface not working

Locked
Thijmen
Junior Member
Posts: 5
Joined: 26 Oct 2011, 11:31

Integrated User Interface not working

Post by Thijmen »

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.
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Re: Integrated User Interface not working

Post by chirpy »

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)
jeremy
Junior Member
Posts: 1
Joined: 14 Mar 2013, 06:29

Re: Integrated User Interface not working

Post by jeremy »

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.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Integrated User Interface not working

Post by ForumAdmin »

Thanks for that, we'll include a workaround as suggested in the next release.
hoinar
Junior Member
Posts: 4
Joined: 28 Jun 2013, 10:48

Re: Integrated User Interface not working

Post by hoinar »

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
hoinar
Junior Member
Posts: 4
Joined: 28 Jun 2013, 10:48

Re: Integrated User Interface not working

Post by hoinar »

Still doesn't work in version 6.21
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Integrated User Interface not working

Post by ForumAdmin »

You have to either set IPV6 to "0" or fix your perl modules.
Locked