[RndTbl] LibreNMS installation not working as it should

Alberto Abrao alberto at abrao.net
Wed May 12 07:14:20 CDT 2021


On 2021-05-11 10:27 p.m., Gilbert E. Detillieux wrote:
> OK, I'm a bit sheepish to admit what the problem appears to have been: 
> wrong ownership on the crontab file.  I've made it owned by root now, 
> and this seems to have fixed my issues.

"he who is without sin among you, let he be the first to throw a stone..."

If anyone here thinks Gilbert should be ashamed, show your face and 
we'll be sure to point and laugh when your turn comes.

Because *it will*.

>
> Thanks for Alberto for getting me to re-examine my cron file, which 
> got me thinking about permissions and ownership of the file, after 
> seeing no problem with the content itself.

I did not do a thing!

I was reading an anecdote that some coders ask for another coder to hear 
an explanation of what they are trying to do, when baffled that 
something does not work as it should.

Most of the time, during the explanation, the baffled coder end up 
finding something he/she missed on his/her own, usually trivial, but 
perfectly OK to skip, considering all that is going on while they're "in 
the zone".

You fixed your own problem. I was just trying to recap what threw me for 
a loop when I was setting up LibreNMS. In my case - if I recall 
correctly - I skipped the cron file entirely. But that was a while ago, 
and it was past 10PM after a looong day (yep, that I do remember... 
sigh), so... yeah.

I am glad it helped, but all I really did was take you out of "the zone" 
for a little while.


For the record, without the cron file with all the housekeeping duties, 
LibreNMS will cough up a hairball and not give you a clue of what's 
really going on.

Thus, make sure you have your /etc/cron.d/librenms file properly set up, 
both content (hi!) and permissions/ownership (hi Gilbert!).

:)


Kind regards,
Alberto Abrao



More information about the Roundtable mailing list