Discussion:
[rancid] Problem rancid 3.7 config with cmw routers
Service Informatique CH DECIZE
2018-06-21 10:27:37 UTC
Permalink
Hello,

I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
I have followed the jrbinks indications ->
https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
My tests are ok with a cisco router (config is ok in cvsweb), but ko with
cmw / hp routers (model 5120/5130).

In the log file, I have the following error :
"Added swd01
Trying to get all of the configs.
sh: 1: cmwlogin: not found
swd01: missed cmd(s): all commands
swd01: End of run not found
!"

Please help, I don't know how to resolve the problem.
Thanks.

PS : sorry for my bad english (I'm French ;o) )

Yann PAGE
heasley
2018-06-21 12:23:48 UTC
Permalink
Thu, Jun 21, 2018 at 12:27:37PM +0200, Service Informatique CH DECIZE:
> Hello,
>
> I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
> I have followed the jrbinks indications ->
> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
> My tests are ok with a cisco router (config is ok in cvsweb), but ko with
> cmw / hp routers (model 5120/5130).
>
> In the log file, I have the following error :
> "Added swd01
> Trying to get all of the configs.
> sh: 1: cmwlogin: not found

I am not familiar with cmwlogin, but that error means that the script
can not be found. make sure that it is in the same directroy as
clogin, has permissions 0555 and that the interpreter in the first
line of that file matches the first line of clogin.

> swd01: missed cmd(s): all commands
> swd01: End of run not found
> !"
>
> Please help, I don't know how to resolve the problem.
> Thanks.
>
> PS : sorry for my bad english (I'm French ;o) )
>
> Yann PAGE

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Service Informatique CH DECIZE
2018-06-22 13:48:33 UTC
Permalink
Hello,

clogin and cmwlogin are both in /usr/lib/rancid/bin directory, and
permissions seems good (see attached files).
I don't know what you mean : " the interpreter in the first line of that
file matches the first line of clogin". Please take a look at files and
tell me...
Thank you for your help.

Yann.


2018-06-21 14:23 GMT+02:00 heasley <***@shrubbery.net>:

> Thu, Jun 21, 2018 at 12:27:37PM +0200, Service Informatique CH DECIZE:
> > Hello,
> >
> > I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
> > I have followed the jrbinks indications ->
> > https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
> > My tests are ok with a cisco router (config is ok in cvsweb), but ko with
> > cmw / hp routers (model 5120/5130).
> >
> > In the log file, I have the following error :
> > "Added swd01
> > Trying to get all of the configs.
> > sh: 1: cmwlogin: not found
>
> I am not familiar with cmwlogin, but that error means that the script
> can not be found. make sure that it is in the same directroy as
> clogin, has permissions 0555 and that the interpreter in the first
> line of that file matches the first line of clogin.
>
> > swd01: missed cmd(s): all commands
> > swd01: End of run not found
> > !"
> >
> > Please help, I don't know how to resolve the problem.
> > Thanks.
> >
> > PS : sorry for my bad english (I'm French ;o) )
> >
> > Yann PAGE
>
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-***@shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
heasley
2018-06-22 15:12:23 UTC
Permalink
Fri, Jun 22, 2018 at 03:48:33PM +0200, Service Informatique CH DECIZE:
> Hello,
>
> clogin and cmwlogin are both in /usr/lib/rancid/bin directory, and
> permissions seems good (see attached files).
> I don't know what you mean : " the interpreter in the first line of that
> file matches the first line of clogin". Please take a look at files and
> tell me...

https://en.wikipedia.org/wiki/Shebang_(Unix)
Dan Anderson
2018-06-22 15:26:17 UTC
Permalink
What’s your $PATH variable set to for the rancid user?



On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <
***@gmail.com> wrote:

> Hello,
>
> I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
> I have followed the jrbinks indications ->
> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
> My tests are ok with a cisco router (config is ok in cvsweb), but ko with
> cmw / hp routers (model 5120/5130).
>
> In the log file, I have the following error :
> "Added swd01
> Trying to get all of the configs.
> sh: 1: cmwlogin: not found
> swd01: missed cmd(s): all commands
> swd01: End of run not found
> !"
>
> Please help, I don't know how to resolve the problem.
> Thanks.
>
> PS : sorry for my bad english (I'm French ;o) )
>
> Yann PAGE
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
--
Dan
Service Informatique CH DECIZE
2018-06-25 09:32:15 UTC
Permalink
Still "sh: 1: cmwlogin: not found" in log files, even after having added
/usr/lib/rancid/bin to $PATH ...
Other idea?

Yann.

2018-06-25 11:21 GMT+02:00 Dan Anderson <***@gmail.com>:

> You need to add /usr/lib/rancid/bin to the rancid user’s $PATH
>
> On Mon, Jun 25, 2018 at 4:43 AM Service Informatique CH DECIZE <
> ***@gmail.com> wrote:
>
>> Hello,
>> The $PATH variable for rancid user as the following value :
>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
>> Thanks for your help.
>>
>> Yann.
>>
>>
>> 2018-06-22 17:26 GMT+02:00 Dan Anderson <***@gmail.com>:
>>
>>> What’s your $PATH variable set to for the rancid user?
>>>
>>>
>>>
>>> On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <
>>> ***@gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
>>>> I have followed the jrbinks indications ->
>>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
>>>> My tests are ok with a cisco router (config is ok in cvsweb), but ko
>>>> with cmw / hp routers (model 5120/5130).
>>>>
>>>> In the log file, I have the following error :
>>>> "Added swd01
>>>> Trying to get all of the configs.
>>>> sh: 1: cmwlogin: not found
>>>> swd01: missed cmd(s): all commands
>>>> swd01: End of run not found
>>>> !"
>>>>
>>>> Please help, I don't know how to resolve the problem.
>>>> Thanks.
>>>>
>>>> PS : sorry for my bad english (I'm French ;o) )
>>>>
>>>> Yann PAGE
>>>>
>>>> _______________________________________________
>>>> Rancid-discuss mailing list
>>>> Rancid-***@shrubbery.net
>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>
>>> --
>>> Dan
>>>
>>
>> --
> Dan
>
Service Informatique CH DECIZE
2018-06-27 11:37:20 UTC
Permalink
Hello,
Could someone help us to identify the cause of our rancid problem, and help
us to resolve it ?
Thank you in advance.
Yann.

2018-06-25 11:32 GMT+02:00 Service Informatique CH DECIZE <
***@gmail.com>:

> Still "sh: 1: cmwlogin: not found" in log files, even after having added
> /usr/lib/rancid/bin to $PATH ...
> Other idea?
>
> Yann.
>
> 2018-06-25 11:21 GMT+02:00 Dan Anderson <***@gmail.com>:
>
>> You need to add /usr/lib/rancid/bin to the rancid user’s $PATH
>>
>> On Mon, Jun 25, 2018 at 4:43 AM Service Informatique CH DECIZE <
>> ***@gmail.com> wrote:
>>
>>> Hello,
>>> The $PATH variable for rancid user as the following value :
>>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
>>> Thanks for your help.
>>>
>>> Yann.
>>>
>>>
>>> 2018-06-22 17:26 GMT+02:00 Dan Anderson <***@gmail.com>:
>>>
>>>> What’s your $PATH variable set to for the rancid user?
>>>>
>>>>
>>>>
>>>> On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <
>>>> ***@gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
>>>>> I have followed the jrbinks indications ->
>>>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
>>>>> My tests are ok with a cisco router (config is ok in cvsweb), but ko
>>>>> with cmw / hp routers (model 5120/5130).
>>>>>
>>>>> In the log file, I have the following error :
>>>>> "Added swd01
>>>>> Trying to get all of the configs.
>>>>> sh: 1: cmwlogin: not found
>>>>> swd01: missed cmd(s): all commands
>>>>> swd01: End of run not found
>>>>> !"
>>>>>
>>>>> Please help, I don't know how to resolve the problem.
>>>>> Thanks.
>>>>>
>>>>> PS : sorry for my bad english (I'm French ;o) )
>>>>>
>>>>> Yann PAGE
>>>>>
>>>>> _______________________________________________
>>>>> Rancid-discuss mailing list
>>>>> Rancid-***@shrubbery.net
>>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>>>>
>>>> --
>>>> Dan
>>>>
>>>
>>> --
>> Dan
>>
>
>
heasley
2018-06-27 14:35:54 UTC
Permalink
Wed, Jun 27, 2018 at 01:37:20PM +0200, Service Informatique CH DECIZE:
> Hello,
> Could someone help us to identify the cause of our rancid problem, and help
> us to resolve it ?
> Thank you in advance.
> Yann.

I have told you how to fix it; please re-read the past email.

> 2018-06-25 11:32 GMT+02:00 Service Informatique CH DECIZE <
> ***@gmail.com>:
>
> > Still "sh: 1: cmwlogin: not found" in log files, even after having added
> > /usr/lib/rancid/bin to $PATH ...
> > Other idea?
> >
> > Yann.
> >
> > 2018-06-25 11:21 GMT+02:00 Dan Anderson <***@gmail.com>:
> >
> >> You need to add /usr/lib/rancid/bin to the rancid user’s $PATH
> >>
> >> On Mon, Jun 25, 2018 at 4:43 AM Service Informatique CH DECIZE <
> >> ***@gmail.com> wrote:
> >>
> >>> Hello,
> >>> The $PATH variable for rancid user as the following value :
> >>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
> >>> Thanks for your help.
> >>>
> >>> Yann.
> >>>
> >>>
> >>> 2018-06-22 17:26 GMT+02:00 Dan Anderson <***@gmail.com>:
> >>>
> >>>> What’s your $PATH variable set to for the rancid user?
> >>>>
> >>>>
> >>>>
> >>>> On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <
> >>>> ***@gmail.com> wrote:
> >>>>
> >>>>> Hello,
> >>>>>
> >>>>> I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
> >>>>> I have followed the jrbinks indications ->
> >>>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
> >>>>> My tests are ok with a cisco router (config is ok in cvsweb), but ko
> >>>>> with cmw / hp routers (model 5120/5130).
> >>>>>
> >>>>> In the log file, I have the following error :
> >>>>> "Added swd01
> >>>>> Trying to get all of the configs.
> >>>>> sh: 1: cmwlogin: not found
> >>>>> swd01: missed cmd(s): all commands
> >>>>> swd01: End of run not found
> >>>>> !"
> >>>>>
> >>>>> Please help, I don't know how to resolve the problem.
> >>>>> Thanks.
> >>>>>
> >>>>> PS : sorry for my bad english (I'm French ;o) )
> >>>>>
> >>>>> Yann PAGE
> >>>>>
> >>>>> _______________________________________________
> >>>>> Rancid-discuss mailing list
> >>>>> Rancid-***@shrubbery.net
> >>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> >>>>>
> >>>> --
> >>>> Dan
> >>>>
> >>>
> >>> --
> >> Dan
> >>
> >
> >

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Service Informatique CH DECIZE
2018-06-29 10:17:19 UTC
Permalink
Hello,
Great thanks to heasley, my problem is fixed !
I put the same interpreter in the first line of cmwlogin file than in the
first line of clogin file. And after a rancid-run, no error in log files.
I need to do some other tests, but it's ok now.
Thanks again!
Yann.

2018-06-27 16:35 GMT+02:00 heasley <***@shrubbery.net>:

> Wed, Jun 27, 2018 at 01:37:20PM +0200, Service Informatique CH DECIZE:
> > Hello,
> > Could someone help us to identify the cause of our rancid problem, and
> help
> > us to resolve it ?
> > Thank you in advance.
> > Yann.
>
> I have told you how to fix it; please re-read the past email.
>
> > 2018-06-25 11:32 GMT+02:00 Service Informatique CH DECIZE <
> > ***@gmail.com>:
> >
> > > Still "sh: 1: cmwlogin: not found" in log files, even after having
> added
> > > /usr/lib/rancid/bin to $PATH ...
> > > Other idea?
> > >
> > > Yann.
> > >
> > > 2018-06-25 11:21 GMT+02:00 Dan Anderson <***@gmail.com>:
> > >
> > >> You need to add /usr/lib/rancid/bin to the rancid user’s $PATH
> > >>
> > >> On Mon, Jun 25, 2018 at 4:43 AM Service Informatique CH DECIZE <
> > >> ***@gmail.com> wrote:
> > >>
> > >>> Hello,
> > >>> The $PATH variable for rancid user as the following value :
> > >>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
> bin:/snap/bin
> > >>> Thanks for your help.
> > >>>
> > >>> Yann.
> > >>>
> > >>>
> > >>> 2018-06-22 17:26 GMT+02:00 Dan Anderson <***@gmail.com>:
> > >>>
> > >>>> What’s your $PATH variable set to for the rancid user?
> > >>>>
> > >>>>
> > >>>>
> > >>>> On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <
> > >>>> ***@gmail.com> wrote:
> > >>>>
> > >>>>> Hello,
> > >>>>>
> > >>>>> I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS
> machine.
> > >>>>> I have followed the jrbinks indications ->
> > >>>>> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
> > >>>>> My tests are ok with a cisco router (config is ok in cvsweb), but
> ko
> > >>>>> with cmw / hp routers (model 5120/5130).
> > >>>>>
> > >>>>> In the log file, I have the following error :
> > >>>>> "Added swd01
> > >>>>> Trying to get all of the configs.
> > >>>>> sh: 1: cmwlogin: not found
> > >>>>> swd01: missed cmd(s): all commands
> > >>>>> swd01: End of run not found
> > >>>>> !"
> > >>>>>
> > >>>>> Please help, I don't know how to resolve the problem.
> > >>>>> Thanks.
> > >>>>>
> > >>>>> PS : sorry for my bad english (I'm French ;o) )
> > >>>>>
> > >>>>> Yann PAGE
> > >>>>>
> > >>>>> _______________________________________________
> > >>>>> Rancid-discuss mailing list
> > >>>>> Rancid-***@shrubbery.net
> > >>>>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> > >>>>>
> > >>>> --
> > >>>> Dan
> > >>>>
> > >>>
> > >>> --
> > >> Dan
> > >>
> > >
> > >
>
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-***@shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
Andy D'Arcy Jewell
2018-06-27 14:48:21 UTC
Permalink
Depends on your OS. For linux/unix, you can add something like this to the bottom of your rancid user's .cshrc or .bashrc file (in the root of their homedirectory):


export PATH=$PATH:/usr/lib/rancid/bin


If you're not sure how to do this, google something like "centos add to path", amended as appropriate for your operating system.


Regards,

Andy D'Arcy Jewell
Linux/FOSS Operations
CSI LTD
Email: ***@csiltd.co.uk<https://webmail.csiltd.co.uk/owa/redir.aspx?C=HU8AM4nK5Eer2bME-xi1qLoREAxQntMIF4AlMlgTZaouBREWgl-Lq3-aQlwsKWRBa8ZxAmBuwH8.&URL=mailto%3acally.hickman%40csiltd.co.uk>
Tel: 07711 734555
[cid:***@01D1B726.545CC060]
________________________________
From: Rancid-discuss <rancid-discuss-***@shrubbery.net> on behalf of Service Informatique CH DECIZE <***@gmail.com>
Sent: 27 June 2018 12:37:20
To: rancid-***@shrubbery.net
Subject: Re: [rancid] Problem rancid 3.7 config with cmw routers

Hello,
Could someone help us to identify the cause of our rancid problem, and help us to resolve it ?
Thank you in advance.
Yann.

2018-06-25 11:32 GMT+02:00 Service Informatique CH DECIZE <***@gmail.com<mailto:***@gmail.com>>:
Still "sh: 1: cmwlogin: not found" in log files, even after having added /usr/lib/rancid/bin to $PATH ...
Other idea?

Yann.

2018-06-25 11:21 GMT+02:00 Dan Anderson <***@gmail.com<mailto:***@gmail.com>>:
You need to add /usr/lib/rancid/bin to the rancid user’s $PATH

On Mon, Jun 25, 2018 at 4:43 AM Service Informatique CH DECIZE <***@gmail.com<mailto:***@gmail.com>> wrote:
Hello,
The $PATH variable for rancid user as the following value :
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
Thanks for your help.

Yann.


2018-06-22 17:26 GMT+02:00 Dan Anderson <***@gmail.com<mailto:***@gmail.com>>:
What’s your $PATH variable set to for the rancid user?



On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <***@gmail.com<mailto:***@gmail.com>> wrote:
Hello,

I have made a rancid 3.7 installation on a Ubuntu 18.04 LTS machine.
I have followed the jrbinks indications -> https://sites.google.com/site/jrbinks/code/rancid/cmwrancid
My tests are ok with a cisco router (config is ok in cvsweb), but ko with cmw / hp routers (model 5120/5130).

In the log file, I have the following error :
"Added swd01
Trying to get all of the configs.
sh: 1: cmwlogin: not found
swd01: missed cmd(s): all commands
swd01: End of run not found
!"

Please help, I don't know how to resolve the problem.
Thanks.

PS : sorry for my bad english (I'm French ;o) )

Yann PAGE

_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net<mailto:Rancid-***@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
Dan

--
Dan
Service Informatique CH DECIZE
2018-10-30 11:02:09 UTC
Permalink
Hello,

We have made a firmware update on our cwm / hp 5130 routers : upgrade from
3115P05 release (7.1.045) to 3208P03 release (7.1.070).
Since upgrade, we receive "config fetcher problems" mails, that indicates " The
following routers have not been successfully contacted for more than 24
hours".
In the rancid logs, we can see for these routers :
" Trying to get all of the configs.
swsr1: End of run not found
return
=========================================
Getting missed routers: round 1.
swsr1: End of run not found
return
... "
Does anyone know where is the problem ?
Before upgrade, everything was ok with these routers in rancid.
Please help, we don't know how to solve the problem.
Thanks.

Yann.
heasley
2018-10-30 15:40:29 UTC
Permalink
Tue, Oct 30, 2018 at 12:02:09PM +0100, Service Informatique CH DECIZE:
> Hello,
>
> We have made a firmware update on our cwm / hp 5130 routers : upgrade from
> 3115P05 release (7.1.045) to 3208P03 release (7.1.070).
> Since upgrade, we receive "config fetcher problems" mails, that indicates " The
> following routers have not been successfully contacted for more than 24
> hours".
> In the rancid logs, we can see for these routers :
> " Trying to get all of the configs.
> swsr1: End of run not found
> return
> =========================================
> Getting missed routers: round 1.
> swsr1: End of run not found
> return
> ... "
> Does anyone know where is the problem ?
> Before upgrade, everything was ok with these routers in rancid.

what device type are you using for these? It looks like you are using a
older version of rancid or have a custom module?
Service Informatique CH DECIZE
2018-10-31 07:44:57 UTC
Permalink
We use cmw device type (before and after upgrade)...
No modification in the rancid config. Just routers firmware upgrade.


Le mar. 30 oct. 2018 à 16:40, heasley <***@shrubbery.net> a écrit :

> Tue, Oct 30, 2018 at 12:02:09PM +0100, Service Informatique CH DECIZE:
> > Hello,
> >
> > We have made a firmware update on our cwm / hp 5130 routers : upgrade
> from
> > 3115P05 release (7.1.045) to 3208P03 release (7.1.070).
> > Since upgrade, we receive "config fetcher problems" mails, that
> indicates " The
> > following routers have not been successfully contacted for more than 24
> > hours".
> > In the rancid logs, we can see for these routers :
> > " Trying to get all of the configs.
> > swsr1: End of run not found
> > return
> > =========================================
> > Getting missed routers: round 1.
> > swsr1: End of run not found
> > return
> > ... "
> > Does anyone know where is the problem ?
> > Before upgrade, everything was ok with these routers in rancid.
>
> what device type are you using for these? It looks like you are using a
> older version of rancid or have a custom module?
>
Service Informatique CH DECIZE
2018-10-31 08:10:27 UTC
Permalink
We have made a clogin test :
"




















****@SRV-TOOLS2:/usr/lib/rancid/bin$ ./clogin SWA22swa22spawn telnet -K
swa22Trying 172.16.1.22...telnet: Unable to connect to remote host:
Connection refusedspawn ssh -c aes128-cbc -x -l admin ***@swa22's
password: <SWA22><SWA22>exitConnection to swa22
***@SRV-TOOLS2:/usr/lib/rancid/bin$ ./clogin SWA21swa21spawn
telnet -K swa21Trying 172.16.1.21...Connected to swa21.ch-decize.fr
<http://swa21.ch-decize.fr>.Escape character is '^]'.Login
authenticationUsername:adminPassword:<SWA21><SWA21>quitConnection closed by
foreign ***@SRV-TOOLS2:/usr/lib/rancid/bin$ *"

SWA22, as SWSR1, is a router for which we receive "config fetcher problems"
mails...
SWA21 is a router for which we have no problem.
SWA22 clogin test shows a first telnet connexion refused. It's perhaps the
origin of our problem ?

Thanks for your help.


Le mer. 31 oct. 2018 à 08:44, Service Informatique CH DECIZE <
***@gmail.com> a écrit :

> We use cmw device type (before and after upgrade)...
> No modification in the rancid config. Just routers firmware upgrade.
>
>
> Le mar. 30 oct. 2018 à 16:40, heasley <***@shrubbery.net> a écrit :
>
>> Tue, Oct 30, 2018 at 12:02:09PM +0100, Service Informatique CH DECIZE:
>> > Hello,
>> >
>> > We have made a firmware update on our cwm / hp 5130 routers : upgrade
>> from
>> > 3115P05 release (7.1.045) to 3208P03 release (7.1.070).
>> > Since upgrade, we receive "config fetcher problems" mails, that
>> indicates " The
>> > following routers have not been successfully contacted for more than 24
>> > hours".
>> > In the rancid logs, we can see for these routers :
>> > " Trying to get all of the configs.
>> > swsr1: End of run not found
>> > return
>> > =========================================
>> > Getting missed routers: round 1.
>> > swsr1: End of run not found
>> > return
>> > ... "
>> > Does anyone know where is the problem ?
>> > Before upgrade, everything was ok with these routers in rancid.
>>
>> what device type are you using for these? It looks like you are using a
>> older version of rancid or have a custom module?
>>
>
heasley
2018-10-31 16:24:52 UTC
Permalink
Wed, Oct 31, 2018 at 09:10:27AM +0100, Service Informatique CH DECIZE:
> We have made a clogin test :
> "
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ****@SRV-TOOLS2:/usr/lib/rancid/bin$ ./clogin SWA22swa22spawn telnet -K
> swa22Trying 172.16.1.22...telnet: Unable to connect to remote host:
> Connection refusedspawn ssh -c aes128-cbc -x -l admin ***@swa22's
> password: <SWA22><SWA22>exitConnection to swa22
> ***@SRV-TOOLS2:/usr/lib/rancid/bin$ ./clogin SWA21swa21spawn
> telnet -K swa21Trying 172.16.1.21...Connected to swa21.ch-decize.fr
> <http://swa21.ch-decize.fr>.Escape character is '^]'.Login
> authenticationUsername:adminPassword:<SWA21><SWA21>quitConnection closed by
> foreign ***@SRV-TOOLS2:/usr/lib/rancid/bin$ *"
>
> SWA22, as SWSR1, is a router for which we receive "config fetcher problems"
> mails...
> SWA21 is a router for which we have no problem.
> SWA22 clogin test shows a first telnet connexion refused. It's perhaps the
> origin of our problem ?

we do not support that module; ask whomever wrote it. but, my guess
would be that the cause is that the device appears to not reliably
echo the <CR> after 'exit' and the loop around input must be adjusted
to accept that, as the ios module does.

i do not know the hp 5130; you might try the hp, foundry, or smc device
types that rancid supports.

> Thanks for your help.
>
>
> Le mer. 31 oct. 2018 à 08:44, Service Informatique CH DECIZE <
> ***@gmail.com> a écrit :
>
> > We use cmw device type (before and after upgrade)...
> > No modification in the rancid config. Just routers firmware upgrade.
> >
> >
> > Le mar. 30 oct. 2018 à 16:40, heasley <***@shrubbery.net> a écrit :
> >
> >> Tue, Oct 30, 2018 at 12:02:09PM +0100, Service Informatique CH DECIZE:
> >> > Hello,
> >> >
> >> > We have made a firmware update on our cwm / hp 5130 routers : upgrade
> >> from
> >> > 3115P05 release (7.1.045) to 3208P03 release (7.1.070).
> >> > Since upgrade, we receive "config fetcher problems" mails, that
> >> indicates " The
> >> > following routers have not been successfully contacted for more than 24
> >> > hours".
> >> > In the rancid logs, we can see for these routers :
> >> > " Trying to get all of the configs.
> >> > swsr1: End of run not found
> >> > return
> >> > =========================================
> >> > Getting missed routers: round 1.
> >> > swsr1: End of run not found
> >> > return
> >> > ... "
> >> > Does anyone know where is the problem ?
> >> > Before upgrade, everything was ok with these routers in rancid.
> >>
> >> what device type are you using for these? It looks like you are using a
> >> older version of rancid or have a custom module?
> >>
> >
Jethro R Binks
2018-11-01 09:37:43 UTC
Permalink
On Wed, 31 Oct 2018, heasley wrote:

> we do not support that module; ask whomever wrote it. but, my guess
> would be that the cause is that the device appears to not reliably
> echo the <CR> after 'exit' and the loop around input must be adjusted
> to accept that, as the ios module does.
>
> i do not know the hp 5130; you might try the hp, foundry, or smc device
> types that rancid supports.

I can look at this. I haven't tried version 3208P03 so I'll upgrade one
of mine and see what has happened and suggest changes.

Jethro.


. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.
Service Informatique CH DECIZE
2018-11-06 09:03:09 UTC
Permalink
Hello,
Many thanks Jethro, your help is welcome.
When will have you time to take a look at the problem please ? Just to know
if we can hope a solution soon, or not...

Yann.

Le jeu. 1 nov. 2018 à 10:37, Jethro R Binks <***@strath.ac.uk> a
écrit :

> On Wed, 31 Oct 2018, heasley wrote:
>
> > we do not support that module; ask whomever wrote it. but, my guess
> > would be that the cause is that the device appears to not reliably
> > echo the <CR> after 'exit' and the loop around input must be adjusted
> > to accept that, as the ios module does.
> >
> > i do not know the hp 5130; you might try the hp, foundry, or smc device
> > types that rancid supports.
>
> I can look at this. I haven't tried version 3208P03 so I'll upgrade one
> of mine and see what has happened and suggest changes.
>
> Jethro.
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . .
> Jethro R Binks, Network Manager,
> Information Services Directorate, University Of Strathclyde, Glasgow, UK
>
> The University of Strathclyde is a charitable body, registered in
> Scotland, number SC015263.
>
Loading...