Networker

Re: [Networker] not a typewriter

2004-04-29 15:51:04
Subject: Re: [Networker] not a typewriter
From: Tim Mooney <mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 29 Apr 2004 14:40:55 -0500
In regard to: [Networker] not a typewriter, Carl Farnsworth said (at...:

>I'm working on a fresh NetWorker install, 7.1, server Win2K, and I've
>noticed the error message below on two HP-UX 11i clients.  It appears every
>day in the Savegroup Completion report.
>
> * <client>:/ ttytype: couldn't open /dev/tty for reading
> * <client>:/ stty: : Not a typewriter
> * <client>:/ stty: : Not a typewriter
>
>I know I've seen something about this message before, tried searching
>Archive but couldn't find anything.  I'm pretty sure it's a benign message,
>but can somebody confirm that for me?  Only match on Legato's e-
>knowledgebase indicates could be index corruption?

Log in as root on the client, and do

        egrep 'ttytype|stty' .[A-Za-z]*

One of the environment files likely has commands in it that depend on
having a pty allocated.  For non-login sessions, you can't depend on
having a pty.

Basically, you need to move those commands into a file that only gets
read when you're guaranteed that you have a pty.  For Bourne-like shells,
that's probably `.profile'.  For Csh-like shells, that's probably .login.

Tim
--
Tim Mooney                              mooney AT dogbert.cc.ndsu.NoDak DOT edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>