On 2006.07.03 23:05, Paul Bijnens wrote:
> 30 seconds timeout without receiving anything is typical when you
> have "wait=no" instead of "wait=yes" for the amanda service.
> 
> Have a careful check of the xinetd conf parameters there.

Thanks for the tip, but xinetd and launchd are both set up to wait.
I've attached both files.

WRT to the "Disabled" key in the launchd file, it behaves the same
whether this is set to true, false, or omitted altogether.  Also, when
amanda is set up with launchd, it reports an error when amandad starts:

Workaround Bonjour: Unknown error: 0

Thanks again,
Josh Steadmon
# default: on
# description: Amanda is our backup sysytem
service amanda
{
        disable                 = no
        socket_type             = dgram
        wait                    = yes
        user                    = amanda
        group                   = wheel
        server                  = /sw/backups/libexec/amandad
        log_type                = SYSLOG daemon notice
        log_on_success          = DURATION HOST PID
        log_on_failure          = HOST
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>Disabled</key>
        <true/>
        <key>GroupName</key>
        <string>wheel</string>
        <key>InitGroups</key>
        <true/>
        <key>Label</key>
        <string>org.amanda.amandad</string>
        <key>ProgramArguments</key>
        <array>
                <string>/sw/backups/libexec/amandad</string>
        </array>
        <key>Sockets</key>
        <dict>
                <key>Listeners</key>
                <dict>
                        <key>SockServiceName</key>
                        <string>amanda</string>
                        <key>SockType</key>
                        <string>dgram</string>
                </dict>
        </dict>
        <key>UserName</key>
        <string>amanda</string>
        <key>inetdCompatibility</key>
        <dict>
                <key>Wait</key>
                <true/>
        </dict>
</dict>
</plist>

Reply via email to