- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- RCP 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
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
05-08-2002 05:15 AM
05-08-2002 05:15 AM
RCP Problem
I'm trying to execute some rsh commands on a RedHat server from my NT station. If I execute a first command (for ex. ls -l), everything is OK. But if I'm trying to run a second command (after 10 sec., for example) I get a "connection timeout" error. If I wait 30 sec. between consecutive rsh calls, everything works fine.
Any ideea how can I run rsh commands faster?
Thanks,
Bogdan Bachis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 02:40 PM
05-08-2002 02:40 PM
Re: RCP Problem
I've not seen such errors, but I was also unaware that NT came (nativly) with 'rsh' and 'rcp' tools. Which tools are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 02:44 AM
05-09-2002 02:44 AM
Re: RCP Problem
Thanks for your reply. I had no ideea there is a log file on the Linux box... Can you pls. tell me where I can find it?
Rcp and rsh are incorporated into the NT O.S.. We have also a HP-UX server here, and I can execute rcp and rsh on that box without problems. So, obviuosly something is wrong with the configuration on the Linux machine...
Bogdan Bachis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 09:02 AM
05-09-2002 09:02 AM
Re: RCP Problem
open up lunix window and run this command
#tail -f /var/log/messages
Then run rsh from another command window (on NT) and you will see the error messages.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 05:34 PM
05-09-2002 05:34 PM
Re: RCP Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2002 04:11 AM
05-10-2002 04:11 AM
Re: RCP Problem
I've found a rsh command that displays debugging messages. After running this command several times, I get this message:
"Cannot connect to the RSH port!"
I've looked also in the log file, and there's no entry for the commands that failed. So obviously, the commands are not arriving to the rshd server anymore.
Any other ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2002 06:46 AM
05-10-2002 06:46 AM
Re: RCP Problem
Now we are getting somewhere.
it says cannot connect to rsh port.
check your /etc/inetd.conf file.
shell stream tcp nowait.512 root /usr/sbin/tcpd in.rshd
login stream tcp nowait root /usr/sbin/tcpd in.rlogind
exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
This three should be uncommented.
rshd server checks the client's source port. If the port is not in the range 512-1023, the server aborts the connection.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 09:51 AM
05-14-2002 09:51 AM
Re: RCP Problem
They should be activated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 05:18 PM
05-14-2002 05:18 PM
Re: RCP Problem
Under 7.0 and newer, RedHat uses xinetd vice inetd to run services. The configuration files for xinetd are in
/etc/xinetd.d, one per service
(vice one line per service in /etc/inetd.conf)
The restrictions on port of origin remain, as Sachel noted.
hth
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 09:52 PM
05-14-2002 09:52 PM
Re: RCP Problem
My inetd.conf file looks like this:
shell stream tcp nowait.400 root /usr/sbin/tcpd in.rshd -h
login stream tcp nowait.400 root /usr/sbin/tcpd in.rlogind
exec stream tcp nowait.400 root /usr/sbin/tcpd in.rexecd -h
The client port is Ok, since some commands are still executed. I guess the configuration on my Linux box doesn't allow me to run more than 2-3 commands at the same time (although the nowait.400 option is specified in the inetd.conf file). Any other ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 02:48 PM
05-16-2002 02:48 PM
Re: RCP Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 09:58 PM
05-16-2002 09:58 PM
Re: RCP Problem
I'm talking about RedHat 6.2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2002 06:17 PM
05-19-2002 06:17 PM
Re: RCP Problem
Looking at my system here, I can't see what the '-h' flag actually does. Where'd you get the argument list from?
Besides that, could I get you to show us what you have in /etc/pam.d/rsh ?
It also might be an idea to get a tcpdump from the LInux box to see if the packets are getting there successfully (ie, not getting routed off to some distant router or machine accidentally) etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2002 03:22 PM
05-20-2002 03:22 PM
Re: RCP Problem
Connections limited to so many per second/minute sounds like something that decent firewalls are supposed to manage......
hth
Mark