The virus scan curation task is designed to run with clamd in network listening mode.
Configure the clam daemon to listen in network mode at that same ip address and port. Open the configuration file in the clamd install directory in <clamd install dir>/etc/clamd.conf. Comment out any enabledLocalSocket... properties. Locate the tcpsocket and tcpaddr properties. Type in the correct socket and tcp address values for their respective properties The virus scan task should be configured to use the clamd ip address and port (url https://wiki.duraspace.org/display/DSPACE/Virus+Scan+Curation+Task). ..\Wendy Wendy Bossons Senior Software Engineer MIT Libraries Software Analysis & Development Building E25-131 77 Massachusetts Ave. Cambridge, MA 02141-4307 Phone 617-253-0770 Fax 617-253-4462 [email protected] http://libraries.mit.edu > From: Robin Taylor <[email protected]> > Date: April 11, 2011 10:47:54 AM EDT > To: "[email protected]" <[email protected]> > Subject: [Dspace-tech] ClamAV curation task on Ubuntu > > Hi all, > > I was just looking to save myself some investigation. I am trying to run > the ClamAV curation task on my local Ubuntu machine but its failing > with... > > ERROR org.dspace.curate.ClamScan @ Failed to connect to clamd > > ClamAV appears to listen on a Unix domain > socket /var/run/clamav/clamd.ctl rather than using IP sockets, > unfortunately the DSpace config expects a numeric port. I was just > wondering if anyone has crossed this hurdle ? I guess I could > reconfigure ClamAV to use an IP socket ? > > Any help appreciated. > > Cheers, Robin. > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

