AIX 5.1.0.0 syslog mistery

Ask a Question related to AIX, Design and Development.

  1. #1

    Default AIX 5.1.0.0 syslog mistery


    Hi all,



    OK, I want to use syslog to send messages to a file.



    In /etc/syslog.conf, I have:



    local1.* /tmp/local1.out





    Then I touch the file and give it 777 perm (for test purpose):



    # l /tmp/local1.out

    -rwxrwxrwx 1 root system 0 Sep 17 12:00 /tmp/local1.out









    I refresh syslogd:

    # refresh -s syslogd

    0513-095 The request for subsystem refresh was completed successfully.









    Then I run:

    # logger -p local1.warning "This works fine"





    and I check :



    # l /tmp/local1.out

    -rwxrwxrwx 1 root system 0 Sep 17 12:00 /tmp/local1.out





    Still empty!



    Does anyone have any idea what i'm missing?



    # oslevel

    5.1..0

    # uname -a

    AIX orinuxaix1 1 5 0032539C4C00


    --
    Posted via [url]http://dbforums.com[/url]
    prae Guest

  2. Similar Questions and Discussions

    1. Sys::Syslog
      Hi, When I upgraded perl 8.8.0 (Sys::Syslog 0.3) to perl 8.8.8 (Sys::Syslog 0.13) on my Solaris 9 box, the hostname in the syslog entries changed...
    2. Sys:Syslog
      Hi - I'm having trouble logging to syslog on my Linux (Sorcerer) machine with perl 8.0.2 installed. This script logs nothing: #!/usr/bin/perl...
    3. Syslog question
      Hi, I need to log any successful or failed logon to my Solaris box. Maybe by default it is doing by OS, however since I am new in UNIX, can...
    4. syslog truncate
      Hi, I am interested if it is safe to truncate syslog (it contains data for last 3 years since the server was installed and it is over 23Mb). Is...
    5. creating different syslog file /var/log/syslog.0 /var/log/syslog.1...
      Hi, I see different syslog files under /var/log/ /var/log/syslog.0 /var/log/syslog.1 Could anyone tell me whats the difference between syslog.*...
  3. #2

    Default Re: AIX 5.1.0.0 syslog mistery

    use local1.debug
    if it still doesnt work, do stopsrc -s syslog; startsrc -s syslog


    prae wrote:
    > Hi all,
    >
    >
    >
    > OK, I want to use syslog to send messages to a file.
    >
    >
    >
    > In /etc/syslog.conf, I have:
    >
    >
    >
    > local1.* /tmp/local1.out
    >
    >
    >
    >
    >
    > Then I touch the file and give it 777 perm (for test purpose):
    >
    >
    >
    > # l /tmp/local1.out
    >
    > -rwxrwxrwx 1 root system 0 Sep 17 12:00 /tmp/local1.out
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > I refresh syslogd:
    >
    > # refresh -s syslogd
    >
    > 0513-095 The request for subsystem refresh was completed successfully.
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > Then I run:
    >
    > # logger -p local1.warning "This works fine"
    >
    >
    >
    >
    >
    > and I check :
    >
    >
    >
    > # l /tmp/local1.out
    >
    > -rwxrwxrwx 1 root system 0 Sep 17 12:00 /tmp/local1.out
    >
    >
    >
    >
    >
    > Still empty!
    >
    >
    >
    > Does anyone have any idea what i'm missing?
    >
    >
    >
    > # oslevel
    >
    > 5.1..0
    >
    > # uname -a
    >
    > AIX orinuxaix1 1 5 0032539C4C00
    >
    >
    > --
    > Posted via [url]http://dbforums.com[/url]
    Holger van Koll Guest

Posting Permissions

  • You may not post new threads
  • You may 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