- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems with rexec
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
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
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
тАО03-22-2001 10:53 PM
тАО03-22-2001 10:53 PM
Problems with rexec
I?ve got a HP K-Class with HP-UX 11.0 OS. A rexec command from a client to the server does not work. I?ve already checked /etc/services, /etc/inetd.conf and /var/adm/inetd.sec, all entries are ok. Even an netstat -a | grep exec say nothing. Does anyone knows an answer??
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2001 10:59 PM
тАО03-22-2001 10:59 PM
Re: Problems with rexec
To aid us, can you elaborate on the command you executed and the error message you encountered?
After the following lines are uncommented in /etc/inetd.conf and restrictions set appropriately in /var/adm/inetd.sec, remember to run inetd -c to re-read /etc/inetd.conf:
login stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
exec stream tcp nowait root /usr/lbin/rexecd rexecd
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2001 11:07 PM
тАО03-22-2001 11:07 PM
Re: Problems with rexec
Does remsh work (w/o supply password) ? did you configure $HOME/.rhosts ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2001 12:09 AM
тАО03-23-2001 12:09 AM
Re: Problems with rexec
In order to use the rexec service, to the remote machine you have to setup the host equivalent entries via either the $HOME/.rhosts or /etc/host.equiv files. See "man rhosts" for further details. Rexec requests will be served by the rexecd program in the remote side, which will only be waken up while serving requests, therefore you probably won't be able to see its existence by doing "netstat -a|grep exec" at a given time.
Hope this help and explain the situation for you.
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2001 12:25 AM
тАО03-23-2001 12:25 AM
Re: Problems with rexec
Here are the errors:
rexec -d hostname "uname"
rexec: Host = hostname
rexec: Command to execute = uname
hostname.mydomain.de: Connection refused
rexec: Error in rexec system call,
rexec: (The following system error may itself be in error)
rexec: Connection refused
rexec -d 10.0.0.1 "uname"
rexec: Host = 10.0.0.1
rexec: Command to execute = uname
10.0.0.1: Connection refused
rexec: Error in rexec system call,
rexec: (The following system error may itself be in error)
rexec: Connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2001 12:39 AM
тАО03-23-2001 12:39 AM
Re: Problems with rexec
To identify if it is a server or client problem, try the following because rexecd binds to TCP port 512:
# telnet hostname.mydomain.de 512
# telnet 10.0.0.1 512
If the connections get established, that means that rexecd is running properly on the server and the fault lies with the client rexec.
If the connections do not get established, then it is likely that the server's rexecd is not running or configured properly.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2001 12:43 AM
тАО03-23-2001 12:43 AM
Re: Problems with rexec
I tested the connection with "nc hostname 512" and got no response. On other HP the rexec works with the same configuration.
regs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2001 12:57 AM
тАО03-23-2001 12:57 AM
Re: Problems with rexec
~Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2001 03:41 AM
тАО03-23-2001 03:41 AM
Re: Problems with rexec
If your "telnet hostname.domain 512" does not provide a "Connection established" response, it is likely that at your server end, either rexecd had not been spawned by inetd properly, there was a problem with your rexecd binary or the various configuration files (/etc/services, /etc/inetd.conf, /var/adm/inetd.sec) on your server were not setup properly, despite your initial indication that they were.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com