J
J
JustFailer2015-08-10 21:44:27
FreeBSD
JustFailer, 2015-08-10 21:44:27

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

2 answer(s)
J
JustFailer, 2015-08-10
@JustFailer

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.

F
fendibober, 2016-11-21
@fendibober

Can you suggest a good man for this bundle?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question