<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: New machine setup issues in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933998#M112178</link>
    <description>Thansk for the help Harry.  My /etc/services is just like yours for telnet.  My inetd.conf line for telnet ends after the second instance of telnetd.  It doesn't have the same parameters at the end as yours does.&lt;BR /&gt;&lt;BR /&gt;I have no file in /var/adm with that name.</description>
    <pubDate>Mon, 24 Mar 2003 15:11:45 GMT</pubDate>
    <dc:creator>Dave Goodwin_1</dc:creator>
    <dc:date>2003-03-24T15:11:45Z</dc:date>
    <item>
      <title>New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933986#M112166</link>
      <description>We've got a loaner Itanium machine with HP/UX on it that I've just set up.  I seem to be having two problems that may end up being related.  I wonder if anyone might have any ideas on these...&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 24 Mar 2003 14:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933986#M112166</guid>
      <dc:creator>Dave Goodwin_1</dc:creator>
      <dc:date>2003-03-24T14:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933987#M112167</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;In regards to your first question, do you have a /etc/nsswitch.conf file?  If so, what does it contain?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 24 Mar 2003 14:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933987#M112167</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-24T14:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933988#M112168</link>
      <description>1. What does /etc/nsswitch.conf file have? &lt;BR /&gt;&lt;BR /&gt;I have this:&lt;BR /&gt;hosts:     dns[NOTFOUND=continue UNAVAIL=continue FOUND=return] files[NOTFOUND=return UNAVAIL=return FOUND=return]&lt;BR /&gt;&lt;BR /&gt;2. it could be a result of not having dns working properly. &lt;BR /&gt;&lt;BR /&gt;?? Are you running "named" ?? if so, what does the /etc/named.conf file look like?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 24 Mar 2003 14:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933988#M112168</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-03-24T14:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933989#M112169</link>
      <description>Further information:&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Mon, 24 Mar 2003 14:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933989#M112169</guid>
      <dc:creator>Dave Goodwin_1</dc:creator>
      <dc:date>2003-03-24T14:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933990#M112170</link>
      <description>In answer to another question, I do not have named running and there is no named.conf in /etc.  Nor is there an nsswitch.conf there.  Should there be?&lt;BR /&gt;&lt;BR /&gt;Thanks for all the help...</description>
      <pubDate>Mon, 24 Mar 2003 14:22:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933990#M112170</guid>
      <dc:creator>Dave Goodwin_1</dc:creator>
      <dc:date>2003-03-24T14:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933991#M112171</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 24 Mar 2003 14:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933991#M112171</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-24T14:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933992#M112172</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;Oops, you don't want to use the "files" sample.  Set up one that looks like Harry's.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 24 Mar 2003 14:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933992#M112172</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-24T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933993#M112173</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;you will need a /etc/nsswitch.conf file similar to Harrys example. This defines the order for gethostbyname, DNS then files. &lt;BR /&gt;&lt;BR /&gt;Use nslookup to check its working.</description>
      <pubDate>Mon, 24 Mar 2003 14:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933993#M112173</guid>
      <dc:creator>Michael Duthie</dc:creator>
      <dc:date>2003-03-24T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933994#M112174</link>
      <description>meant to add files=/etc/hosts&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Mon, 24 Mar 2003 14:30:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933994#M112174</guid>
      <dc:creator>Michael Duthie</dc:creator>
      <dc:date>2003-03-24T14:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933995#M112175</link>
      <description>OK, I set up a nsswitch.conf file with a host line that looks like Harry's.  I restarted to be sure things were properly loaded.  No change in behavior.  The nslookup tool still shows the name of the DNS server correctly when started, but any search for a name record files after the FILES check.  It had been doing DNS, NIS and FILES, now it does just DNS and FILES so I'm pretty sure it's read the new nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt;Any other ideas?? &lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 24 Mar 2003 14:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933995#M112175</guid>
      <dc:creator>Dave Goodwin_1</dc:creator>
      <dc:date>2003-03-24T14:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933996#M112176</link>
      <description>Slight clarification - with the addition of the nsswitch.conf file, the machine now recognizes localhost and its own name and can ping itself using both.  Telnet to itself still gives an immediate "Connection closed" message as if telnet were not allowed.  Still no response at all when trying any of our other hosts though....&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 24 Mar 2003 14:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933996#M112176</guid>
      <dc:creator>Dave Goodwin_1</dc:creator>
      <dc:date>2003-03-24T14:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933997#M112177</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;What does this return:&lt;BR /&gt;&lt;BR /&gt;grep -i telnet /etc/services /etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;mine shows this (for 11i):&lt;BR /&gt;&lt;BR /&gt;/etc/services:telnet        23/tcp                 # Virtual Terminal Protocol&lt;BR /&gt;/etc/inetd.conf:telnet       stream tcp nowait root /usr/lbin/telnetd  telnetd -TCP_DELAY -z10 -b /etc/issue&lt;BR /&gt;&lt;BR /&gt;Does /var/adm/inetd.sec exist? if so, what does it contain? &lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 24 Mar 2003 15:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933997#M112177</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-03-24T15:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933998#M112178</link>
      <description>Thansk for the help Harry.  My /etc/services is just like yours for telnet.  My inetd.conf line for telnet ends after the second instance of telnetd.  It doesn't have the same parameters at the end as yours does.&lt;BR /&gt;&lt;BR /&gt;I have no file in /var/adm with that name.</description>
      <pubDate>Mon, 24 Mar 2003 15:11:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933998#M112178</guid>
      <dc:creator>Dave Goodwin_1</dc:creator>
      <dc:date>2003-03-24T15:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933999#M112179</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;dtspc   allow   127.0.0.1       loopback hostame&lt;BR /&gt;&lt;BR /&gt;Replace hostname with your hostname&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Mar 2003 15:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2933999#M112179</guid>
      <dc:creator>Michael Duthie</dc:creator>
      <dc:date>2003-03-24T15:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934000#M112180</link>
      <description>&lt;BR /&gt;What does your /etc/hosts file contain? it needs at least something like this:&lt;BR /&gt;&lt;BR /&gt;127.0.0.1        localhost.YOURDOMAIN.com localhost local.YOURDOMAIN.com local loghost.YOURDOMAIN.com loghost&lt;BR /&gt;YOURIP YOURHOSTNAME YOURHOSTNAME.YOURDOMAIN.com&lt;BR /&gt;&lt;BR /&gt;And what does your /etc/rc.config.d/netconf look like?&lt;BR /&gt;&lt;BR /&gt;cat /etc/rc.config.d/netconf | sed "s/\s+/ /g" | grep -v -e "^#" -e "^$"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mine looks like this:&lt;BR /&gt;&lt;BR /&gt;HOSTNAME="YOURHOSTNAME"&lt;BR /&gt;OPERATING_SYSTEM=HP-UX&lt;BR /&gt;LOOPBACK_ADDRESS=127.0.0.1&lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=HOSTIPADDR&lt;BR /&gt;SUBNET_MASK[0]=HOSTNETMASK&lt;BR /&gt;BROADCAST_ADDRESS[0]=""&lt;BR /&gt;INTERFACE_STATE[0]=""&lt;BR /&gt;DHCP_ENABLE[0]=0&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]=DEFAULTROUTER&lt;BR /&gt;ROUTE_COUNT[0]=1&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;GATED=0&lt;BR /&gt;GATED_ARGS=""&lt;BR /&gt;RDPD=0&lt;BR /&gt;RARP=0&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 24 Mar 2003 15:48:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934000#M112180</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-03-24T15:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934001#M112181</link>
      <description>The output of the command to cat the netconf file is the same as yours, Harry.  My host file looks rather different.  Its entries are as follows:&lt;BR /&gt;&lt;BR /&gt;127.0.0.1  localhost  loopback&lt;BR /&gt;x.x.x.x    FQDN       hostname&lt;BR /&gt;x.x.x.x    DNS FQDN   dns host&lt;BR /&gt;&lt;BR /&gt;I think that looks pretty typical to other hosts files I've seen before.&lt;BR /&gt;&lt;BR /&gt;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 :^)&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 24 Mar 2003 20:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934001#M112181</guid>
      <dc:creator>Dave Goodwin_1</dc:creator>
      <dc:date>2003-03-24T20:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934002#M112182</link>
      <description>Hi Dave,&lt;BR /&gt;&lt;BR /&gt;Couple of more DNS issues to check:&lt;BR /&gt;&lt;BR /&gt;1) Verify BOTH forward (hostname) &amp;amp; reverse (IP) resolution on both telnet client and server.&lt;BR /&gt;&lt;BR /&gt;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 &amp;amp; can cause all sorts of weirdness.&lt;BR /&gt;&lt;BR /&gt;Also do you have tcp-wrappers installed? Can it have a deny statement shooting you down?&lt;BR /&gt;&lt;BR /&gt;I'd recommend turning up inetd logging (inetd -l) to get some better clues.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 24 Mar 2003 20:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934002#M112182</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-03-24T20:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934003#M112183</link>
      <description>Often there will be some hints in /var/adm/syslog/syslog.log.  Have you checked there immediately after a failed&lt;BR /&gt;telnet?&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2003 21:48:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934003#M112183</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2003-03-25T21:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934004#M112184</link>
      <description>Good call on checking syslog.  It cannot allocate a pty.  I assume that means I have to create those device files.  I'll look into that and see what I can find on how to do it with HP/UX.  As you might guess, I know just enough UNIX to be dangerous :^)&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 27 Mar 2003 13:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934004#M112184</guid>
      <dc:creator>Dave Goodwin_1</dc:creator>
      <dc:date>2003-03-27T13:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: New machine setup issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934005#M112185</link>
      <description>1. execute the following line for ptym and ptys pseudo drivers&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;insf -d pty -n 400 (Or what ever parameter is set in the kernel for npty &amp;amp; nstrpty)&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;if this did not fix the problem, follow the steps below.&lt;BR /&gt;2. Execute the following commands.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;insf -evd tlclts&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;insf -evd tlcotsod&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;insf -evd tlcots&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;insf -d tels&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;insf -d telm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mike&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Mar 2003 15:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-machine-setup-issues/m-p/2934005#M112185</guid>
      <dc:creator>Michael Duthie</dc:creator>
      <dc:date>2003-03-27T15:03:28Z</dc:date>
    </item>
  </channel>
</rss>

