Professional Web Applications Themes

syslog errors - Sun Solaris

I guess I must not understand the 'syslog' process completely. I would appreciate input on this matter greatly. I have 3 Sun E-450s running Solaris 8 and all of the 'syslog.conf' files are set up the same. I would like my errors to be read off to '/var/adm/messages' only. On all three of these servers, it works fine except on one; all error messages are also sent to the console as well. Since I work on the console, this is very anoying. My 'syslog.conf' file looks like this: --------------------------- *.err;kern.notice;auth.notice /dev/sysmsg *.err;kern.debug;daemon,auth.notice;auth.info;mail .crit;user.none /var/adm/messages *.alert;kern.err;daemon.err;user.none operator *.alert;user.none root *.emerg;user.none * ...

  1. #1

    Default syslog errors

    I guess I must not understand the 'syslog' process completely. I would
    appreciate input on this matter greatly.

    I have 3 Sun E-450s running Solaris 8 and all of the 'syslog.conf' files
    are set up the
    same. I would like my errors to be read off to '/var/adm/messages' only.
    On
    all three of these servers, it works fine except on one; all error
    messages are also sent to the console as well. Since I work on the
    console, this is very anoying. My 'syslog.conf' file looks like this:

    ---------------------------
    *.err;kern.notice;auth.notice /dev/sysmsg
    *.err;kern.debug;daemon,auth.notice;auth.info;mail .crit;user.none
    /var/adm/messages

    *.alert;kern.err;daemon.err;user.none operator
    *.alert;user.none root

    *.emerg;user.none *

    daemon.info /var/log/daemon
    mail.debug /var/log/mail
    local0.info /var/log/sshd
    ---------------------------

    What am I doing wrong? Why are all my error messages being sent to the
    console as well?

    Much appreciate your help, in advance.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Donnie Payne
    Computer Systems Administrator
    Purdue University, Genomics Facility
    170 S. University St., Room 207
    West Lafayette, IN 47907-2038
    E-Mail: edu
    Phone: 765-496-2134
    Fax: 765-496-7255
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Donnie Guest

  2. #2

    Default Re: syslog errors

    Donnie Payne wrote:
     

    $ whatis sysmsg
    sysmsg sysmsg (7d) - system message routing to console devices
    $

    I suggest, actually, that you run X11 and then run "xconsole"
    or run "xterm -C", so that the messages go to their own window.
    However, if you don't want to do that or are using a serial
    console, you can comment that out from the file and then do

    /etc/init.d/syslog stop
    /etc/init.d/syslog start

    Hope that helps.

    - Logan

    Logan Guest

  3. #3

    Default Re: syslog errors

    Thanks Logan,

    I commented out the sysmsg line and it seems to be working fine now. I just
    wonder why this isn't affecting my other servers.

    Much appreciated,

    - Donnie


    "Logan Shaw" <rr.com> wrote in message
    news:CA0cb.88105$austin.rr.com... 
    >
    > $ whatis sysmsg
    > sysmsg sysmsg (7d) - system message routing to console[/ref]
    devices 


    Donnie Guest

Similar Threads

  1. Syslog replay script for centralized syslog data
    By leroy in forum Linux / Unix Administration
    Replies: 2
    Last Post: October 29th, 07:52 AM
  2. Objc Nubie: Errors Errors Errors
    By John in forum Mac Programming
    Replies: 8
    Last Post: February 16th, 07:30 PM
  3. Sys:Syslog
    By Beau E. Cox in forum PERL Beginners
    Replies: 5
    Last Post: November 25th, 05:43 PM
  4. Replies: 3
    Last Post: July 23rd, 03:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139