AIX
Configuro el /etc/syslog.conf
kern.debug;mail.none /var/adm/messages rotate size 2m files 3 compress
*.emerg;mail.none /var/adm/messages rotate size 2m files 3 compress
*.alert;mail.none /var/adm/messages rotate size 2m files 3 compress
*.crit;mail.none /var/adm/messages rotate size 2m files 3 compress
*.warning;mail.none /var/adm/messages rotate size 2m files 3 compress
*.err;mail.none /var/adm/messages rotate size 2m files 3 compress
*.notice;mail.none /var/adm/messages rotate size 2m files 3 compress
*.info;mail.none /var/adm/messages rotate size 2m files 3 compress
auth.notice /var/adm/authlog rotate size 2m files 3 compress
mail.info /var/adm/mailerrors rotate size 2m files 3 compress
########
# touch /var/adm/messages
# touch /var/adm/authlog
# touch /var/adm/mailerrors
# refresh -s syslogd
Si la configuración fue exitosa vamos a ver la siguiente linea
pm-db1-desa syslog:info syslogd: restart
en /var/adm/messages después de ejecutar
refresh -s syslogd
Comentarios
Publicar un comentario