HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help an HP Newbie :^)
Operating System - HP-UX
1833863
Members
2114
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-20-2003 11:45 AM
03-20-2003 11:45 AM
Help an HP Newbie :^)
We've got an rx2600 on loan to gain some experience with HP/UX. I've gone through the automatic setup script for the factory installed software and the machine is running and can be connected to on the serial console. I have a few problems however...
1. I cannot telnet to the box. Connections are immediately closed. The screen output looks like this:
Trying...
Connected to 172.18.10.197.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
I can telnet successfully on port 25 to the SMTP server, so the daemon is started and listening. I can't find any of the security-related files I've seen mentioned in other posts so I'm not sure where to go from here. Does Telnet "require" reverse DNS, because that leads to issue number 2.
2. DNS seems not to be working well. Trying to telnet to either localhost or the hostname fails with an unknown host error. The IP addresses work, but with the error as described above. Using nslookup results in a successful resolution, but only after the "looking up FILES" line, which implies it's getting the info only from the host file. I can ping the DNS server from the HP machine, but I can't resolve to it. Ping fails if I try to ping the DNS box by name.
Any thoughts are more than welcome :^)
Dave
1. I cannot telnet to the box. Connections are immediately closed. The screen output looks like this:
Trying...
Connected to 172.18.10.197.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
I can telnet successfully on port 25 to the SMTP server, so the daemon is started and listening. I can't find any of the security-related files I've seen mentioned in other posts so I'm not sure where to go from here. Does Telnet "require" reverse DNS, because that leads to issue number 2.
2. DNS seems not to be working well. Trying to telnet to either localhost or the hostname fails with an unknown host error. The IP addresses work, but with the error as described above. Using nslookup results in a successful resolution, but only after the "looking up FILES" line, which implies it's getting the info only from the host file. I can ping the DNS server from the HP machine, but I can't resolve to it. Ping fails if I try to ping the DNS box by name.
Any thoughts are more than welcome :^)
Dave
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 11:59 AM
03-20-2003 11:59 AM
Re: Help an HP Newbie :^)
Checklist
/etc/inetd.conf
If the telnetd line is commented out, telnet will not be allowed. Uncomment, save, inetd -c will reload.
also look for /var/adm/inetd.sec and see if there are deny's for telnet. Comment them out, carefully and try again.
This is a good start.
SEP
Telnet is an inherently insecure protocol,sending its passwords across the network in clear text.
Long term, you are better off with free secure shell.
Here is a link, attached is a cookbook telling how to use it.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
SEP
/etc/inetd.conf
If the telnetd line is commented out, telnet will not be allowed. Uncomment, save, inetd -c will reload.
also look for /var/adm/inetd.sec and see if there are deny's for telnet. Comment them out, carefully and try again.
This is a good start.
SEP
Telnet is an inherently insecure protocol,sending its passwords across the network in clear text.
Long term, you are better off with free secure shell.
Here is a link, attached is a cookbook telling how to use it.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 11:59 AM
03-20-2003 11:59 AM
Re: Help an HP Newbie :^)
I don't know about the first question but maybe related to the DNS issue. HPUX uses /etc/resolv.conf, /etc/hosts and /etc/nsswitch.conf files for name resolution. In order for it all to work you have to edit or create /etc/resolv.conf and put in it your domain name and nameserver address(s) like this:
domain yourdomain.com
nameserver 123.123.123.1
nameserver 123.123.123.2
of course replacing the domain name and server addresses with the real ones.
Then look for /etc/nsswitch.conf if none exists look for /etc/nsswitch.hp_default etc. and cp /etc/nsswitch.hp_defaul to /etc/nsswitch.conf. That will get the system looking in DNS first, NIS second and files (/etc/hosts) lastly.
All of the above takes effect immediately so you don't need to shutdown anything or restart anything.
Good luck
domain yourdomain.com
nameserver 123.123.123.1
nameserver 123.123.123.2
of course replacing the domain name and server addresses with the real ones.
Then look for /etc/nsswitch.conf if none exists look for /etc/nsswitch.hp_default etc. and cp /etc/nsswitch.hp_defaul to /etc/nsswitch.conf. That will get the system looking in DNS first, NIS second and files (/etc/hosts) lastly.
All of the above takes effect immediately so you don't need to shutdown anything or restart anything.
Good luck
If it has wheels or a skirt, you can't afford it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 12:10 PM
03-20-2003 12:10 PM
Re: Help an HP Newbie :^)
Gather up your LAN information, default gateway, DNS, NIS, NTP, hostname and ip of all including the server and verify them in:
set_parms initial
This will list current information and prompt you for changes.
It???s all automatic so you don't have to go fishing around looking at files.
Now, test for connectivity to the default gateway and a PC or another server where you can start a telnet session. Now try telnet.
set_parms initial
This will list current information and prompt you for changes.
It???s all automatic so you don't have to go fishing around looking at files.
Now, test for connectivity to the default gateway and a PC or another server where you can start a telnet session. Now try telnet.
Support Fatherhood - Stop Family Law
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP