LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-10-2007, 01:41 AM   #16
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,733

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835

Are you the OP?
What is exactly the error you get?
 
Old 09-10-2007, 03:31 AM   #17
Wilson_Lee
LQ Newbie
 
Registered: Apr 2007
Posts: 27

Original Poster
Blog Entries: 1

Rep: Reputation: 15
I run the command and below are the output. Am I access the wrong path and run the command ?

root@infra:~# /path/to/clamd -V
-bash: /path/to/clamd: No such file or directory
root@infra:~# /path/to/clamsd -v
-bash: /path/to/clamsd: No such file or directory
root@infra:~# locate clamd
/usr/local/clam/bin/clamdscan
/usr/local/clam/sbin/clamd
/usr/local/clam/man/man1/clamdscan.1
/usr/local/clam/man/man8/clamd.8
/var/amavis/clamd
root@infra:~# cd /usr/local/clam/bin
root@infra:/usr/local/clam/bin# cd clamdscan
-bash: cd: clamdscan: Not a directory
root@infra:/usr/local/clam/bin# ls
clamav-config* clamdscan* clamscan* freshclam* sigtool*
root@infra:/usr/local/clam/bin# clamd -V
-bash: clamd: command not found
root@infra:/usr/local/clam/bin# clamdscan -V
-bash: clamdscan: command not found
root@infra:/usr/local/clam/bin# cd..
-bash: cd..: command not found
root@infra:/usr/local/clam/bin# cd ..
root@infra:/usr/local/clam# cd sbin
root@infra:/usr/local/clam/sbin# ls
clamd*
root@infra:/usr/local/clam/sbin# clamd -V
-bash: clamd: command not found
root@infra:/usr/local/clam/sbin# clamdscan -V
-bash: clamdscan: command not found
root@infra:/usr/local/clam/sbin#
 
Old 09-10-2007, 03:38 AM   #18
Wilson_Lee
LQ Newbie
 
Registered: Apr 2007
Posts: 27

Original Poster
Blog Entries: 1

Rep: Reputation: 15
I run the command and below are the output. Am I access the wrong path and run the command ? It does not show me any version also.

root@infra:~# /path/to/clamd -V
-bash: /path/to/clamd: No such file or directory
root@infra:~# /path/to/clamsd -v
-bash: /path/to/clamsd: No such file or directory
root@infra:~# locate clamd
/usr/local/clam/bin/clamdscan
/usr/local/clam/sbin/clamd
/usr/local/clam/man/man1/clamdscan.1
/usr/local/clam/man/man8/clamd.8
/var/amavis/clamd
root@infra:~# cd /usr/local/clam/bin
root@infra:/usr/local/clam/bin# cd clamdscan
-bash: cd: clamdscan: Not a directory
root@infra:/usr/local/clam/bin# ls
clamav-config* clamdscan* clamscan* freshclam* sigtool*
root@infra:/usr/local/clam/bin# clamd -V
-bash: clamd: command not found
root@infra:/usr/local/clam/bin# clamdscan -V
-bash: clamdscan: command not found
root@infra:/usr/local/clam/bin# cd..
-bash: cd..: command not found
root@infra:/usr/local/clam/bin# cd ..
root@infra:/usr/local/clam# cd sbin
root@infra:/usr/local/clam/sbin# ls
clamd*
root@infra:/usr/local/clam/sbin# clamd -V
-bash: clamd: command not found
root@infra:/usr/local/clam/sbin# clamdscan -V
-bash: clamdscan: command not found
root@infra:/usr/local/clam/sbin#
 
Old 09-10-2007, 03:45 AM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,733

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
When I told you to run /path/to/clamd, I meant to replace /path/to with the actual path to the command. Anyway the correct command is:
Code:
/usr/local/clam/sbin/clamd -V
If you want to run the command from inside the /usr/local/clam/sbin directory then you should run:
Code:
./clamd -V
 
Old 09-10-2007, 08:55 PM   #20
Wilson_Lee
LQ Newbie
 
Registered: Apr 2007
Posts: 27

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks..
I have run the command and the version that i'm using now is ClamAv version 0.75.
 
Old 09-11-2007, 01:51 AM   #21
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,733

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
That's a pretty old version, so it's pretty normal it cannot update the virus definitions. You can check if that's the case running freshclam manually:
Code:
/usr/local/clam/bin/freshclam
and see if it reports any errors.
 
Old 09-11-2007, 01:57 AM   #22
Wilson_Lee
LQ Newbie
 
Registered: Apr 2007
Posts: 27

Original Poster
Blog Entries: 1

Rep: Reputation: 15
You are definitely right. I need to update clamav and my current functionality level is 2.

root@infra:/usr/local/clam/bin# ./freshclam
ClamAV update process started at Tue Sep 11 15:21:04 2007
Reading CVD header (main.cvd): OK
main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven)
WARNING: Your ClamAV installation is OUTDATED - please update immediately !
WARNING: Current functionality level = 2, required = 20
Reading CVD header (daily.cvd): OK
Downloading daily.cvd[*]
daily.cvd updated (version: 4238, sigs: 18870, f-level: 21, builder: ccordes)
WARNING: Your ClamAV installation is OUTDATED - please update immediately !
WARNING: Current functionality level = 2, required = 21
Database updated (152033 signatures) from database.clamav.net (58.221.222.69).

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing and configuring spamd LXer Syndicated Linux News 0 04-05-2007 04:31 PM
postfix + amavids + spamd saavik Linux - Networking 2 08-15-2006 12:19 AM
HELP, need to disable Spamd kyletaz Linux - Software 7 11-22-2005 02:45 PM
OpenBSD 3.4 - spamd log file 2G Sigkill(9) *BSD 2 10-11-2005 01:23 PM
How to filter postfix with spamd pembo13 Linux - Networking 2 09-10-2004 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration