All Questions
27
questions
103
votes
3
answers
118k
views
logrotate configuration file syntax - multiple wildcard entries possible?
Since the man page doesn't answer my question and I don't want to force a rotation cycle, I decided to ask the question here.
The man page for logrotate gives the following example:
"/var/log/...
1
vote
3
answers
2k
views
How to find what is written to filesystem under linux
How can i find out what processes write to a specific disc over time?
In my particular case I got a little homeserver running 24/7 and I included a script in the crontab to shutdown all drives that ...
0
votes
2
answers
83
views
Diagnosing a sudden, uncommanded powerdown (Debian)
My desktop had developed a strange habit this morning: shortly after starting up and logging in, it shutdown very suddenly. There was a mechanical noise like a relay opening, the fan spun down, though ...
0
votes
1
answer
151
views
Debian 10 - OpenSSH-Server How to redirect user login info to a different logins file?
Debian 10 + OPENSSH-SERVER 7.9
I have a remote server that connect to my local server every minutes and in the local server's syslog, every minute I have:
Oct 11 18:22:01 localhost systemd[1]: Started ...
0
votes
1
answer
387
views
SFTP backup task got a network issue and cannot reconnect after on debian
I have got a problem with a scheduled task in PHP on my debian server.
Every night, I send a backup of data from server S1 to server S2. The two server are dedicated server but not host at the same ...
2
votes
0
answers
270
views
logcheck ignores one of my ignore patterns
I use logcheck for more than a decade and never had an issue. Now some messages are ignored and I just can't wrap my head around why.
My ignore.d.server/_self contains:
^\w{3} [ :0-9]{11} [._[:alnum:...
1
vote
0
answers
55
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 ...
0
votes
1
answer
211
views
Journald not logging custom fields on debian
I have the following script that I run on both an Arch Linux machine as well as a Debian stretch machine. On the Arch Linux machine I'm able to find the random value that was logged, whereas I can't ...
2
votes
1
answer
252
views
Can iptables change its rules based on the network you're currently in?
Does iptables have a way to automatically adapt some of its rules or just straight out switch which rule sets it's using based on what your current network is?
I have a lot of uses for something like ...
0
votes
1
answer
362
views
Configure Logrotate to only rotate partially
I'm using Logrotate to rotate Apache logs. But instead of starting with an empty log file after each rotation, I'd like to keep some lines from the old log.
Is there a solution which prevents the ...
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 ...
2
votes
1
answer
340
views
memory usage history from command line in Debian
I need to know the memory/CPU usage history from command line. My server is Debian (text mode only). Is it possible?
1
vote
3
answers
3k
views
Rsyslogd Log entry about attack created by unknown application
I have a server running for testing purposes which lately caught some strange log entries in /var/log/syslog, /var/log/user.log and /var/log/messages.
auth.log does not show anything suspicious. No (...
3
votes
2
answers
4k
views
How to make `script` command loaded automatically on terminal login
script command allows to log gently everything that was put to console during session (like history but also displays results of commands). Everything is logged to file typescript.xxx
Now I want to ...
2
votes
0
answers
417
views
Time tracking similar to Paymo Plus on Debian
PaymoPlus is free (closed source but no fees)
PaymoPlus sits in my System Tray all day, and records every window/tab I open
I would like to know if a similar app exists for Debian. Paymo for Windows/...