portmap and rpc applications

I am trying to install Unidata ldm 6.4.5 on a Power Mac G5 with 10.4.6 running. Everything compiles and installs and feedme works fine. I can't get ldm to work. It seems to be having trouble with RPC. I have added the correct definition to /etc/rpc.

Should portmap be running all the time? It's not being started as part of normal starup.

Any help appreciated!

Power Mac G5, Mac OS X (10.4.6), Dual 2.3 GHz CPU

Posted on Apr 15, 2006 2:11 PM

Reply
4 replies

Apr 15, 2006 4:00 PM in response to meharpe

Welcome to discussions!

I checked my machines at work. My server has /usr/sbin/portmap listed as a running process. I went onto one of the workstations, and it didn't list portmap. I checked /System/Library/Startupitems and there wasn't any mention of it, so I checked /System/Library/LaunchDaemons and found com.apple.portmap.plist which said nothing about being disabled. I did launchctl list and com.apple.portmap is listed. The socket file that com.apple.portmap.plist talks about, exists and it's perms look good, and it's time correlates with the uptime of the box. Both machines had RPCSERVER=-AUTO- in /etc/hostconfig.

So it looks like portmap is running, but why it isn't listed in a ps output like it is on my server escapes me, unless launchd kills the process off after a time of inactivity and spawns it when a request is received.

RPC calls can add a whole new dimension to firewall configuration, too.

Roger

Apr 15, 2006 4:42 PM in response to meharpe

FWIW, I ran (as root):

launchctl start com.apple.portmap

and /usr/sbin/portmap appears in ps now.

MAYBE on a desktop, RPCSERVER should be set to YES instead of AUTOMATIC, I don't know, I haven't done any experiments so for sure, YMMV!

Roger

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

portmap and rpc applications

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.