OK! Having clogin work proves that RANCID can connect to the host and (I assume?) authenticate.
No change in the SVN/GIT/whatever-you-use could mean that either RANCID wasn’t able to retrieve the configuration, wasn’t able to parse the configuration, or wasn’t able to check in the new version to the repo.
Unfortunately, I’ve found RANCID’s own debugging output to be either nonexistent or unhelpful. I have run into a very similar situation in the past, but sadly I don’t remember what the problem was. I do remember I had to use system tools to find out what was wrong:
If you’re running on Linux, you have the strace(1) tool; on OpenBSD, you’ve got ktrace(1); on Solaris you’ve got truss(8); other UNIXes will have roughly-equivalent tools – all these are similar in that they will trace system calls for you and produce (somewhat-) meaningful output that may help you identify where the failure occurs. E.g. if it’s a permissions error, the strace(8) output may show you the EPERM error message, and if you look carefully, the path to the file in question. Generally speaking, the strace/ktrace/truss/etc. output will show a failure somewhere in the later part of RANCID’s execution that you can use as a starting point.
That’s all I’ve got, hopefully someone else has an easier suggestion.
Consultant, Infrastructure Services
100 - 135 Innovation Drive
Winnipeg, MB R3T 6A8
(204) 977-6824 or 1-800-430-6404 (MB only) https://www.merlin.mb.ca
[cid:image002.png@01D8D897.6DA634E0]Chat with me on Teams<https://firstname.lastname@example.org
From: simon ben <email@example.com>
Sent: October 5, 2022 1:16 AM
To: firstname.lastname@example.org; Adam Thompson <email@example.com>
Subject: Re: [rancid] rancid suddenly stopped backing up devices
Thanks for the quick reply
actually I did make a change in router config and also firewall and than ran rancid-run manually but there no update in the revisons neither any email .
Thanks and Regards
On Wednesday, October 5, 2022 at 09:10:12 AM GMT+3, Adam Thompson <firstname.lastname@example.org<mailto:email@example.com>> wrote:
I suspect something broke in your crond(7) or crontab(5)s, since manually invoking rancid seems to work.
It'll vary depending on your OS (which you didn't specify) but try looking in /var/log/cron for information.
The breakage may have come from an automatic OS update, but again, without details it's hard to guess.
But in any case, since clogin still works, it's probably not a RANCID issue at all. You still need to manually involve rancid (like cron would do) and see if that completes successfully or not.
Also, the problem could simply be email: maybe RANCID is working fine but the emails aren't making it out. I've run into this more than once when something external in the email chain changed.
You've a bit more basic UNIX troubleshooting to do before we start blaming RANCID, I'm afraid. Luckily people here will generally be able to provide some advice at the OS level, given adequate detail.
Get Outlook for Android<https://aka.ms/AAb9ysg
From: Rancid-discuss <firstname.lastname@example.org<mailto:email@example.com>> on behalf of simon ben <firstname.lastname@example.org<mailto:email@example.com>>
Sent: Wednesday, October 5, 2022, 01:01
To: firstname.lastname@example.org<mailto:email@example.com> <firstname.lastname@example.org<mailto:email@example.com>>
Subject: [rancid] rancid suddenly stopped backing up devices
I had rancid installed couple of months back and working fine with no issues
i have rancid version 3.9 with viewvc 1.3.0
I just realized that any changes to most devices are not backed up.
there is no update in revison version neither I receive mail
It stopped on sept 21 2022
attached a screen shot of the firewall
changes to above device is done almost daily.
i did run clogin deviceip and it logs in succesfully
appreciate if someone can advise and help in troubleshooting the issue
I checked the logs but there is no clue
Thanks and regards