site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Mta-interface: amavisd-new-2.3.1-rc3-E (2005-05-06) at daleenterprise.com On Aug 04, 2005, at 08:18 PM, OpenMacNews wrote: hi, i've installed DansGuardian on an OSX 10.3.9 box. i've created the /Library/StartupItems for it ... DansGuardian/DansGuardian DansGuardian/StartupParameters.plist launches/operates as expected from cmd-line. on boot, however, it never starts. syslog shows only one related item: checking in StartupParaneters.plist, i have ONLY: which is virtually identical to my other startup items' ... where the stanza: any ideas? thx, I just installed it and I'm not experiencing any startup issues. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Aug 4 16:49:23 localhost SystemStarter: Malformatted parameters file /Library/StartupItems/DansGuardian/StartupParameters.plist. % cat /Library/StartupItems/DansGuardian/StartupParameters.plist { Description = "DansGuardian Content Filter"; Provides = ("ContentFilter"); Requires = ("Disks","Resolver","Network","Network Time","ProxyServer"); OrderPreference = "Last"; { start = "Starting DansGuardian"; stop = "Stopping DansGuardian"; restart = "Restarting DansGuardian"; }; } and, "ProxyServer" is provided by Squid, which launches OK prior to the DansGuardian failed attempt: ... Aug 4 16:41:22 localhost SystemStarter: Starting SQUID PROXY server ... Aug 4 16:41:25 localhost squid[352]: Squid Parent: child process 354 started ... googling on "Malformatted parameters file" brings up virtually nothing other than: <http://darwinsource.opendarwin.org/10.3/Startup-177/SystemStarter/ StartupItems.c> ... if (StartupItemValidate(aConfig)) { CFStringRef aBundlePathString = CFStringCreateWithCString(NULL, aBundlePath, kCFStringEncodingUTF8); CFNumberRef aDomainNumber = CFNumberCreate(NULL, kCFNumberCFIndexType, &aDomainIndex); CFDictionarySetValue(aConfig, kBundlePathKey, aBundlePathString); CFDictionarySetValue(aConfig, kDomainKey, aDomainNumber); CFRelease(aDomainNumber); SpecialCasesStartupItemHandler(aConfig); CFArrayAppendValue(anItemList, aConfig); CFRelease(aBundlePathString); } else { error(CFSTR("Malformatted parameters file %s.\n"), aConfigFile); } ... looks like the 'culprit', but i have no idea what's failing, and further -- why it's only happening for THIS .plist ... richard You're plist is missing something, here's my plist compare it against yours. { Description = "DansGuardian Content Filter"; Provides = ("ContentFilter"); Requires = ("Resolver", "Disks", "Network", "Network Time", "ProxyServer"); OrderPreference = "Last"; Messages = { start = "Starting DansGuardian"; stop = "Stopping DansGuardian"; restart = "Restarting DansGuardian"; }; } This email sent to site_archiver@lists.apple.com