- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New machine setup issues
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-24-2003 06:08 AM
03-24-2003 06:08 AM
1. DNS resolution doesn't seem to be working. I have a resolv.conf in /etc that contains a domain line with my domain name, minus the hostname part. I then have 3 nameserver lines pointing to the IPs of our DNS boxes. I can ping those IP addresses fine. Trying nslookup gives no result for any of our hostnames, failing after DNS, NIS and FILES. When nslookup is started, it correctly reports the name and IP of the first nameserver in the resolv.conf file. Is there something else I need to do to get DNS resolution going?
2. I cannot telnet into the system on port 23. If I telnet to port 25, I can see the SMTP session fine, and communicate with it, so I'm sure network connectivity is OK. I can ping to and from the HP machine fine also. When I try telneting into the HP box, I get an immediate "Connection Lost" message and ma returned to the prompt. I get no chance to login so I don't think it's a root permissions issue. The only thing I can come up with is that perhaps reverse DNS is needed for telnet access? Any thoughts on solving this would also be appreciated.
Thanks!
Dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:14 AM
03-24-2003 06:14 AM
Re: New machine setup issues
I have this:
hosts: dns[NOTFOUND=continue UNAVAIL=continue FOUND=return] files[NOTFOUND=return UNAVAIL=return FOUND=return]
2. it could be a result of not having dns working properly.
?? Are you running "named" ?? if so, what does the /etc/named.conf file look like?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:17 AM
03-24-2003 06:17 AM
Re: New machine setup issues
I have no nsswitch file in /etc. There are a few nsswitch files in there with extensions, but I assume those are samples. There is no file named as "nsswitch". I have files named nsswitch.compat, nsswitch.files, nsswitch.nis, nsswitch.nisplus and nsswitch.hp_defaults.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:22 AM
03-24-2003 06:22 AM
Re: New machine setup issues
Thanks for all the help...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:23 AM
03-24-2003 06:23 AM
Re: New machine setup issues
You need to have a nsswitch file. You can probably use the nsswitch.file sample - just cp /etc/nsswitch.file /etc/nsswitch.conf and see what that does.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:25 AM
03-24-2003 06:25 AM
Re: New machine setup issues
Oops, you don't want to use the "files" sample. Set up one that looks like Harry's.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:29 AM
03-24-2003 06:29 AM
Re: New machine setup issues
you will need a /etc/nsswitch.conf file similar to Harrys example. This defines the order for gethostbyname, DNS then files.
Use nslookup to check its working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:30 AM
03-24-2003 06:30 AM
Re: New machine setup issues
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:43 AM
03-24-2003 06:43 AM
Re: New machine setup issues
Any other ideas??
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 06:49 AM
03-24-2003 06:49 AM
Re: New machine setup issues
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 07:01 AM
03-24-2003 07:01 AM
Re: New machine setup issues
What does this return:
grep -i telnet /etc/services /etc/inetd.conf
mine shows this (for 11i):
/etc/services:telnet 23/tcp # Virtual Terminal Protocol
/etc/inetd.conf:telnet stream tcp nowait root /usr/lbin/telnetd telnetd -TCP_DELAY -z10 -b /etc/issue
Does /var/adm/inetd.sec exist? if so, what does it contain?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 07:11 AM
03-24-2003 07:11 AM
Re: New machine setup issues
I have no file in /var/adm with that name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 07:32 AM
03-24-2003 07:32 AM
Re: New machine setup issues
I have never seen a system without a /var/adm/inetd.sec You can get the file from /usr/newconfig/var/adm and add the following at the end.
dtspc allow 127.0.0.1 loopback hostame
Replace hostname with your hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 07:48 AM
03-24-2003 07:48 AM
Re: New machine setup issues
What does your /etc/hosts file contain? it needs at least something like this:
127.0.0.1 localhost.YOURDOMAIN.com localhost local.YOURDOMAIN.com local loghost.YOURDOMAIN.com loghost
YOURIP YOURHOSTNAME YOURHOSTNAME.YOURDOMAIN.com
And what does your /etc/rc.config.d/netconf look like?
cat /etc/rc.config.d/netconf | sed "s/\s+/ /g" | grep -v -e "^#" -e "^$"
mine looks like this:
HOSTNAME="YOURHOSTNAME"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=HOSTIPADDR
SUBNET_MASK[0]=HOSTNETMASK
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=DEFAULTROUTER
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
RARP=0
Where HOSTNAME is hostname, HOSTIPADDR is your hosts IP, HOSTNETMASK is the net mask like 255.255.252.0 or such, and DEFAULTROUTER is your gateway router.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 12:16 PM
03-24-2003 12:16 PM
Re: New machine setup issues
127.0.0.1 localhost loopback
x.x.x.x FQDN hostname
x.x.x.x DNS FQDN dns host
I think that looks pretty typical to other hosts files I've seen before.
I've gotten the DNS resolution working, thanks to everyone's help, but telnet still fails, returning immediately with a "Connection Closed" message when used either remotely, or to localhost. Seems likely to be a permissions issue of some kind. Suggestions are still welcome :^)
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 12:50 PM
03-24-2003 12:50 PM
Re: New machine setup issues
Couple of more DNS issues to check:
1) Verify BOTH forward (hostname) & reverse (IP) resolution on both telnet client and server.
2) Verify that the DNS server does NOT have an entry for localhost other than 127.0.0.1. Believe it or not, this does happen & can cause all sorts of weirdness.
Also do you have tcp-wrappers installed? Can it have a deny statement shooting you down?
I'd recommend turning up inetd logging (inetd -l) to get some better clues.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 01:48 PM
03-25-2003 01:48 PM
Re: New machine setup issues
telnet?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 05:57 AM
03-27-2003 05:57 AM
Re: New machine setup issues
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 07:03 AM
03-27-2003 07:03 AM
Re: New machine setup issues
insf -d pty -n 400 (Or what ever parameter is set in the kernel for npty & nstrpty)
if this did not fix the problem, follow the steps below.
2. Execute the following commands.
insf -evd tlclts
insf -evd tlcotsod
insf -evd tlcots
insf -d tels
insf -d telm
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 10:33 AM
03-27-2003 10:33 AM
Re: New machine setup issues
Dave