[EMAIL PROTECTED] schreef:
Is there somebody can explain why i have got this message ?
My script used in root crontab is :
su - clamav -c "clamscan -r --tgz=/usr/local/bin/tar --quiet -l
logs\/clamav_`date +%y%m%d`.log /"
I don't know how to obtain the file witch is the reason of the error
message !
The whole message is :
Subject: cron
ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
The "su - " above means that the .profile is executed.
You probably have the "stty" command in your profile.
Make that conditional:
if -t 0
then stty ...
fi
....
....
LibClamAV Warning:
******************************************************** LibClamAV
Warning: *** This version of the ClamAV engine is outdated. ***
You version is too old to recognize certain virusses.
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html
*** LibClamAV Warning:
******************************************************** HTTPClient/
HTTPClient/doc/
HTTPClient/doc/images/
HTTPClient/doc/images/redball.gif
....
HTTPClient/SocketTimeout$TimeoutEntry.class
HTTPClient/TransferEncodingModule.class
HTTPClient/UncompressInputStream.class
LibClamAV Error: Can't create temporary file : No such file or
directory LibClamAV Error: Can't create temporary file : No such file
or directory LibClamAV Error: Can't create temporary file : No such
file or directory LibClamAV Error: Can't create temporary file : No
such file or directory LibClamAV Error: Can't create temporary file :
No such file or directory LibClamAV Error: Can't create temporary file
: No such file or directory LibClamAV Error: Can't create temporary
file : No such file or directory LibClamAV Error: Can't create
temporary file : No such file or directory logout
... -l logs\/clamav_`date +%y%m%d`.log /"
Does that directory already exist? Try giving the full path.
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: [EMAIL PROTECTED]
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html