[rancid] Rancid-cvs: command not found

1,023 views
Skip to first unread message

Wagner Pereira

unread,
Mar 8, 2010, 11:52:06 AM3/8/10
to Rancid Mailing List
Hi, there.

I am following the README file for install Rancid in my Debian lenny.

When I run the rancid-cvs command (step 7), it showed me:
rancid-cvs: command not found

How can I fix that?

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

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

Wagner Pereira

unread,
Mar 8, 2010, 12:21:01 PM3/8/10
to john heasley, Rancid Mailing List
Ok, John, but how should I do that?

Hugs.

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

john heasley escreveu:
> Mon, Mar 08, 2010 at 01:52:06PM -0300, Wagner Pereira:


>
>> Hi, there.
>>
>> I am following the README file for install Rancid in my Debian lenny.
>>
>> When I run the rancid-cvs command (step 7), it showed me:
>> rancid-cvs: command not found
>>
>> How can I fix that?
>>
>

> you need to set your path enironment variable in your shell to include
> the location of the rancid executables or use the fully qualified path
> name for the command.

john heasley

unread,
Mar 8, 2010, 12:44:19 PM3/8/10
to Wagner Pereira, Rancid Mailing List
Mon, Mar 08, 2010 at 02:21:01PM -0300, Wagner Pereira:

> Ok, John, but how should I do that?

Sorry, you need to read. This is basic unix knowledge. see the manual
page for your shell and most unices have intro (man intro) manual pages.

> Hugs.
>
> --
>
> Wagner Pereira
>
> PoP-SP/RNP - Ponto de Presen?a da RNP em S?o Paulo
> CCE/USP - Centro de Computa??o Eletr?nica da Universidade de S?o Paulo

Ismail M. Settenda

unread,
Mar 8, 2010, 12:49:27 PM3/8/10
to Wagner Pereira, Rancid Mailing List
run
updatedb

Then
locate rancid-cvs

Then run the complete path to rancid-cvs
i.e.
/usr/lib/rancid/bin/rancid-cvs

--
Ismail

Wagner Pereira

unread,
Mar 8, 2010, 1:01:59 PM3/8/10
to ism...@habari.co.tz, Rancid Mailing List
Perfect, Ismail! Thank you. (You see, John Heasley? It's not too
difficult to help).

That's what I did:
1. updatedb
2. locate rancid-cvs
3. /home/rancid/bin/rancid-cvs

No conflicts created by this import

cvs checkout: Updating switches-PoP-SP
Directory /home/rancid/var/rancid/CVS/switches-PoP-SP/configs added to
the repository
cvs commit: Examining configs
cvs add: scheduling file `router.db' for addition
cvs add: use `cvs commit' to add this file permanently
/home/rancid/var/rancid/CVS/switches-PoP-SP/router.db,v <-- router.db
initial revision: 1.1

Now I can go ahead with the README file.

Hugs,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

Ismail M. Settenda escreveu:

> Rancid-...@shrubbery.net <mailto:Rancid-...@shrubbery.net>
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

Ryan West

unread,
Mar 8, 2010, 1:08:45 PM3/8/10
to Wagner Pereira, Rancid Mailing List
Wagner,

> -----Original Message-----
> Sent: Monday, March 08, 2010 1:02 PM
> To: ism...@habari.co.tz
> Cc: Rancid Mailing List
> Subject: [rancid] Re: Rancid-cvs: command not found
>
> Perfect, Ismail! Thank you. (You see, John Heasley? It's not too
> difficult to help).
>

There is a good reason he said you need to read. Two people have posted tutorials to get the software setup. You most likely just ran rancid-cvs as a user that is not rancid, which is going to cause more issues further down the line. BTW, John is the author of the program, I think he does a lot already.

-ryan

john heasley

unread,
Mar 8, 2010, 1:25:51 PM3/8/10
to Wagner Pereira, Rancid Mailing List
Mon, Mar 08, 2010 at 03:01:59PM -0300, Wagner Pereira:

> Perfect, Ismail! Thank you. (You see, John Heasley? It's not too
> difficult to help).

Sorry, this is not the unix help list. i already made an effort to
give you clues off-list. you made no effort to find the answer yourself.

go to google, enter "command not found" (with the quotes) and click "I'm
feeling lucky". the result has the answer:
http://www.cyberciti.biz/faq/linux-unix-command-not-found-error-and-how-to-get-rid-of-it/
it was that easy.

Please make an effort to find your own answers before asking hundreds of
folks on a mailing list to do it for you. and my appologies to the list
for this mail.

Wagner Pereira

unread,
Mar 8, 2010, 1:25:54 PM3/8/10
to Rancid Mailing List
Ok, Ryan and Lance. I got your "message".

And about John, I didn't want to offend him.

By the way, I am doing the configuration as root (#) and now, I gave a
step ahead: I am stucked at the step 8.

I copied the router.db.5 file for the <basedir> like router.db

Should I need to create each entry manually in this file?

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

Ryan West escreveu:

Mahaffey, Brian

unread,
Mar 8, 2010, 1:52:30 PM3/8/10
to Wagner Pereira, Rancid Mailing List
http://www.debian-administration.org/articles/429
or
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid

These always help me, make sure you don't skim through the installation. Do each step and try to understand what you are installing so when you are troubleshooting you can fix the issue much quicker.

--

Wagner Pereira

This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read, disclose copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.

Per Carlson

unread,
Mar 8, 2010, 3:50:34 PM3/8/10
to Wagner Pereira, Rancid Mailing List
Hi.

> By the way, I am doing the configuration as root (#) and now, I gave a
> step ahead: I am stucked at the step 8.

As you are using Debian Lenny, why not using the Debian package(s)
(rancid-core/cvs/util)? It's in the standard repositories. If you use
the Debian package you get a streamlined install with proper uid/gid,
and other permissions.

--
Pelle

Reply all
Reply to author
Forward
0 new messages