[rancid] Problem rancid 3.7 config with cmw routers

Service Informatique CH DECIZE serv.informatique.chd at gmail.com
Fri Jun 22 13:48:33 UTC 2018


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 <heas at 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-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180622/bde85107/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clogin
Type: application/octet-stream
Size: 32640 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180622/bde85107/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmwlogin
Type: application/octet-stream
Size: 30304 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180622/bde85107/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmwlogin_clogin_directory.jpg
Type: image/jpeg
Size: 44234 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180622/bde85107/attachment.jpg>


More information about the Rancid-discuss mailing list