- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet login prompt delay after reboot
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
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
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
тАО04-20-2001 06:34 AM
тАО04-20-2001 06:34 AM
Re: telnet login prompt delay after reboot
1. telnet into the server (serverX)
2. on serverX look to see if telnetd is running
This of course won't find your problem, but it may help track it down. If it is running then the problem is most likely related to telnetd. If it's not running then start looking at the inetd process.
Or maybe it's a DNS problem! ...just kidding :)
Cheers,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2001 01:38 AM
тАО04-27-2001 01:38 AM
Re: telnet login prompt delay after reboot
I got a similar case some days ago.
The cause was a delay on bind of rpc.cmsd at boot(you can check on /var/adm/syslog/syslog.log). This process uses rpc calls to function.
Rpcbind must be started before inetd for the rpc sockets to be opened correctly. Rpcbind is started in rc2.d S400nfs.core. Maybe Inetd is trying to start Rpc listener and can`t find correct socket.
So:
Could you check if /sbin/rc2.d/S400nfs.core is present on your system?
Did you make any change on the NFS configuration in the last weeks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2001 08:53 PM
тАО05-01-2001 08:53 PM
Re: telnet login prompt delay after reboot
I had the same issue with a customer recently, on 10.20.
Does the file /etc/nsswitch.conf exist? If so, does it contain all the lookup_types (left hand side)?
My customer only had this one line in his:
hosts: dns [NOTFOUND=return] files
I had him add the following:
networks: files
protocols: files
rpc: files
netgroup: files
services: files
This solved the delay before the login prompt.
The OS default is NIS first for most of these keys.
When not running NIS, all the keys need to be modified from default, to prevent a timeout from a nonexistant NIS. A missing key indicates the default condition.
On10.20, the defaults are in /usr/newconfig/etc/nsswitch.conf.
On 11.00, the defaults are in
/etc/nsswitch.hp_defaults.
I hope this helps,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2001 06:56 AM
тАО05-02-2001 06:56 AM
Re: telnet login prompt delay after reboot
Peter, I don't have the /etc/nsswitch.conf file. I do have the nsswitch.compat, .files, .hp_defaults, .nis, and .nisplus files. If I don't have the nsswitch.conf file, do I need to modify anything (such as the nsswitch.hp_defaults file) to make sure that this is not causing the problem? I wasn't totally clear on that from your message. We are not running NIS here.
Thanks for the responses!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2001 07:21 PM
тАО05-02-2001 07:21 PM
Re: telnet login prompt delay after reboot
Sorry for the lack of clarity. It's the first time I've posted.
In your case, with no /etc/nsswitch.conf file, the system defaults are what is listed in /etc/nsswitch.hp_defaults (which tries to use NIS).
Since you don't have NIS running, copy /etc/nsswitch.files to /etc/nsswitch.conf. If you're using DNS, modify the "hosts:" line in /etc/nsswitch.conf to "hosts: dns [NOTFOUND=return] files". See http://docs.hp.com/hpux/onlinedocs/B1031-90045/00/00/36-con.html
Let me know,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2001 09:22 PM
тАО05-02-2001 09:22 PM
Re: telnet login prompt delay after reboot
The hosts line in /etc/nsswitch.conf should read: "hosts: dns files" or "hosts: files dns", depending on preference.
Leave out "[NOTFOUND=return]".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2001 10:29 AM
тАО05-03-2001 10:29 AM
Re: telnet login prompt delay after reboot
What a difficult problem! I?d suggest tracing your telnet command with tusc
(an unsupported tool only for hp-ux 11.00) to see in what system call this command is stopping. At least you can have a better understanding of where it is hanging.
If even your localhost telnet from system console is hanging and you can ping hosts in your network, I?d say it is not a network/routing or name service problem. It seems more likely some system resource problem, even hardware. I think tusc can give you very good clarifications(give it execution permission and remove trailling caracters like ..txt). Execute tusc telnet ...
It would be nice to check from where name resolution is coming when the problem happens(ie: nslookup -d2 localhost), if you have route to the loopback interface and what conectivity you have to and from the network(level 2-linkloop, level 3-ping, services - telnet/ftp/rsh/etc).
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2001 07:14 AM
тАО06-06-2001 07:14 AM
Re: telnet login prompt delay after reboot
I have the solution to this problem. ITRC ITALY had the answer - I needed to re-enable the NFS core. I finally had a chance to reboot the server, and had the same problem as before, so I tried re-enabling NFS core and rebooted again and the problem was solved. I still can not find any link between RPC/rpcbind and telnetd or inetd, but it appears there is one. Thanks for everyone's help!
Incidentally, does anyone happen to know how I can go back and mark that post as the magic answer? I already assigned points to it earlier...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2007 03:28 AM
тАО08-07-2007 03:28 AM
Re: telnet login prompt delay after reboot
"telnet" is spawned out of
/usr/sbin/inetd. The problem is that something is causing inetd to initialize very slowly. The frequent cause of this is
that /usr/sbin/rpcbind has been turned off, usually as the result of a security
audit because the auditors consider it "insecure". This is typically done by
disabling /sbin/init.d/S400nfs.core at system startup.
The reason that this causes inetd to initialize very slowly is /etc/inetd.conf
often has some rpc programs which are spawned out of inetd.
If you want to run without
/usr/sbin/rpcbind, simply comment out the rpc entries in /etc/inetd.conf, for example:
#rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
#rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd
#rpc stream tcp nowait nmbe /tmp/rpctest.ksh 436871681 1 inetd
But I would be very careful about what issues are caused by doing this, (as you have already run into one) and test thoroughly before commenting any them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 07:35 AM
тАО01-08-2008 07:35 AM
Re: telnet login prompt delay after reboot
check the file /etc/nsswitch.conf for resolution of DNS or files ( if you don't have NIS, remove it of file)
check loopback adress (nslookup 127.0.0.1 and nslookup localhost)
regards
- « Previous
- Next »