Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to enable syslog on AIX. I followed the instructions in this post but it didn't work.

This is my /etc/syslog.conf:

mail.debug      /var/log/mail.log   rotate size 500k files 10
kern.debug      /var/log/kern.log   rotate size 500k files 10
syslog.debug    /var/log/syslog.log rotate size 500k files 10
daemon.debug    /var/log/daemon.log rotate size 500k files 10
local2.debug    /var/log/sudo.log   rotate size 500k files 10

I executed this:

refresh -s syslogd

But nothing is showing up in /var/log

I'm on AIX 6.1.

share|improve this question
up vote 3 down vote accepted

Syslog files must exist before syslogd will write to them. You will need to touch (as root) the filenames you wish to use first.

touch /var/log/mail.log

touch /var/log/kern.log


and then refresh syslog

share|improve this answer
you might want to add a sudo (as it is important that the files are owned by root) and add the command for "refreshing syslog"). – agtoever Mar 5 '15 at 10:43
I did say "as root", but you could also sudo. – Don Simon Mar 10 '15 at 16:32

If you want to send it to a syslog server as you have to write like this in /etc/syslog.conf @ rotate size 100k files 5 @ rotate size 100k files 5 @ rotate size 100k files 5 @ rotate size 100k files 5

after that don't forget to apply the changes using:

#refresh -s syslogd
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.