At 11:55 AM +1000 6/4/09, James Brown wrote: >On 03/06/2009, at 9:40 PM, Fritz Borgstedt wrote: > >> ASSP development mailing list <[email protected]> >> schreibt: >>> >>> It looks like you do not have tmp/clamd, I think that is the issue, >>> or >>> is it that gets created when clam starts? Lets assume that is the >>> case. >> >> >> tmp/clamd is created on startup. The "installed but not available, >> error: Cannot connect to unix socket '/ tmp/clamd': connect: No such >> file or directory" warning is temporary. ASSP is checking the >> socket/port continuously and should write "ClamAv Up" if clamd becomes >> available. > > >Two hours after startup and no "ClamAv UP" in logs. > >clamd is running. > >clamd.log: > >Thu Jun 4 10:06:44 2009 -> +++ Started at Thu Jun 4 10:06:44 2009 >Thu Jun 4 10:06:44 2009 -> clamd daemon 0.95.1 (OS: darwin9.7.0, >ARCH: i386, CPU: i386) >Thu Jun 4 10:06:44 2009 -> Log file size limited to 1048576 bytes. >Thu Jun 4 10:06:44 2009 -> Reading databases from /usr/local/clamav >Thu Jun 4 10:06:44 2009 -> Not loading PUA signatures. >Thu Jun 4 10:06:59 2009 -> Loaded 823995 signatures. >Thu Jun 4 10:06:59 2009 -> LOCAL: Unix socket file /tmp/clamd >Thu Jun 4 10:06:59 2009 -> LOCAL: Setting connection queue length to 15 >Thu Jun 4 10:06:59 2009 -> Limits: Global size limit set to 104857600 >bytes. >Thu Jun 4 10:06:59 2009 -> Limits: File size limit set to 26214400 >bytes. >Thu Jun 4 10:06:59 2009 -> Limits: Recursion level limit set to 8. >Thu Jun 4 10:06:59 2009 -> Limits: Files limit set to 1000. >Thu Jun 4 10:06:59 2009 -> Archive support enabled. >Thu Jun 4 10:06:59 2009 -> Algorithmic detection enabled. >Thu Jun 4 10:06:59 2009 -> Portable Executable support enabled. >Thu Jun 4 10:06:59 2009 -> ELF support enabled. >Thu Jun 4 10:06:59 2009 -> Mail files support enabled. >Thu Jun 4 10:06:59 2009 -> OLE2 support enabled. >Thu Jun 4 10:06:59 2009 -> PDF support enabled. >Thu Jun 4 10:06:59 2009 -> HTML support enabled. >Thu Jun 4 10:06:59 2009 -> Self checking every 600 seconds. >Thu Jun 4 10:06:59 2009 -> Set stacksize to 1048576 >Thu Jun 4 10:17:00 2009 -> No stats for Database check - forcing reload >Thu Jun 4 10:17:01 2009 -> Reading databases from /usr/local/clamav >Thu Jun 4 10:17:08 2009 -> Database correctly reloaded (823995 >signatures) >Thu Jun 4 10:27:08 2009 -> SelfCheck: Database status OK. >Thu Jun 4 10:37:08 2009 -> SelfCheck: Database status OK. >Thu Jun 4 10:47:08 2009 -> SelfCheck: Database status OK. >Thu Jun 4 10:53:55 2009 -> Reading databases from /usr/local/clamav >Thu Jun 4 10:54:01 2009 -> Database correctly reloaded (824079 >signatures) >etc >
Jim, All works fine here (assp 1.5.1.3 and clamav 0.95.1). I previously posted my plist for assp. Here's my plist for clamd: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>GroupName</key> <string>_clamav</string> <key>KeepAlive</key> <true/> <key>Label</key> <string>net.clamav.clamd.plist</string> <key>OnDemand</key> <true/> <key>Program</key> <string>/usr/local/sbin/clamd</string> <key>ProgramArguments</key> <array> <string>/usr/local/sbin/clamd</string> </array> <key>RunAtLoad</key> <true/> <key>ServiceDescription</key> <string>ClamAV anti-virus daemon</string> <key>UserName</key> <string>root</string> </dict> </plist> Now if you are still having problems you need fo review your clamd.conf file and make sure the sockets are define the same. As an aside, my response to Scott's earlier comments are 3) don't worry about working directories as its a red herring just pattern your plist after the one I posted and 4) don't worry about logs as assp logging is fine or you can change it like I did to integrate it into leopard's log handling system. Tom ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Assp-test mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-test
