Operating System - Linux
1825882 Members
2853 Online
109689 Solutions
New Discussion

Append error message to the log

 
peterchu
Super Advisor

Append error message to the log

In my RH system , there are error message append to the /var/log/messages , however , part of these message will pop to my login session ( I use telent to login to server ) , I also check the /var/mail/my_loginid is empty , could suggest how can I forbid the message pop to my login session or append these messages to /var/mail/my_loginid ? thx

2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Append error message to the log

These messages are not supposed to pop up into a telnet session at all.

Check the environment with env command

stty -a

See whats going on with that setup.

You may have a problem with pty psuedo terminal devices.

I would be interested to know if this happens if you log in with ssh (Secure Shell/openssh)

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ross Minkov
Esteemed Contributor

Re: Append error message to the log

What do these popup messages look like?