[Openvas-discuss] Cron Jobs

Reindl Harald h.reindl at thelounge.net
Thu Oct 22 18:22:31 CEST 2015



Am 22.10.2015 um 18:21 schrieb Reindl Harald:
>
>
> Am 22.10.2015 um 18:06 schrieb Diego Gomes:
>> Did you already see anything like this?
>>
>> Cron Job:
>> /usr/sbin/openvas-certdata-sync
>>
>> which: no openvassd in (/usr/bin:/bin)
>>
>> [e] Error: openvassd is not in the path, could not determine SCAP
>> directory.
>>
>> Any idea about it?
>
> what operating system?
> what environment?
> why is /usr/sbin and/or /sbin not in the PATH?
>
> [root at openvas:~]$ which openvassd
> /usr/sbin/openvassd
>
> [root at openvas:~]$ echo $PATH
> /usr/local/bin:/usr/bin:/usr/sbin:/scripts

if that's *only* for conjobs just fix your crontab

[root at openvas:~]$ cat /etc/crontab
SHELL=/usr/bin/bash
PATH=/usr/bin:/usr/sbin
LANG=en_GB.UTF-8
MAILTO=root
HOME=/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20151022/d29785e1/attachment.asc>


More information about the Openvas-discuss mailing list