Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: enable portmap



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?


Thanks
--macko

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Newbie: enable portmap (From: Dominik Pich <email@hidden>)
 >Re: Newbie: enable portmap (From: Mike Mackovitch <email@hidden>)
 >Re: Newbie: enable portmap (From: Dominik Pich <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.