[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #NUP-437021]: Multiple LDMs running on one system



Dan,

> I checked further into my implementation.  To make sure everything was as it 
> should be.  I removed the installations and re-installed cleanly.  So the 
> setup is 2 users, ldm uses port 388, ldm_test uses port 38888.
> 
> I started the LDM running for the user ldm.  I ran ldmping and this is what I 
> see:
> 
> address@hidden ~]$ ldmping -i 5 147.81.80.185
> Jan 31 18:04:10 INFO:      State    Elapsed Port   Remote_Host           
> rpc_stat
> Jan 31 18:04:10 INFO: RESPONDING   0.001000  388   147.81.80.185
> Jan 31 18:04:15 INFO: RESPONDING   0.000109  388   147.81.80.185
> Jan 31 18:04:20 INFO: RESPONDING   0.000107  388   147.81.80.185
> Jan 31 18:04:25 INFO: RESPONDING   0.000112  388   147.81.80.185
> 
> 
> Which is what I should see.  If I become user ldm_test and run the same 
> command, as I understand it, I should see nothing.  However, ran I become 
> user ldm_test and run the command, this is what I see:
> 
> address@hidden ~/wsi_config]$ ldmping -i 5 147.81.80.185
> Jan 31 18:05:20 INFO:      State    Elapsed Port   Remote_Host           
> rpc_stat
> Jan 31 18:05:20 INFO: RESPONDING   0.001031  388   147.81.80.185
> Jan 31 18:05:25 INFO: RESPONDING   0.000111  388   147.81.80.185
> Jan 31 18:05:30 INFO: RESPONDING   0.000112  388   147.81.80.185
> Jan 31 18:05:35 INFO: RESPONDING   0.000118  388   147.81.80.185
> 
> Which means when I try and start the ldm as ldm_test and it checks to see if 
> it is already running with ldmadmin isrunning, it will fail.
> 
> 
> Should I see this when I run as the user ldm_test:
> 
> address@hidden ~/wsi_config]$ ldmping -i 5 147.81.80.185
> Jan 31 18:05:20 INFO:      State    Elapsed Port   Remote_Host           
> rpc_stat
> 
> 
> Any thoughts?

What's the absolute pathname of the ldmping(1) utility you executed as user 
"ldm_test"? I suspect that the PATH environment variable for the "ldm_test" 
user causes the "ldm" user's ldmping(1) utility to be executed.

When executing the "ldm_test" user's ldmping(1) utility (with no corresponding 
LDM server running), you should see something like this:

    ~/ldm/package/src: ldmping -i0
    Jan 31 20:41:44 INFO:      State    Elapsed Port   Remote_Host           
rpc_stat
    Jan 31 20:41:44 INFO: Resolving localhost to 127.0.0.1 took 0.000305 seconds

> Thanks
> Dan

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: NUP-437021
Department: Support LDM
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.