SSH hangs when LSNRCTL start

Hi,

When i give

ssh -l finmasd3 asgard '. ./.profile;

lsnrctl start APPS_masd3'

from remote machine with valid access to the server

It hangs and doesnt return. BUt listener is started in the remote machine.

i have tried giving & in the end, and gave two commands instead of one( start and status).

I have a web tier and database tier. i start listener on the database tier from web tier .

thanks

[458 byte] By [sathyaidc] at [2007-11-26 6:01:09]
# 1
The programs you are starting are probably keeping stdout and/or stderr open to put messages out to.Try redirecting stdout/stderr to a file or /dev/nullYou can also try adding -n to the ssh command which redirects stdin for you.
robertcohen at 2007-7-6 13:23:03 > top of Java-index,Administration Tools,Sun Management Center...