-
How can I start syslogd so I can then view the syslogd log? (I am using iptables)
I am using iptables, and I have a rule that makes a log.
But I can't see the log.
I can't seem to see anything iptables or syslogd related in /var/log that has anything.
I read on a page quoting the book knoppix hacks
"most of the services log to /var/syslog, which knoppix disables by default. To start the syslog service, go to K-menu..knoppix..services..start syslog which launches a terminal which displays live output ok of /var/log/syslog"
The problem is, I don't have /sys/log/syslog
And, I can't seem to start it.
In my K-menu...Knoppix, I don't see 'services' listed and 'start syslog' listed.
I can see the sysklogd service in /etc/init.d but starting it leads to some error messages-
knoppix@Microknoppix:/var$ sudo /etc/init.d/sysklogd start
[....] Starting system log daemon...chown: cannot access `/var/log/mail.warn': No such file or directory
chown: cannot access `/var/log/user.log': No such file or directory
chown: cannot access `/var/log/daemon.log': No such file or directory
chown: cannot access `/var/log/messages': No such file or directory
chown: cannot access `/var/log/debug': No such file or directory
chown: cannot access `/var/log/auth.log': No such file or directory
chown: cannot access `/var/log/mail.err': No such file or directory
chown: cannot access `/var/log/news/news.notice': No such file or directory
chown: cannot access `/var/log/syslog': No such file or directory
chown: cannot access `/var/log/news/news.crit': No such file or directory
chown: cannot access `/var/log/mail.log': No such file or directory
chown: cannot access `/var/log/kern.log': No such file or directory
chown: cannot access `/var/log/lpr.log': No such file or directory
chown: cannot access `/var/log/mail.info': No such file or directory
chown: cannot access `/var/log/news/news.err': No such file or directory
failed!
knoppix@Microknoppix:/var$
Last edited by terapin; 05-31-2014 at 02:33 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Lenovo IdeaPad 5i Slim 5 16IRL8 16" (512GB SSD, Intel Core i5-1335U, 1.30GHz,...
$422.10
Lenovo 300e 2-in-1 2nd Gen 81QC 4GB RAM 32GB SSD 1.70 GHZ USED SCREEN ISSUE
$35.00
LENOVO P520 Workstation W-2135 up to 128GB RAM 4TB SSD Win11P WiFi DVD/RW Gaming
$439.88
Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home
$186.99
Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD
$339.99
Lenovo IP 5 16IAU7 16" 2.5K Chromebook i3-1215U 8GB Ram 128GB eMMC Chrome OS
$219.99
Lenovo Notebook IdeaPad 1 Laptop, N6000, 4GB, 128GB eMMC, Win 11 Home-Certified
$229.49
Lenovo ThinkPad X390 13" Touchscreen Laptop i5 256GB NVMe 16GB RAM Win 11 Pro
$249.00
Lenovo K14 AMD Laptop, 14" FHD IPS LED , Ryzen 5 5600U, 16GB, 256GB SSD
$569.00
Lenovo Ideapad 1 15Amn7 15.6" Laptop Ryzen 3 7320U 8GB 256GB SSD W11H-64
$199.99