Answer the question
In order to leave comments, you need to log in
Ip2name in Lightsquid is not executed via cron. Cause?
There is a gateway on pfSense 2.1.4 (FreeBSD 8.3). Installed squid and lightsquid. To convert ip to names, ip2name.smb is used. The samba34-nmblookup-3.4.14 package is used. Perl version - 5.14.2
So, actually, the problem is: if I run lightparser.pl from the shell, then it polls all addresses with nmblookup just fine. But if lightparser.pl is executed by cron, the addresses are not polled at all. And they are sent to the report "in its pure form". Nmblookup does not appear to be running.
Please help, I can't figure out what the problem is.
Thanks in advance
Answer the question
In order to leave comments, you need to log in
It looks like the problem is that nmblookup can't run in the background where all the tasks started via cron are sent. Not sure about this for sure. But the problem was solved by using fcron instead of cron.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question