Re: [rancid] stopping command from being run

2018-06-27 Thread Vacheslav
Well I didn't figure out how to edit the .conf, so I'll just reedit IT on
upgrade :)

-Original Message-
From: heasley  
Sent: Wednesday, June 27, 2018 5:33 PM
To: Vacheslav 
Cc: 'Charles T. Brooks' ; 'Michael T. Voity'
; rancid-discuss@shrubbery.net
Subject: Re: [rancid] stopping command from being run

Wed, Jun 27, 2018 at 03:35:59PM +0300, Vacheslav:
> Thank you very much for your insight. The 9ks have been bugging me for 
> a long time with the little of use flash log and now it's gone thanks to
you.
> But I added the cisco-nx9k to rancid.types.base and did not modify 
> rancid.types.conf and just changed the type in the db file and the 
> miracle happened!

Charles suggested that you edit the .conf, because the next upgrade/install
will overwrite the .base but not the .conf.


___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Problem rancid 3.7 config with cmw routers

2018-06-27 Thread Andy D'Arcy Jewell
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: 
and...@csiltd.co.uk
Tel: 07711 734555
[cid:image001.png@01D1B726.545CC060]

From: Rancid-discuss  on behalf of 
Service Informatique CH DECIZE 
Sent: 27 June 2018 12:37:20
To: rancid-discuss@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 
mailto:serv.informatique@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 
mailto:dan.w.ander...@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 
mailto:serv.informatique@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 
mailto:dan.w.ander...@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 
mailto:serv.informatique@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-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
--
Dan

--
Dan


___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] stopping command from being run

2018-06-27 Thread heasley
Wed, Jun 27, 2018 at 03:35:59PM +0300, Vacheslav:
> Thank you very much for your insight. The 9ks have been bugging me for a
> long time with the little of use flash log and now it's gone thanks to you.
> But I added the cisco-nx9k to rancid.types.base and did not modify
> rancid.types.conf and just changed the type in the db file and the miracle
> happened!

Charles suggested that you edit the .conf, because the next upgrade/install
will overwrite the .base but not the .conf.

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Problem rancid 3.7 config with cmw routers

2018-06-27 Thread 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.

2018-06-25 11:32 GMT+02:00 Service Informatique CH DECIZE <
serv.informatique@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 :
>
>> 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 <
>> serv.informatique@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 :
>>>
 What’s your $PATH variable set to for the rancid user?



 On Thu, Jun 21, 2018 at 5:10 AM Service Informatique CH DECIZE <
 serv.informatique@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-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
 --
 Dan

>>>
>>> --
>> Dan
>>
>
>
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss