- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help! can't telnet or ftp
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
03-08-2005 06:05 PM
03-08-2005 06:05 PM
help! can't telnet or ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:08 PM
03-08-2005 06:08 PM
Re: help! can't telnet or ftp
what the output of:
netstat -in
lanscan
ifconfig lan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:09 PM
03-08-2005 06:09 PM
Re: help! can't telnet or ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:10 PM
03-08-2005 06:10 PM
Re: help! can't telnet or ftp
do
#tail -f /var/adm/syslog/syslog.log
on console. After that try an ftp and telnet attempt from other machine. See the mesg coming on syslog. Post the same.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:14 PM
03-08-2005 06:14 PM
Re: help! can't telnet or ftp
I can't see nothing on syslog when telnetting. but if I restart inetd, I can see "address already in use" for ftp and telnet services, so I must kill -9 inetd and restart (with same results). Do NFILE or NINODE have something to do with behaviour of telnetd or ftpd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:20 PM
03-08-2005 06:20 PM
Re: help! can't telnet or ftp
There is a connection between different kernel parameters and you can just assign some number:
ninode=nproc+48+maxusers+(2*npty)
nproc=20+(8 * maxusers)
I suggest you to take a realy close look at:
http://docs.hp.com/en/939/KCParms/KCparam.Nproc.html
http://docs.hp.com/en/939/KCParms/KCparam.Ninode.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:27 PM
03-08-2005 06:27 PM
Re: help! can't telnet or ftp
Enable connection logging for ftp and telnet in /etc/inetd.conf using -l option.
do inetd -c
then try the same as last mentioned.
Kernel Parameter that you changed is nothing to do with this.
They can be explained as follows.
ninode
=============
This sets the inode cache size for HFS filesystems. The VxFS cache is configurable
separately (see vx_ninode below). Note, though, that the kernel configurable ncsize
that controls the Dynamic Name Lookup Cache (DNLC) and an NFS clientâ s rnode cache is based (by default) on ninode. Set ninode to 4000 if only /stand is on HFS; set it to
15000 or higher to be safe if you have many filesystems on HFS or to ensure ncsize is
large. Even higher values are useful for dedicated file servers.
nfile
============
The maximum number of concurrent file opens (that is, not the number of open files but
the number of concurrent open()s) on the system. The default formula usually works
this out to around this value, but 3000 is a pretty good starting point. If you have a lot offilesystem activity, you can bump this up higher without issues (a large Informix shop had this set to 80000!). Bump nfile up if you see high File Table utilization (>80 percent) in Glance (System Tables Report) or get "File table overflow" program errors. Use a similar approach for nflocks (max file locks). If you are configuring a big filesystem server
then you're more likely to want to bump up these limits.
Regards,
S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:37 PM
03-08-2005 06:37 PM
Re: help! can't telnet or ftp
# telnet 127.0.0.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:02 PM
03-08-2005 07:02 PM
Re: help! can't telnet or ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:08 PM
03-08-2005 07:08 PM
Re: help! can't telnet or ftp
just curious.
do u happen to have this file, /var/adm/inetd.sec? if so, do u mind checking if there are any deny to certain host or addresses?
also, if the gut feel is a kernel problem, u may like to revert back to original but as u may know, a reboot will be require?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:12 PM
03-08-2005 07:12 PM
Re: help! can't telnet or ftp
Is there any /etc/resolv.conf and /etc/nsswitch.conf
pls post the same in case any.
Your name resolution can cause problems.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:15 PM
03-08-2005 07:15 PM
Re: help! can't telnet or ftp
One more thing..
What was the previous value for npty? Can u change it to 200 and see.Incase the above post doest helpful.value 800 is not really required. 200 would serve ur purpose.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:31 PM
03-08-2005 07:31 PM
Re: help! can't telnet or ftp
inetd.sec: it's just the default server.
dns: configured not to use dns, just hosts.
npty was 60 before. First changed to 800, then to 200, then to 120, then 60 again (with reboot between changes).
New information: after about 20-25 minutes with the server started, telnet and ftp start to work. Reviewing syslog.log, it seems that inetd starts very very slowly. Anyway, ftpd and telnetd start at the beginning of inetd startup, but I'm not able to telnet or ftp after 20-25 min., apparently. Moreover, before they work I don't get an error but the telnet or ftp client remain hung (telnet client says:
telnet
Trying xxx.xxx.xxx.xxx...
Connected to
Escape character is '^]'.
, and netstat -a returns telnet and ftp connections.
syslog.log does not yield errors related to inetd, just info messages. Apparently inetd semi-hangs (after starting, an inetd -k does not kill inetd, and inetd -c yields an "addres already in use" for ftp and telnet services.)
So, the question now is:
why takes inetd so long to start, which are the problems it has until it starts, where can I see errors apart from syslog.log?
Any hints?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:31 PM
03-08-2005 07:31 PM
Re: help! can't telnet or ftp
R u shure that your network setting match switch settings?
Maybe after the reboot your setting were restored to the wrog values?
check with "lanadmin -x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:33 PM
03-08-2005 07:33 PM
Re: help! can't telnet or ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:37 PM
03-08-2005 07:37 PM
Re: help! can't telnet or ftp
Just to be 100% sure that it is or not because of kernel parameters....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 08:31 PM
03-08-2005 08:31 PM
Re: help! can't telnet or ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 08:38 PM
03-08-2005 08:38 PM
Re: help! can't telnet or ftp
If patches are not the issue, then if I were you, I would check with network team that everything is OK on heir side, that they don't see any weird entries in their logs and once I'm sure that switches/cables/whatever is OK, call HP support. Maybe there are some diagnostics they can run to check that everything is OK on the system including drivers and hardware.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 08:42 PM
03-08-2005 08:42 PM
Re: help! can't telnet or ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 08:44 PM
03-08-2005 08:44 PM
Re: help! can't telnet or ftp
you can see all the packages there:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/tcpdump-3.8.3/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 02:12 AM
03-09-2005 02:12 AM
Re: help! can't telnet or ftp
Now NINODE does not affect telnet or ftp but I would start by testing only with IP addresses (to bypass DNS). You can use nettl to produce traces on HP-UX or get a copy of Ethereal from the Internet Express CD or download from:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 01:35 AM
03-10-2005 01:35 AM
Re: help! can't telnet or ftp
Using an estimate of 2k per ninode entry it would give you a memory load of 584MB if you have 300000 entries.
I would recommend you take it down a notch or two for a start as this can put some "memory pressure" on your machine.
If your machine starts paging due to this large memory load you will notce processes taking a long time to load.
I would also just for a sanity sake test both reverse and forward name lookup on th machin to see if everything is hunky dory.
HTH
Gerhard