LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   System alert (https://www.linuxquestions.org/questions/linux-newbie-8/system-alert-814871/)

elainelaw 06-18-2010 03:19 AM

System alert
 
I use RHEL 4 system , I use a common login ID to admin. the system ,but I found the system always pop error messages to the ID , so that I receive some error on the screen , I think someone intentionally enable this function previous , can advise how to disable it ?thx

Agrouf 06-18-2010 03:26 AM

Hello,
English is not your native language, right? Or you wrote in a hurry maybe?
Sorry but your post is not readable to me. Please post what you are doing precisely, step by step and don't forget any step and then post the exact error message you receive, as written on the screen.

elainelaw 06-18-2010 03:53 AM

I am Chinese , English is not my native language

error messages like below
=========================

SMB connection re-established (-5)
SMB connection re-established (-5)

I think no any step that I can post as the messages will pop from time to time , after I login to the system , the messages will pop every a few minutes

Agrouf 06-18-2010 04:03 AM

You are getting those messages in console terminal, right?
So tell me, do you want to fix the problem that makes those messages occur or do you just want those messages not to pupop in the terminal?
For the later, you just have to edit /etc/syslog.conf and comment the lines ending with /dev/console (add a # in front of the line)
For the former, it is a little harder.

elainelaw 06-18-2010 04:53 AM

Quote:

Originally Posted by Agrouf (Post 4007294)
You are getting those messages in console terminal, right?
So tell me, do you want to fix the problem that makes those messages occur or do you just want those messages not to pupop in the terminal?
For the later, you just have to edit /etc/syslog.conf and comment the lines ending with /dev/console (add a # in front of the line)
For the former, it is a little harder.

Not only console , I use telnet to access the server , my telnet session also pop these messages ,

Yes , I just want not to pop to my telnet session .

I read the /etc/syslog.conf , but can't find this login id , but only this login id will pop such messages .

Thx.

Agrouf 06-18-2010 05:00 AM

Do you actually use syslog or any other logger?
What is your username?
If you do actually use syslog, please post your /etc/syslog.conf

elainelaw 06-21-2010 01:01 AM

Quote:

Originally Posted by Agrouf (Post 4007326)
Do you actually use syslog or any other logger?
What is your username?
If you do actually use syslog, please post your /etc/syslog.conf

my /etc/syslog.conf

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*/dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;news.none;authpriv.none;cron.none/var/log/messages

# The authpriv file has restricted access.
authpriv.* /var/log/secure

# Log all the mail messages in one place.
mail.* -/var/log/maillog

# Log cron stuff
cron.* /var/log/cron

# Everybody gets emergency messages
*.emerg *

# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler

# Save boot messages also to boot.log
local7.* /var/log/boot.log

#
# INN
#
news.=crit /var/log/news/news.crit
news.=err /var/log/news/news.err
news.notice /var/log/news/news.notice

my user name is edp_admin , this is a general user .

Agrouf 06-21-2010 04:27 AM

Can you try to kill syslogd just to confirm the problem comes from syslog?


All times are GMT -5. The time now is 06:43 PM.