[HPADM] Error in Syslog

From: Srinath Rajagopalan (srinath@nortelnetworks.com)
Date: Tue Aug 13 2002 - 16:25:16 EDT


  I am sending this email after reading the following posting on your hp-ux
admin archive regarding a telnetd error in syslog. Currently the "npty" and
"nstrpty" values are set to 1200 on the server which has HP-UX 10.20. The
archive recommends these values to be set to 800 and I was wondering if
should I reduce the value to 800 to get rid of the error messages or woud it
be something else that I need to take care of. Appreciate your help on this.

BODY of the message from the Archive:

Hi all,

Thanks to Rita Workman,Mike.Keighley,Bob Vance for their replies. Below is
some info Rite has send me.Even Bob had indicated the same.


Your problem is related to telnet (ARPA). I found some info on this at the
HP site. The only thing is you didn't mention which O/S your on...so here's
some info I found for both HPUX 10.2 and 11:
ON 10.2
                    telnetd getpid peer died bad file number
                    telnetd getpid peer died error 0
      How do I resolve these errors?
Perform the following steps to resolve your errors on your 10.20 system:
          1. cd /stand/build
          2. Create a new system file from the running kernel:
                       /usr/lbin/sysadm/system_prep -s system
           3. Add the following entries to the 'system' file:
                       npty 800
                       nstrpty 800

               Continue to build the new kernel and reboot the system.

ON 11.0
 You need to make some kernel changes, rebuild the kernel, and reboot your
machine to fix the error.
         1. Change directories to /stand/build.
                    cd /stand/build
          2. Create a new system file from the running kernel.
                    /usr/lbin/sysadm/system_prep -s system
          3. Edit the kernel:
                    vi system

            so that these parameters have these values:
                    npty 400
                    nstrpty 400
                    nstrtels 400
           4. Build the new kernel.
                    /usr/sbin/mk_kernel -s system
           5. Move the old system and vmunix files so if anything goes
                  wrong, the system can be booted from the old kernel.
                    mv /stand/system /stand/system.prev
                    mv /stand/vmunix /stand/vmunix.prev
                    mv /stand/dlkm /stand/dlkm.vmunix.prev
            6. Move the new system file and new kernel into place, ready
                  to be used when rebooting the system:

                    mv /stand/build/system /stand/system
                    kmupdate /stand/build/vmunix_test
            7. Reboot the system off the new kernel.
                    shutdown -r
           8. You should also install the following telnet patches ( may
need to check and make sure these are the current #s:

Hope this helps- regards from WV,

-----Original Message-----
From: Srinivas Sreekumar
Sent: Friday, July 28, 2000 7:57 PM
To: hpux-admin@dutchworks.nl
Subject: [HPADM] Error message in syslog.log
Importance: High

Sorry for the earlier mail with dif subject.

Hi all,

I am getting an error in the syslog file :" telnetd[13998]: getpid : peer
died: Error 0 ".
At the same time the server momentarily stops responding. All the processes
will become very slow.

I searched the mail archive on the net. I could seem many people posting the
same message, but could'nt find any summary of the prob. I will surely

thanks in advance,

Srinath Rajagopalan
IS Design Infrastructure
Nortel Networks
> *445-2404 ESN
> *972-685-2404
> *srinath@nortelnetworks.com

             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)

This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:17 EDT