Command Not Found error message

Aaron Peterson dopplecoder at gmail.com
Sat Jul 30 12:58:29 GMT 2005


On 7/30/05, Gerard Seibert <gerard-seibert at suscom.net> wrote:
> When running 'portsclean' from CRON, this message is sent to the root
> mailbox. In fact, there are several of them in the mailbox. I do not
> know what it means.
> 
> /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:31: command not found: uname -rm
> uname(1) could be broken - cannot parse the output:
> make: not found
> ** Error occured reading /usr/local/etc/pkgtools.conf:
>         uninitialized constant PkgConfig::OS_PLATFORM
> 
> When I run the 'uname -rm' command from the command line, it produces
> this output.
> 
> 5.4-RELEASE I386
>  
> --
> Gerard E. Seibert
> gerard-seibert at suscom.net

You might need to define your path in your crontab file with something
like this:

PATH=${PATH}:/usr/bin

(because uname is in /usr/bin)


More information about the freebsd-questions mailing list