All Questions
82
questions with no upvoted or accepted answers
5
votes
0
answers
6k
views
How do I get reasonable server-side NFS log output?
I was experiencing some problems with nfs-kernel-server on Debian stretch which I could solve by luck. Still, I learned that the log output was not of much help of me. I would like to change that to ...
4
votes
0
answers
24k
views
Linux log files - why did my server go down?
When I got home, my server was hung in the BIOS boot process - the system had restarted for some reason.
The last log entry in /var/log/messages relates a DHCP renewal request - there's nothing ...
3
votes
0
answers
1k
views
Is there a tool like `cronolog` or `rotatelogs`, but also with compression and removal like in `logrotate`?
I want simple piped logging without config files or system-wide rules for periodic command execution.
Are there any projects that allows to do that? Expecting something like this:
./...
2
votes
0
answers
210
views
Log file name based on application with syslog-ng
I'm using syslog-ng and currently my config only separates log files based on ip address and facility:
source s_network_udp {
syslog(transport(udp) port(514));
};
destination d_local {
file("...
2
votes
1
answer
2k
views
Is there any way to delete logs of a specific systemd service in linux?
After searching a bit, all I got is journalctl --vacuum-time.... However, this command doesn't delete service logs. So, how can I safely delete logs of a specific service from linux?
2
votes
0
answers
557
views
MacOS - How to change syslogd's log level for a specific process/program?
I am new to MacOS and I would like to get a better of view of what's going on with a system process when my computer is starting up. I can see in the log that a process is changing settings, but the ...
2
votes
0
answers
81
views
Old gdb cannot find out how to do logging
I'm running an obsolete Red Hat OS and debugging with the built-in gdb but I cannot figure out how to do logging.
I've tried:
set logging on
But get:
No symbol "logging" in current context
It ...
2
votes
2
answers
494
views
Is there a way to automatically get track of installed packages and dependencies?
There are packages I installed using 'apt-get install', that installed also all its dependencies. If I want to remove it after some time, I would remove its dependencies as well. Now I do not trust '...
2
votes
0
answers
541
views
My Dell laptop running Ubuntu Linux 11.10 hangs on reboot but not shutdown. How do I diagnose this?
My Dell laptop running Ubuntu Linux 11.10 hangs reliably while shutting down for a reboot, but when I shutdown, it will complete successfully. How do I diagnose this? I don't know what log files I ...
1
vote
2
answers
476
views
Continue ddrescue from a corrupted log file
I ran ddrescue a few days ago in my 180GB partition, but after 3 days (and 99.91 % rescue and in phase 3 the last time I check) the system frozen, so I power off the computer by keeping pressed the ...
1
vote
0
answers
313
views
ufw logs BLOCKS from 2 sites while BLOCK logging is completely disabled for ALL sites
Logging is enabled. Only allow rules are logged. The very last line of my firewall rules is:
Anywhere DENY Anywhere
No logging is asked for, however two IPs repeatedly show ...
1
vote
1
answer
8k
views
How to get “failed login attempts since the last successful login” count as a variable?
When I log in to a server I see:
Last failed login: Fri Jul 17 12:47:01 CEST 2020 from 111.222.333.444 on ssh:notty
There were 2713 failed login attempts since the last successful login.
Last login: ...
1
vote
0
answers
24
views
squid - logfile based on source
According to some googled documents, I am trying to set up per-host logfile to exclude some requests from access log, but to keep these requests in different logfile. My related config in squid.conf:
...
1
vote
0
answers
52
views
How to check for screen activation in system logs
I have a Debian 10 (Buster) installed, and I was wondering how to check in the system logs when the screen was activated.
The way I configured the OS is that I have turned off in the power manager ...
1
vote
0
answers
2k
views
How to find out what killed my desktop environment (and possibly X Server)?
I ran into a problem this morning. I have a computer that is used for machine learning and nothing else. I use python to run tensorflow to train some models that I made.
The problem is that I couldn'...