[HPADM] SUMMARY: finger: error STATing /dev/tty*

From: Edi CAHYADI (edi.cahyadi@st.com)
Date: Wed Nov 15 2006 - 02:54:45 EST


Many thanks Ermin Borovac for the reply. He hit the nail on the head. I need PHSS_34102 patch to fix this known bug. Indeed, after I installed this patch, the problem is gone.
Note: To install this patch doesn't require system reboot.

Regards,
Edi
 

-----Original Message-----
From: Ermin Borovac [mailto:e.borovac@bom.gov.au]
Sent: Wednesday, November 15, 2006 7:57 AM
To: Edi CAHYADI
Subject: Re: [HPADM] finger: error STATing /dev/tty*

Hi Edi,

Are you running finger from xterm? If so, it's a known problem, fixed by the latest XClients patch (e.g. PHSS_34102 for 11.11).

 From the patch notes:

2. ( SR: 8606403411 CR: JAGaf63344 )
           When the number of device files opened is more than the
           npty value, the corresponding entries made by the xfree86
           xterm into the utmp/wtmp files for these device files
           (having format as "/dev/pty/ttyxx") are incorrect.
           Hence the finger command gives an error.

Regards,

Ermin

Edi CAHYADI wrote:
> Hi all,
>
> Has any body come across the following problem?
> When I run finger, it returns with error similar to the following:
>
> finger: error STATing /dev/ttyy0
>
> # who | grep ttyy0
> quaecbc ttyy0 Nov 14 10:23
>
> Of course /dev/ttyy0 doesn't exist. I found it under /dev/pty:
> # ll /dev/pty/ttyy0
> crw--w---- 1 quaecbc tty 17 0x000090 Nov 14 10:27 /dev/pty/ttyy0
>
> Regards,
> Edi
>
>
> --
> ---> 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)

--
             ---> 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:54 EDT