[rancid] Re: "command not found" error

john heasley heas at shrubbery.net
Tue Jun 6 20:44:04 UTC 2006


Tue, Jun 06, 2006 at 01:40:36PM -0700, William Yardley:
> When running /usr/local/rancid/bin/rancid-run, I get:
> 
> /usr/local/rancid/bin/rancid-run: line 59: rancid:: command not found
> 
> Rancid still works, but the error is very confusing (especially since
> Rancid doesn't really send anything to stdout / stderr while it's
> working).
> 
> I *think* it's talking about line 59 of rancid.conf, not line 59 of
> rancid-run - I have (in the config):
> 
> # list of rancid groups
> LIST_OF_GROUPS="rancid"
> # For each group, define a list of people to receive the diffs.
> # in sendmail's /etc/aliases.
> rancid: user1,user2

That is not valid shell (sh) code.  You have to enter the mail alias
in /etc/aliases, not in rancid.conf.

> [...]
> MAILDOMAIN="@example.com"; export MAILDOMAIN
> 
> This seems correct from a quick look at the example config file.
> 
> I do have /usr/local/rancid/run in $PATH in my environment. I tried
> suing to the user running rancid (usually I run it as "sudo -u
> ranciduser /path/to/rancid/rancid-run), but that didn't change anything.
> "which rancid" does return the correct rancid.
> 
> w
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



More information about the Rancid-discuss mailing list