At 3:43 PM +1000 6/3/09, James Brown wrote: >On 03/06/2009, at 6:23 AM, Scott Haneda wrote: > >> On Jun 2, 2009, at 12:53 AM, James Brown wrote: >> >>> <?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>Label</key> >>> <string>ASSP</string> >>> <key>ProgramArguments</key> >>> <array> >>> <string>/usr/bin/perl</string> >>> <string>/Applications/assp/assp.pl</string> >>> <string>/Applications/assp</string> >>> </array> >>> <key>RunAtLoad</key> >>> <true/> >>> </dict> >>> </plist> >>> >>> Running ASSP 2.0.1 (RC 0.1.15) >> >> >> Things I would change: >> 1) add a user to your plist, the one assp will run under > > 2) run launchd from a non user area, ie: /Library/LaunchDaemons > > 3) set the working directory so you are not using the above paths >> 4) Set your log keys in the plist as well to a separate log for >> debugging >> this way anything assp echo's out will get logged > >Thanks Scott. > >1) Will do. >2) I already do. That's how it starts ASSP as root. >3) Not sure what you mean by this. Why would the working directory not >be /Applictions/assp? That's what I've done for ages. >4) Not sure what you mean by this either. ASSP is currently logging >to /Applications/assp/maillog.log. > >My other problem now that ASSP starts is that it gives up waiting for >clamd to start: > >Jun-3-09 08:25:16 [init] File::Scan::ClamAV module version 1.910 >installed but not available, error: Cannot connect to unix socket '/ >tmp/clamd': connect: No such file or directory > >Looks like the socket gets created 4 seconds later. From clamd.log: > >Wed Jun 3 08:25:20 2009 -> LOCAL: Unix socket file /tmp/clamd > > From what I've read, it doesn't look like you have any influence over >the order that items get started with launchctl. > >How to users of ClamAV and ASSP get around this on Leopard?
-- Tom Shaw - Chief Engineer, OITC <tshaw at oitc.com>, http://www.oitc.com/ local wx: http://www.oitc.com/weather US Phone Numbers: 321-984-3714, 321-729-6258(fax), 321-258-2475(cell/voice mail,pager) Text Paging: http://www.oitc.com/Pager/sendmessage.html AIM/iChat: [email protected] Fish more and Live longer ------------------------------------------------------------------------------ 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
