*Hi Alan,*
Good morning!
Thanks for your help.
*1. I think its working. Please have look over the log:*
*# tail -f /var/log/rancid/network.20150605.065402*
starting: Fri Jun 5 06:54:02 CEST 2015
D 172.19.1.254
Deleting 172.19.1.254
Committed revision 13.
Deleted 172.19.1.254
D 172.19.254.53
Deleting 172.19.254.53
Committed revision 14.
Deleted 172.19.254.53
D 172.19.254.46
Deleting 172.19.254.46
Committed revision 15.
Deleted 172.19.254.46
Sending router.db
Transmitting file data .
Committed revision 16.
ending: Fri Jun 5 06:54:02 CEST 2015
*2. But the problem still exists in mail delivery. Still rancid is
deliverying to wrong mailing address:*
Jun 5 06:54:02 RR-DE-NMS-1 postfix/qmgr[9395]: 80391D21915: from=<
***@de.rr-icecream.eu>, size=729, nrcpt=1 (queue active)
Jun 5 06:54:02 RR-DE-NMS-1 postfix/smtp[15798]: 80391D21915: to=<
rancid-admin-***@de.rr-icecream.eu>, orig_to=<rancid-admin-network>,
relay=172.19.1.31[172.19.1.31]:25, delay=0.19, delays=0.01/0/0/0.18,
dsn=2.6.0, status=sent (250 2.6.0
<***@RR-DE-NMS-1.de.rr-icecream.internal> Queued
mail for delivery)
Jun 5 06:54:02 RR-DE-NMS-1 postfix/qmgr[9395]: 80391D21915: removed
*3. Could you please let me know the path where rancid is backing up the
switch/router config file?*
*4. For checking rancid version please have a look:*
***@RR-DE-NMS-1:/var/log# rancid -v
rancid: command not found
***@RR-DE-NMS-1:/usr/bin$ rancid -V
rancid: command not found
***@RR-DE-NMS-1:/usr/bin$ rancid -v
rancid: command not found
*Expecting your kind help again!*
Post by Alan McKinnonPost by Hussein, Md SazzadHi Scott,
postalias: warning: /etc/aliases, line 1: need name:value pair
postalias: warning: /etc/aliases, line 3: need name:value pair
You edited the wrong file, /etc/aliases is postfix's file and was
correct as you originally had it.
The file to edit is router.db. This is a rancid file and there is one
per rancid group.
rancid-2.3.x uses a ":" as the separator
rancid-3.x uses a ";" as the separator
This change was made for rancid-3 to accommodate IPv6 addresses
Post by Hussein, Md SazzadHow to check the rancid version? Is there any command for that?
rancid -V
Post by Hussein, Md Sazzadregards
sazzad
Post by Scott GranadosWhat version of RANCID are you using.
If 3.2 you need to use ; marks not : marks in the router.db
Else you get odd errors and the script wonât run or give the
appropriate output.
Post by Scott GranadosJust a suggestion to check out.
Thanks
Scott
Guys,
I am facing problem with switch config backup.
sudo su -c /usr/lib/rancid/bin/rancid-run -s /bin/bash -l rancid
172.19.254.46:hp:up
172.19.254.53:hp:up
172.19.1.254:netscreen:up
Please note that there is no "enable" passowrd is assigned. I just put
the admin passowrd directly.
Post by Scott GranadosAnyone is there to support me!
--
--
Sazzad Hussein
www.sazzad-hussein.branded.me <http://www.sazzad-hussein.branded.me> |
Hermann-Ehlers Str. 2, 49082 OsnabrÃŒck, Deutschland
Mobile number: 4915214010461
<rancid>_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
|--
*Sazzad Hussein*
www.sazzad-hussein.branded.me <http://www.sazzad-hussein.branded.me> |
Hermann-Ehlers Str. 2, 49082 OsnabrÃŒck, Deutschland
Mobile number: 4915214010461|
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
Alan McKinnon
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
--*Sazzad Hussein*www.sazzad-hussein.branded.me | ***@gmail.com
Hermann-Ehlers Str. 2, 49082 OsnabrÃŒck, Deutschland
Mobile number: 4915214010461