Ask a Question related to AIX, Design and Development.
-
prae #1
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
-
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... -
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... -
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... -
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... -
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.*... -
Holger van Koll #2
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



Reply With Quote

