LFD stopped working after 8.0 upgrade

Post Reply
Dejan
Junior Member
Posts: 13
Joined: 28 Apr 2011, 18:15

LFD stopped working after 8.0 upgrade

Post by Dejan »

After upgrade to latest version LFD stopped working on one server only...

This is the error reported in the lfd.log...

Code: Select all

: Can't use string ("31.8.173.147") as a SCALAR ref while "strict refs" in use at /usr/local/csf/lib/ConfigServer/CheckIP.pm line 33.
: daemon stopped
I tried to force update CSF, restart LFD multiple times, but it always die after 30 seconds.

Can someone please help with this.

Thanks.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: LFD stopped working after 8.0 upgrade

Post by ForumAdmin »

It would help to have the entries in lfd.log just before the error. That said, are you using a regex.custom.pm? If so, ensure any calls you use in the file to checkip() pass entries by reference, e.g. if you have if (checkip($ip)) it must now be written as if (checkip(\$ip)). If that is not the issue, the lines before in the log might help.
Dejan
Junior Member
Posts: 13
Joined: 28 Apr 2011, 18:15

Re: LFD stopped working after 8.0 upgrade

Post by Dejan »

Yes, regex.custom.pm was the problem.

Thank you very much.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: LFD stopped working after 8.0 upgrade

Post by ForumAdmin »

We are about to release v8.01 which will cater for either case and so avoid this issue.
Post Reply