Page 1 of 1

LFD stopped working after 8.0 upgrade

Posted: 13 Jul 2015, 21:48
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.

Re: LFD stopped working after 8.0 upgrade

Posted: 13 Jul 2015, 21:57
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.

Re: LFD stopped working after 8.0 upgrade

Posted: 13 Jul 2015, 22:15
by Dejan
Yes, regex.custom.pm was the problem.

Thank you very much.

Re: LFD stopped working after 8.0 upgrade

Posted: 13 Jul 2015, 22:16
by ForumAdmin
We are about to release v8.01 which will cater for either case and so avoid this issue.