LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2012, 12:10 PM   #1
dick.swift
LQ Newbie
 
Registered: Oct 2005
Location: Decatur, GA
Distribution: Xubuntu 11.10, Fedora 16
Posts: 15

Rep: Reputation: 0
Question Help Needed: Fedora 16: Clamd.Scan.Service


Been searching and performing trial and error for days and cannot find anything to resolve my attempts to establish clamd.scan.service on Fedora 16.

I've uncommented and configure scan.conf as prescibed, enabled the systemd service, and tried a myriad of other permissions based tips I've uncovered here and there, yet I still get:
Code:
$ service clamd.scan status
Redirecting to /bin/systemctl  status clamd.scan.service
clamd.scan.service - Generic clamav scanner daemon
	  Loaded: loaded (/lib/systemd/system/clamd.scan.service; enabled)
	  Active: failed since Thu, 19 Jan 2012 12:46:23 -0500; 15min ago
	 Process: 14334 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/scan.conf --nofork=yes (code=exited, status=1/FAILURE)
	  CGroup: name=systemd:/system/clamd.scan.service
I have updated via freshclam and establishd it as a daemon and can perform clamscan without issue.

Am I thinking of clamd.scan.service correctly; will it run as a stand-alone on-access scan service or is simply available to complement some other tool or script to call it? My desire is to have this run as a true on-access scan daemon (set it and forget it) on a box acting as PDC with NIX and Windows members, the PDC is also an HTTP server.

Any insight on helping me 1) understand how I should think about the daemon and 2) minimum configuration to meet my intended use as stated above would be appreciated.

Cheers

Last edited by dick.swift; 01-19-2012 at 05:11 PM.
 
Old 01-19-2012, 01:35 PM   #2
MartinStrec
Member
 
Registered: Jan 2012
Location: Czech
Distribution: Fedora, RHEL, Ubuntu, Mint
Posts: 110

Rep: Reputation: 14
Hi, it seems you have a wrong configuration.

The clamav default configuration is sufficient for many cases enough.

It depends what do you want to scan?

The daemon by default offers the scan service. It just means that the program (clamav) is loaded in the memory and when you call it, it scans file(s) or given data very quickly.

If you want to set on-access file scan, you have to use an additional software to invoke clamav. I do not know the direct way of using clamavd to scan.
 
Old 01-19-2012, 01:55 PM   #3
dick.swift
LQ Newbie
 
Registered: Oct 2005
Location: Decatur, GA
Distribution: Xubuntu 11.10, Fedora 16
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the reply, that for sure is helpful clarification of how the daemon works. I'll scrape everything and start over and see if I can troubleshoot in a more controlled fashion.
 
Old 01-19-2012, 02:06 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I can see that you edited the title adding "Closed" to it. You can mark the thread as solved instead (from the thread tools menu at the top of the screen)
 
  


Reply



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
Testing of clamd service is working or not - reg AjithJ Linux - Server 1 11-22-2011 04:53 AM
what is the extension of datadbase files in clamd service & where it stored ashishravande Linux - Newbie 2 05-11-2010 07:00 AM
clamd service didn't start neverland Linux - Server 2 04-19-2010 01:51 AM
Why pid file is needed for service in linux? techie_techie Linux - General 2 01-05-2006 06:27 PM
Is the PCMCIA service needed? IgD Linux - General 3 03-09-2004 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 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