- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remsh problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:00 AM
06-07-2005 02:00 AM
remsh remotehostname -l netman -n "./.profile;sho_ln machine_mode"
But it gives the following error:
ksh: show_ln: not found
Can anybody tell me the reason.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:04 AM
06-07-2005 02:04 AM
Re: remsh problem
is not on the search path of the remesh session.
You need to log onto the box via telnet, find the location of the program and make sure the PATH variable includes its home.
You might want to put it in the .profile
Your current command line may not load the .profile so that variable assignment is permanent.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:05 AM
06-07-2005 02:05 AM
Re: remsh problem
But I think you want your line to read:
remsh remotehostname -l netman -n ". ./.profile;sho_ln machine_mode"
That will make sure the PATH for sho_ln (which is presumably in your .profile) is actually sourced into your shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:06 AM
06-07-2005 02:06 AM
Re: remsh problem
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:15 AM
06-07-2005 02:15 AM
Re: remsh problem
app/produnm/xtelruntime/netman/dcl/sho_ln"
/usr/lib/dld.sl: Can't open shared library: /temp_scopes/V4111/localscope/exe/libshr.sl
/usr/lib/dld.sl: No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:15 AM
06-07-2005 02:15 AM
Re: remsh problem
remsh remotehostname -l netman -n ". ./.profile;sho_ln machine_mode"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:44 AM
06-07-2005 02:44 AM
Re: remsh problem
remsh $HOST -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 03:11 AM
06-07-2005 03:11 AM
Re: remsh problem
Also, the man page of remsh is very clear on this and usage for each shell type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 05:16 PM
06-07-2005 05:16 PM
Re: remsh problem
If you can, then it is a PATH related problem. You can write a small script on that machine which exports PATH and then executes sho_ln command:
On "remotehost", login as netman:
# echo "export PATH=$PATH" > script
edit script and add sho_ln machine_mode at the end of this file.
Now from one of the servers, issue following command:
remsh remotehost -l netman '/path_to_script/script
This should work
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 01:20 AM
06-09-2005 01:20 AM
Re: remsh problem
Thanks for the answer.
Will the syntax very from shell to shell.
means will it be different for C Shell and K Shell and Bourne Shell.