Questions tagged [log]
A log is a record of events during a particular time range. Questions about interpreting logs on Ubuntu or controlling logging.
753
questions
0
votes
0
answers
31
views
Anacron job not running
I'm learning to use anacron and scheduled a simple task to be executed everyday
1 6 buendia /home/ash/Escritorio/saludar.sh
It's a simple script that writes have a good day everyday in a text ...
0
votes
2
answers
330
views
Im having issues with screen sharing in Discord on Ubuntu
I'm quite new to Ubuntu. A month or two ago, I installed Discord from Snap and everything worked properly but after some weeks my Discord couldn't share a screen properly. When I first used Discord it ...
-3
votes
1
answer
110
views
Very large log files (syslog, kern.log)
I got the warning that I only have 38 MB of disk space left. The reason for this seem to be two huge log files: syslog.1 and kern.log.1 with 388 GB each.
I installed Linux Pop!OS only recently so my ...
0
votes
0
answers
91
views
Logging user commands
So I am working on this fun project and I've been trying to setup logging for user commands for the past 3 days but nothing seems to work. So for the starters I use Ubuntu 22.04 which runs inside of a ...
4
votes
1
answer
446
views
Why does fail2ban report my auth.log file as removed?
I have logwatch running and I check every morning it's content. I have noticed that my auth.log file is erased after an apt upgrade and reboot.
Here is the fail2ban section of the logwatch after an ...
0
votes
0
answers
38
views
What keywords should I look for finding the cause of hang+reboot?
Since few weeks my system (Ubuntu 23.10) often freezes/hangs and after few seconds reboots (usually, if it happens, it happens in the first minutes after powering up and after it reboots it does not ...
-1
votes
2
answers
104
views
My auth.log file, size is quite huge. How can I reduce it? Will trucate command work?
This is my auth file size:
-rw-r----- 1 syslog adm
26451675 Mar 27 15:23 auth.log
Will sudo truncate -s 0 /var/log/auth.log is reducing the size. Will it impact my system?
Regards
0
votes
0
answers
338
views
Ubuntu 22.04 rsyslog "& stop" not stopping?
I want to log iptables messages in a separate log file, and not in /var/log/syslog.
I understand if you want to log something exclusively to a separate file, you make sure the syslog rules you want ...
0
votes
0
answers
28
views
Does Ubuntu have a log command I can use within my own perl scripts?
Am writing some perl scripts and would love to be able to log specific moments with a timestamp, pid, and other script specific data.
I was hoping Ubuntu had a command I could call from my scripts ...
0
votes
0
answers
155
views
kea-dhcp-server logs vs isc-dhcp-server logs
So switching from isc to kea dhcp server I can't seem to find "device name" (in this example, Chromecast-Ultra) in the log anymore.
I.e. with the isc dhcp server I would get:
Jun 2 23:45:...
0
votes
0
answers
81
views
Why I'm getting these random [UFW BLOCK] requests in my syslogs?
I just noticed large numbers of these random requests getting blocked by UFW
9:34 AM [UFW BLOCK] IN=eno1 OUT= MAC=[MY_SERVER_MAC_ADDRESS] SRC=193.254.3.18 DST=[MY_SERVER_LOCAL_IP] LEN=60 TOS=0x00 PREC=...
2
votes
0
answers
138
views
Ubuntu logs issues
I am accessing the Ubuntu logs via the
cd /var/log
username@username-XPS-13-9310:/var/log$ tail -f syslog
I get
Jan 17 19:45:55 xbass-XPS-13-9310 NetworkManager[809]: <warn> ...
3
votes
1
answer
454
views
Internet connection logs
Is there a way to monitor internet connections and get a log file that states what time of the day is the internet disconnected when when it was back ?
I am using Ubuntu 22.04
Edit : the laptop is ...
3
votes
0
answers
119
views
Discord (among others) filling syslog. Is there a privacy preserving solution yet?
Discord is constantly spamming the system for a ptrace read that is being repeatedly denied by AppArmor/Snap. This happens for good reason as it is intended to find what games you might be playing. ...
0
votes
1
answer
102
views
How I can see that vsftpd's users write as the password on my ubuntu?
I have ubuntu 20.04 and I give ftp access for 35 customers for uploading files for us. Everything was right but today one customer change his server and cannot connect. He wrote a wrong password. I ...