I tried to modify the plist to make it start :) -
<?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>HopefullyExitsLast</key>
<true/>
<key>Label</key>
<string>com.apple.portmap</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/sandbox-exec</string>
<string>-f</string>
<string>/usr/share/sandbox/portmap.sb</string>
<string>/usr/sbin/portmap</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceIPC</key>
<true/>
<key>Sockets</key>
<dict>
<key>OnDemandTickler</key>
<dict>
<key>SockPathName</key>
<string>/var/run/portmap.socket</string>
</dict>
</dict>
</dict>
</plist>
added ondemand=false and runatload=true
thanks in advance :)
dominik
On Nov 7, 2007, at 11:41 PM, Mike Mackovitch wrote:
On Wed, Nov 07, 2007 at 11:33:15PM +0100, Dominik Pich wrote:
mhm thats what I understood from the message it gets when I try to
start it
manually:
11/7/07 10:05:53 PM portmap[3738] PID 3677 started this second
instance of
portmap (the first instance may not be running, as it launches on
demand
via launchd), exiting!
but the log says rpc for my app failes:
11/7/07 10:04:52 PM firsttry[3731] unable to register (FIRSTTRYPROG,
FIRSTTRYVERS, udp).
So, what does /System/Library/LaunchDaemons/com.apple.portmap.plist
look like?
Perhaps portmap is actually disabled on your system? Is this a
"MacOSX Server"
install?