Newbie install question
john heasley
heas at shrubbery.net
Wed Sep 5 08:44:37 UTC 2001
Wed, Sep 05, 2001 at 03:33:47PM +1000, Andrew Fort:
> >[root at mel1:/usr/local/rancid/logs]$ cat core.20010905.150101
> >starting: Wed Sep 5 15:01:01 EST 2001
> >
> >Trying to get all of the configs.
> >All routers sucessfully completed.
> >
> >cvs diff: in directory .:
> >cvs [diff aborted]: there is no version here; run 'cvs checkout' first
> >cvs [commit aborted]: cannot commit files as 'root'
> >
> >ending: Wed Sep 5 15:01:12 EST 2001
> >
> >Obviously I need to run the scripts as other than root, but
> >knowing nothing
> >about cvd, I'm wondering what the cvs checkout stuff is?
>
> Brett, it looks like you possibly didn't run
> /usr/local/rancid/bin/create_cvs once you'd set up the groups you want (such
> as 'core') in the /usr/local/rancid/bin/env file (LIST_OF_GROUPS variable).
> create_cvs can handle if your directories have already been manually created
> (e.g., you manually created /usr/local/rancid/core/), but the recommended
> method is to just add to the LIST_OF_GROUPS, then run create_cvs.
>
> The way I setup permissions was to create a rancid user (and group), then
> set the permissions as (from memory):
>
> chgrp -r rancid /usr/local/rancid/
> chmod g+ws /usr/local/rancid/
>
> Then put your admins in the rancid group.
>
> The rancid user has its own ~/.cloginrc naturally, and this user is the one
> which 'cleans up' after the admins who forget to 'do-diffs' after they make
> changes, i.e., from cron (we do it once an hour, if you run less regularly
> than that, be aware of the value of OLDTIME in the /usr/local/rancid/bin/env
> should be greater than the number of hours between your 'rancid' cronjobs.
thats a good point! thanks, i'll be sure to add a note.
> If you're still stuck, try going through the quickstart guide again, I found
> it made much more sense the second time...
hmm, if thats the case (as it seems so), please tell us how we might improve
the install instructions. thanks. also, see the rancid_intro man page.
> -afort
More information about the Rancid-discuss
mailing list