LinuxQuestions.org
Help answer threads with 0 replies.
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 04-15-2010, 10:39 PM   #1
neverland
Member
 
Registered: Mar 2010
Posts: 31

Rep: Reputation: 15
clamd service didn't start


Hi there I try to start clamd service since I found "PROCS CRITICAL: 0 processes with command name 'clamd'" from nagios.
so I check at its log file at "tail /home/clamav/logs/clamd.log" it said that log file exceeding maximum limit so I try to rotate log by
pico /root/123/etc/logrotate.d/clamd
/home/clamav/logs/clamd.log {
rotate 12
weekly
compress
delaycompress
create 640 clamav adm
postrotate
/etc/init.d/clamav restart > /dev/null
endscript
}
logrotate -f /root/123/etc/logrotate.d/clamd

then I check the log again I found different error instead (like below)
root@pat:/# tail /home/clamav/logs/clamd.log
Fri Apr 16 05:31:43 2010 -> Log file size limited to 1048576 bytes.
Fri Apr 16 05:31:43 2010 -> Reading databases from /home/clamav/var/lib/clamav
Fri Apr 16 05:31:43 2010 -> Not loading PUA signatures.
Fri Apr 16 05:31:43 2010 -> ERROR: Malformed database
Fri Apr 16 05:33:25 2010 -> +++ Started at Fri Apr 16 05:33:25 2010
Fri Apr 16 05:33:25 2010 -> clamd daemon 0.92.1 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Fri Apr 16 05:33:25 2010 -> Log file size limited to 1048576 bytes.
Fri Apr 16 05:33:25 2010 -> Reading databases from /home/clamav/var/lib/clamav
Fri Apr 16 05:33:25 2010 -> Not loading PUA signatures.
Fri Apr 16 05:33:25 2010 -> ERROR: Malformed database

Please help!
Thanks in advance

Last edited by neverland; 04-15-2010 at 10:41 PM. Reason: more info.
 
Old 04-16-2010, 12:09 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,481

Rep: Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759
Hi,

With clamd stopped you can (re)move the databases from /home/clamav/var/lib/clamav and run freshclam again to get the newer versions.

Regards
 
Old 04-19-2010, 01:51 AM   #3
neverland
Member
 
Registered: Mar 2010
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
Hi,

With clamd stopped you can (re)move the databases from /home/clamav/var/lib/clamav and run freshclam again to get the newer versions.

Regards
Thank by the way, this issue is already solved by upgrade clamav
 
  


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
clamd taking an age to start and guzzling ram cantab Linux - Server 1 04-07-2010 02:11 PM
Q: how to start a service when system start acerlinux AIX 2 04-10-2009 05:45 AM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
Getting clamd & freshclam to start automatically noscin Linux - Security 5 07-28-2006 03:20 AM
Service start-up n.antonio Linux - Software 2 05-02-2003 09:57 PM

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

All times are GMT -5. The time now is 03:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration