- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh in big brother
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
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
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
02-02-2005 12:36 AM
02-02-2005 12:36 AM
I've set up a shell script on the main big brother server to search and destroy core files on remote servers.
The script checks the bb logs for the presence of the words yellow or red against a filesystem. It then does a remsh to the server to look for core files in the affected filesystem(s).
It works fine from the command line - I've set up two dummy core files on a remote server and it finds and deletes them. But when it runs from bb, it reports that there are no core files on the remote server. The command line test and the bb test are on the same remote server, so remsh to that server is allowed.
I've isolated the line with the remsh command as the one where the fault is occurring. I've run just that line from the command line and it works fine.
I'm beginning to wonder if bb can't cope with remsh. Any ideas?
Mark Syder (like the drink but spelt different)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2005 12:42 AM
02-02-2005 12:42 AM
Re: remsh in big brother
Also, can bb call remsh to do something innocuous like /usr/bin/true w/o error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2005 01:03 AM
02-02-2005 01:03 AM
Re: remsh in big brother
Sounds like the remsh isn't working right - IE - it deletes (trys to) on local system?
Add a set -x and output the script to a log file - that may reveal something.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2005 01:07 AM
02-02-2005 01:07 AM
Re: remsh in big brother
Geoff - script to follow.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2005 01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2005 02:13 AM
02-02-2005 02:13 AM
Re: remsh in big brother
I've added bb to .rhosts and tried switching user to bb and running remsh. I get the error message remshd: Login incorrect.
I've been trying to upload the script, Geoff, but I've been having problems posting.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2005 02:15 AM
02-02-2005 02:15 AM
Re: remsh in big brother
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2005 02:40 AM
02-02-2005 02:40 AM
Re: remsh in big brother
All I needed to do was add a .rhosts file to bb's home directory.
Mark