Re: how do I suppress system messages?

2004-10-14 Thread Eric Crist
On Oct 14, 2004, at 1:41 PM, Lynette Tillner wrote:
I did this, and even did a reboot of the server but the messages 
haven't
stopped.  Since this is a machine managed by my ISP (I don't have a 
full
dedicated server, just a Virtual Private Server with 2 gig of disk 
space)
could something be overriding my syslog.conf file?  I looked at 
rc.conf but
didn't see anything that I thought was appropriate to comment out.

Also, I can't switch to another tty because my only access is remote 
--- I
don't have console access.

Thanks!
Lynette
- Original Message -
From: "Eric Crist" <[EMAIL PROTECTED]>
To: "Kevin Glick" <[EMAIL PROTECTED]>
Cc: "'Lynette Tillner'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 2004 12:12 PM
Subject: Re: how do I suppress system messages?
On Oct 13, 2004, at 2:08 PM, Kevin Glick wrote:
Lynette,
System messages print out to the console on tty0 only, by default.  If
you
want to use the console, switch to tty1 or above.  Do this by
ALT+2(tty1),
ALT+3(tty2), etc.
When you're in Vi, and syslog prints across the screen, using CTRL+L
will
re-draw the screen, and remove the syslog messages.
If you want to get rid of the messages altogether, look into disabling
syslogd, via /etc/rc.conf.  (Man syslogd, or check
/etc/defaults/rc.conf for
syslogd.
Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]
I'm sure this is something that is being overridden by your ISP and the 
jail system they have set up.  I would suggest you talk to them and see 
if they have something they can do to disable it.

HTH
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Re: how do I suppress system messages?

2004-10-14 Thread epilogue
On Thu, 14 Oct 2004 15:21:05 -0400
Chuck Swiger <[EMAIL PROTECTED]> wrote:

> Lynette Tillner wrote:
> [ ... ]
> > Also, I can't switch to another tty because my only access is remote
> > --- I don't have console access.
> 
> You can get to another tty by logging into the machine again from
> another SSH session.

you may find /usr/ports/misc/screen and the builtin /usr/bin/window to
be helpful utilities..

> -- 
> -Chuck
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do I suppress system messages?

2004-10-14 Thread Chuck Swiger
Lynette Tillner wrote:
[ ... ]
Also, I can't switch to another tty because my only access is remote --- I
don't have console access.
You can get to another tty by logging into the machine again from another SSH 
session.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do I suppress system messages?

2004-10-14 Thread Lynette Tillner
I did this, and even did a reboot of the server but the messages haven't
stopped.  Since this is a machine managed by my ISP (I don't have a full
dedicated server, just a Virtual Private Server with 2 gig of disk space)
could something be overriding my syslog.conf file?  I looked at rc.conf but
didn't see anything that I thought was appropriate to comment out.

Also, I can't switch to another tty because my only access is remote --- I
don't have console access.

Thanks!
Lynette

- Original Message - 
From: "Eric Crist" <[EMAIL PROTECTED]>
To: "Kevin Glick" <[EMAIL PROTECTED]>
Cc: "'Lynette Tillner'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 2004 12:12 PM
Subject: Re: how do I suppress system messages?

On Oct 13, 2004, at 2:08 PM, Kevin Glick wrote:

> Lynette,
>
> System messages print out to the console on tty0 only, by default.  If
> you
> want to use the console, switch to tty1 or above.  Do this by
> ALT+2(tty1),
> ALT+3(tty2), etc.
> When you're in Vi, and syslog prints across the screen, using CTRL+L
> will
> re-draw the screen, and remove the syslog messages.
> If you want to get rid of the messages altogether, look into disabling
> syslogd, via /etc/rc.conf.  (Man syslogd, or check
> /etc/defaults/rc.conf for
> syslogd.
>
> Kevin Glick
> ITS Manager
> Sterling Business Forms
> [EMAIL PROTECTED]
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lynette Tillner
> Sent: Wednesday, October 13, 2004 11:21 AM
> To: [EMAIL PROTECTED]
> Subject: how do I suppress system messages?
>
> This is something that drives me crazy but I've not been able to find
> a way
> to stop it.
>
> When I log into my FreeBSD 4.6 Web Server as root, I get messages from
> sendmail that I can't suppress with dmesg.  They are a real pain
> because
> they even come across the screen when I'm using VI to edit files and
> then I
> can't figure out the line I was in the middle of editing, and end up
> doing a
> :q! and starting over, very frustrating because we get tons of mail
> and it
> seems like I can't do anything as root because of these messages.
>
> Is there a command that will suppress the messages?   I remember being
> able
> to do that when I was working on an HP-UX system but haven't figured
> it out
> under FreeBSD.
>
> Thanks for any help!
>
> Lynette


You can also disable this by editing the file /etc/syslog.conf and
commenting out the following line:

*.err;kern.debug;auth.notice;mail.crit  /dev/console

Simply put a # in front, save the file, and restart syslogd by doing
the following as root:
# killall -1 syslogd

HTH
-
Eric F Crist
Secure Computing Networks

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do I suppress system messages?

2004-10-13 Thread Kevin D. Kinsey, DaleCo, S.P.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lynette Tillner
Sent: Wednesday, October 13, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: how do I suppress system messages?
This is something that drives me crazy but I've not been able to find a way
to stop it. 

When I log into my FreeBSD 4.6 Web Server as root, I get messages from
sendmail that I can't suppress with dmesg.  They are a real pain because
they even come across the screen when I'm using VI to edit files and then I
can't figure out the line I was in the middle of editing, and end up doing a
:q! and starting over, very frustrating because we get tons of mail and it
seems like I can't do anything as root because of these messages. 

Is there a command that will suppress the messages?   I remember being able
to do that when I was working on an HP-UX system but haven't figured it out
under FreeBSD.

Thanks for any help!

Lynette

Kevin Glick wrote:
Lynette,
System messages print out to the console on tty0 only, by default.  If you
want to use the console, switch to tty1 or above.  Do this by ALT+2(tty1),
ALT+3(tty2), etc.
When you're in Vi, and syslog prints across the screen, using CTRL+L will
re-draw the screen, and remove the syslog messages.
If you want to get rid of the messages altogether, look into disabling
syslogd, via /etc/rc.conf.  (Man syslogd, or check /etc/defaults/rc.conf for
syslogd.
Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]
 

Some good advice here, for sure, but does she really want to disable
syslogd, unless the only service she really cares about on this
box is http (and unless she'd disabled a lot of stuff, it probably
isn't...)??  IIRC, in /etc/syslog.conf, instruction is given on how
to redirect ttyv0 output to /var/log/console.log, which seems a
better option.  Disabling syslogd would ((probably)) stop logging
of some useful information (like auth.info) as well as the sendmail
output that's "driving her crazy". Disclaimer: I'm not an expert,
and don't [exactly] play one on questions@ ...
My $0.02,
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do I suppress system messages?

2004-10-13 Thread Eric Crist
On Oct 13, 2004, at 2:08 PM, Kevin Glick wrote:
Lynette,
System messages print out to the console on tty0 only, by default.  If 
you
want to use the console, switch to tty1 or above.  Do this by 
ALT+2(tty1),
ALT+3(tty2), etc.
When you're in Vi, and syslog prints across the screen, using CTRL+L 
will
re-draw the screen, and remove the syslog messages.
If you want to get rid of the messages altogether, look into disabling
syslogd, via /etc/rc.conf.  (Man syslogd, or check 
/etc/defaults/rc.conf for
syslogd.

Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lynette Tillner
Sent: Wednesday, October 13, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: how do I suppress system messages?
This is something that drives me crazy but I've not been able to find 
a way
to stop it.

When I log into my FreeBSD 4.6 Web Server as root, I get messages from
sendmail that I can't suppress with dmesg.  They are a real pain 
because
they even come across the screen when I'm using VI to edit files and 
then I
can't figure out the line I was in the middle of editing, and end up 
doing a
:q! and starting over, very frustrating because we get tons of mail 
and it
seems like I can't do anything as root because of these messages.

Is there a command that will suppress the messages?   I remember being 
able
to do that when I was working on an HP-UX system but haven't figured 
it out
under FreeBSD.

Thanks for any help!
Lynette

You can also disable this by editing the file /etc/syslog.conf and 
commenting out the following line:

*.err;kern.debug;auth.notice;mail.crit  /dev/console
Simply put a # in front, save the file, and restart syslogd by doing 
the following as root:
# killall -1 syslogd

HTH
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


RE: how do I suppress system messages?

2004-10-13 Thread Kevin Glick
Lynette,

System messages print out to the console on tty0 only, by default.  If you
want to use the console, switch to tty1 or above.  Do this by ALT+2(tty1),
ALT+3(tty2), etc.
When you're in Vi, and syslog prints across the screen, using CTRL+L will
re-draw the screen, and remove the syslog messages.
If you want to get rid of the messages altogether, look into disabling
syslogd, via /etc/rc.conf.  (Man syslogd, or check /etc/defaults/rc.conf for
syslogd.

Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lynette Tillner
Sent: Wednesday, October 13, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: how do I suppress system messages?

This is something that drives me crazy but I've not been able to find a way
to stop it. 

When I log into my FreeBSD 4.6 Web Server as root, I get messages from
sendmail that I can't suppress with dmesg.  They are a real pain because
they even come across the screen when I'm using VI to edit files and then I
can't figure out the line I was in the middle of editing, and end up doing a
:q! and starting over, very frustrating because we get tons of mail and it
seems like I can't do anything as root because of these messages. 

Is there a command that will suppress the messages?   I remember being able
to do that when I was working on an HP-UX system but haven't figured it out
under FreeBSD.

Thanks for any help!

Lynette
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"