asimov-solensan
Contributor
- Joined
- Oct 14, 2016
- Messages
- 113
Hello,
I wanted to set up a jail to centralize a few systems I ran at home. Syslogd should be enough but I'm unable to make it run and I fear this might be a particularity in iocage.
It only crashes if I enable a listener and here is the error I got:
I guess that files and folders not accessible are not the problem but the initial "can't open /dev/klog" seems suspicious. Can't find more information, manuals are pretty straightforward so maybe someone with knowledge can help.
I wanted to set up a jail to centralize a few systems I ran at home. Syslogd should be enough but I'm unable to make it run and I fear this might be a particularity in iocage.
It only crashes if I enable a listener and here is the error I got:
Code:
Starting syslogd. allowaddr: rule 0: numeric, addr = 192.168.17.0, mask = 255.255.255.0; port = 514 allowaddr: rule 1: numeric, addr = 192.168.15.0, mask = 255.255.255.0; port = 514 can't open /dev/klog (2) off & running.... init loading timezone data via tzset() cfline("*.err;kern.warning;auth.notice;mail.crit /dev/console", f, "*", "*") syslogd: /dev/console: No such file or directory logmsg: pri 53, flags 4, from desague, msg syslogd: /dev/console: No such file or directory cfline("*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages", f, "*", "*") cfline("security.* /var/log/security", f, "*", "*") cfline("auth.info;authpriv.info /var/log/auth.log", f, "*", "*") cfline("mail.info /var/log/maillog", f, "*", "*") cfline("lpr.info /var/log/lpd-errs", f, "*", "*") cfline("ftp.info /var/log/xferlog", f, "*", "*") cfline("cron.* /var/log/cron", f, "*", "*") cfline("*.=debug /var/log/debug.log", f, "-devd", "*") cfline("*.emerg *", f, "-devd", "*") cfline("*.* /var/log/ppp.log", f, "ppp", "*") Trying to include files in '/etc/syslog.d' Trying to include files in '/usr/local/etc/syslog.d' Unable to open '/usr/local/etc/syslog.d': No such file or directory 4 3 2 3 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X UNUSED: 7 5 2 5 5 5 6 3 5 5 X 5 5 5 5 5 5 5 5 5 5 5 5 5 X FILE: /var/log/messages X X X X X X X X X X X X X 7 X X X X X X X X X X X FILE: /var/log/security X X X X 6 X X X X X 6 X X X X X X X X X X X X X X FILE: /var/log/auth.log X X 6 X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/maillog X X X X X X 6 X X X X X X X X X X X X X X X X X X FILE: /var/log/lpd-errs X X X X X X X X X X X 6 X X X X X X X X X X X X X FILE: /var/log/xferlog X X X X X X X X X 7 X X X X X X X X X X X X X X X FILE: /var/log/cron 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 X FILE: /var/log/debug.log (-devd) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X WALL: (-devd) 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 X FILE: /var/log/ppp.log (ppp) logmsg: pri 56, flags 4, from desague, msg syslogd: restart syslogd: restarted logmsg: pri 6, flags 4, from desague, msg syslogd: kernel boot file is /boot/kernel/kernel Logging to FILE /var/log/messages syslogd: kernel boot file is /boot/kernel/kernel logmsg: pri 116, flags 0, from desague, msg May 4 20:44:00 /usr/sbin/cron[73725]: (operator) CMD (/usr/libexec/save-entropy) Logging to FILE /var/log/cron logmsg: pri 116, flags 0, from desague, msg May 4 20:45:11 /usr/sbin/cron[73966]: (root) CMD (/usr/libexec/atrun) Logging to FILE /var/log/cron
I guess that files and folders not accessible are not the problem but the initial "can't open /dev/klog" seems suspicious. Can't find more information, manuals are pretty straightforward so maybe someone with knowledge can help.