- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remsh anf ftp not functioning
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
02-05-2002 10:00 AM
02-05-2002 10:00 AM
I have two identical workstations running HPUX 10.20. One is able to accept telnet, rlogin, ftp and remsh commands in as well as going out. The other one is giving the message "connection refused" when attempting to telnet or ftp to the box, and simply faisl when someone else tried to remsh to the box, however the box can telnet and ftp out.
I have compared the two boxes and everything looks identical. The .rhosts is the same for root on both boxes, there is no hosts.equiv for either, the inetd.sec looks the same between the two, the services file and the inetd.conf files are the same.
Where else should I look on the box failing to accept ftp and telnet sessions?
Thanks!
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:12 AM
02-05-2002 10:12 AM
Re: remsh anf ftp not functioning
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:12 AM
02-05-2002 10:12 AM
Re: remsh anf ftp not functioning
try
ps -ef |grep inetd
see if inetd is running.
vi /etc/inetd.conf
check to make sure the services you want are not commented out. If they are .. uncomment them then run
inetd -c
inetd -c rereads the inetd.conf file.
Let us know what you get.
also just wondering you said you cant ftp or remsh to it but can you ftp or remsh from it?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:21 AM
02-05-2002 10:21 AM
Re: remsh anf ftp not functioning
with telnet and ftp in
/etc/services
on host box commented out.
# telnet lupus
Trying...
telnet: Unable to connect to remote host: Connection refused
# ftp lupus
ftp: connect: Connection refused
ftp>
after uncommeted in
/etc/services
they both worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:23 AM
02-05-2002 10:23 AM
Re: remsh anf ftp not functioning
now with just
telet and ftp commented out in
/etc/inetd.conf
# telnet lupus
Trying...
telnet: Unable to connect to remote host: Connection refused
# ftp lupus
ftp: connect: Connection refused
ftp>
same thing
after uncommeted
then running
inetd -c
it worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:24 AM
02-05-2002 10:24 AM
Re: remsh anf ftp not functioning
You could also check the file
/etc/inetd.conf if there are
lines for telnet and rlogin.
/etc/services should also contain these lines.
The file /var/adm/inetd.sec
checks if your system is denied or allowed access.
You should also check how many sessions are already running on that system.
It is most likely to many sessions are already running and all pty's are used.
Increasing the pty's and npty's could resolve your problem.
First check how many pty's you have available with :
ls /dev/pty |wc -w
ls /dev/ptym | wc -w
FYI : 60 is default
In this case the number of pty's have never been increased
First you need to increase npty in the kernel to 512.
(or any number you desire)
second you need to create additional pty's in /dev
insf -d ptys -n 512 (=npty)
insf -d ptym -n 512 (=npty)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:54 AM
02-05-2002 10:54 AM
Re: remsh anf ftp not functioning
Although the inetd was running, it had been started with the old files and thus, was reacting to the security and process settings from the old files.
Stopped and restarted inetd, and everything is fine now.
Thanks again for all the help!
Mike