Skip to main content

Questions tagged [log]

A log is a record of events during a particular time range. Questions about interpreting logs on Ubuntu or controlling logging.

Filter by
Sorted by
Tagged with
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 ...
Ash's user avatar
  • 1
0 votes
2 answers
337 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 ...
Simeon's user avatar
  • 11
-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 ...
00koeffers's user avatar
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 ...
Richard Kello's user avatar
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 ...
chmike's user avatar
  • 894
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 ...
Mark's user avatar
  • 527
-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
Binoy Chacko's user avatar
0 votes
0 answers
339 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 ...
TommyPeanuts's user avatar
  • 1,126
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 ...
Bartender1382's user avatar
0 votes
0 answers
156 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:...
kennethx's user avatar
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=...
Sandeep Kumar's user avatar
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> ...
xbass540's user avatar
  • 151
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 ...
Moh's user avatar
  • 31
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. ...
Ender's user avatar
  • 31
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 ...
o.n.dreams's user avatar
1 vote
1 answer
256 views

where does fetchmail store mail?

Trying to find where downloaded messages from Gmail are stored. No mail in: nicholas@mordor:~$ nicholas@mordor:~$ ll /var/mail/nicholas -rw------- 1 nicholas mail 0 Nov 27 15:52 /var/mail/nicholas ...
Nicholas Saunders's user avatar
0 votes
0 answers
105 views

Help me find out reason of Ubuntu suddenly freezes

So I have been using Ubuntu 22.04 LTS on my laptop for more than a year now, but recently I have experienced unexpected freezes or hangs. And when that happens, nothing works, not even virtual ...
Imran Farid's user avatar
2 votes
2 answers
2k views

PC crash, EXT4-fs error --ext4_find_entry inode reading directory iblock 0

OS: Ubuntu 22.04.3 LTS DISK: Samsung SSD 860 EVO 1TB My pc suddenly stopped working. It stops responding to commands, the icons (especially the ones to manage windows) disappear and are replaced by ...
Tiziano Pedrazzoli's user avatar
0 votes
1 answer
286 views

Ubuntu Samba server problems, can’t access, can’t look at log files

I’m using Ubuntu focal 20.04.6 LTS and something caused my samba server to stop working. I can list the log files in the default location /var/log/samba and it shows many files with different file ...
Rezendes's user avatar
0 votes
0 answers
107 views

awslogs no longer runs after upgrading to Ubuntu 22.04

After the system was upgraded to Ubuntu 22.04, it was no longer possible to upload logs to CloudWatch. The awslgs program did not generate the log /var/log/awslogs.log. How to check this problem? $ ...
cruise6's user avatar
0 votes
0 answers
34 views

Random shutdowns/access log

I have recently installed Ubuntu 22.04 on my desktop. All went well at first but now every once and awhile my system restarts or freezes. Usually it restarts. After it restarts there is a log that ...
Lee K's user avatar
  • 21
0 votes
2 answers
64 views

Needing more efficient grep for excluding numerical value when in a string

I am grepping log files looking for results that show the output of 'queued 10' or higher. Ex. grep 'queued' *20231016* | grep -vE 'queued 1|queued 2|queued 3' This works fine, however, is there a ...
Wil's user avatar
  • 1
0 votes
0 answers
26 views

Logrotation help

I have custom logrotation as below.. cat /etc/logrotate.d/apache # # /var/log/apache/apache.log { daily rotate 30 size 1G compress missingok ...
xrkr's user avatar
  • 109
6 votes
2 answers
969 views

What is the function of bootstrap.log?

I encountered the existence of a file named bootstrap.log in the /var/log directory when trying to solve a log related problem and when looking at its content I saw that the timestamps are over a year ...
plopper's user avatar
  • 129
1 vote
0 answers
145 views

Where can I find logs for Bluetooth tablet failure?

I occasionally use an Intuos BT M drawing tablet. In the past month it has started misbehaving only on my Ubuntu 22.04 LTS installation. (It continues to works fine in Windows.) After making the ...
lofidevops's user avatar
  • 21.2k
0 votes
0 answers
268 views

Why are the previous boot.log files missing?

Laptop is an Acer Aspire V3-772 with 8GB and Ubuntu 22.04.3 LTS, Gnome 42.9 & Wayland on UEFI My friends laptop suffers from shutdown problems and I wanted to take a look at the previous boot.log ...
plopper's user avatar
  • 129
0 votes
0 answers
63 views

boot log as it appears on screen

is there a way to see a boot log as it appears on screen having removed "quiet-splash" directive from /etc/default/grub? I mean: I've tried with journalctl -b -1 (and so on) but is a huge ...
Silvia's user avatar
  • 538
0 votes
0 answers
41 views

Can I find out what's wrong with my boot if I can't boot properly?

Unfortunately the issue I'm facing has not yet been answered, in regards to this, I would like to know if I can find some logs somewhere or add any parameters to any configs to see what went wrong ...
lalalananana's user avatar
0 votes
0 answers
76 views

how to save to log all commands made with gnome terminal

Need to get logs for commands used on daily basis. I believe there are these kind of logs How can I locate these? By commands I understand my input commands: ls pwd cd mkdir rm etc
Jack3n's user avatar
  • 1
1 vote
1 answer
185 views

Logrotation has different behaviors when reading from "/etc/logrotate.conf" and "/etc/logrotate.d/*conf" files

We need to keep only one log file of each service in our Ubuntu 20.04 servers. I've modified the /etc/logrotate.conf file as follows: weekly su root adm rotate 0 create ifempty include /etc/logrotate....
Bagheriovsky's user avatar
1 vote
0 answers
79 views

logrotate not removing old files

I'm trying to create a logrotate configuration that is the same for all log files. Right now I have /var/log/* { size 100k rotate 5 missingok compress } I created a shell script that ...
Adam's user avatar
  • 11
0 votes
1 answer
247 views

Why am I getting errors in apt after I deleted and then re-created `/tmp`, `/var/tmp`, and `/var/log`?

Why am I getting an error after running the following commands? sudo rm -r /tmp sudo rm -r /var/tmp sudo rm -r /var/log sudo mkdir /tmp sudo mkdir /var/tmp sudo mkdir /var/log sudo apt update Error ...
Downvoter's user avatar
0 votes
0 answers
128 views

Why does `testparm` ignore log level setting?

My typical procedure for configuring Samba is with a config file named /etc/samba/smb.conf.master. After configuration, I implement the changes with testparm -s /etc/samba/smb.conf.master > /etc/...
mpboden's user avatar
  • 1,695
0 votes
0 answers
300 views

GPU Driver Issue That Causes Black Screen

I am suffering that my screen goes black screen and my computer is completely frozen. I could not figure out what causes it but when I looked the logs I saw this error 9 in a row: "[drm:...
exiort's user avatar
  • 31
1 vote
0 answers
440 views

Where can I find information about the last hang of the system?

Sometimes, my Ubuntu 23.04 hangs forever. I still see the screen, but nothing moves and no input is detected. I can only reset the machine. Are there any file I can inspect to understand what caused ...
Mark's user avatar
  • 527
3 votes
1 answer
1k views

Ubuntu 22.04 freeze due to Firefox (sometimes with as low as 3 tabs)

I have Ubuntu 22.04 installed on my system with 16GB RAM and 1TB disk space. Running a large number of resource-heavy apps/processes does (and should, logically) cause system freezes/hangups, after ...
question_quasar's user avatar
0 votes
1 answer
192 views

rsyslog - how to install rsyslog-imdocker module?

How to install rsyslog-imdocker module for ubuntu 22.04? Tried different things but still with no luck :( Besides tried to search for the same package on Centos 8 Stream and still the same results, ...
Marat Gainutdinov's user avatar
1 vote
1 answer
258 views

How to limit mariadb logs?

I have a nextcloud server which is using Mariadb for the database, but running into issues due to Mariadb spamming log files (namely: mariadb-bin.0000** in /var/log/mysql. This seems to be due to how ...
RolandiXor's user avatar
  • 51.3k
-1 votes
1 answer
495 views

How to fix when files keep disappearing without reason

How to fix when files keep disappearing without reason? Or maybe because I accessed it? I'm on Ubuntu 22.04 money@money:~$ ls move* move2.sh movenew.sh movestart3.sh money@money:~$ cat move2.sh cat: ...
God of Money's user avatar
0 votes
0 answers
127 views

5.15.0-52-generic kernel,syslog show a lot of "read not supported for file"

5.15.0-52-generic kernel,syslog show a lot of "read not supported for file" Mar 20 10:16:30 ysj kernel: [ 693.284630] dg_ff: dfc0630 open file:global_status_interface.h fp is null,errno:1 ...
ge teng's user avatar
0 votes
1 answer
88 views

Very weird memory use [duplicate]

out of nowhere my ubuntu 22.00 complained that it's memory was full. After some investigation I came across something really, really weird. Potentially worring. I listed the use of the various dirs in ...
user20656733's user avatar
3 votes
0 answers
169 views

check last lock time

I need to check the last time that I locked my Ubuntu LTS 22.04 Desktop system. for example for login time I use this command: cat /var/log/auth.log | grep unlocked but can not find any log event for ...
Bheid's user avatar
  • 141
0 votes
0 answers
74 views

Logout on Wacom/Intuos 4D Mouse Use - how to figure out reason?

EDITED: I have a newly installed Ubuntu (Ubuntu 22.04.1 LTS Desktop, x86_64, X11) and connected an old Wacom USB tablet (gd-1218-u , 'Wacom Intuos 12x18' - Intuos(1)) - it worked great, out of the box ...
loonquawl's user avatar
  • 101
1 vote
1 answer
257 views

Apparmor.. What we can understand through logs?

Jan 1 09:39:14 amik-soc-pc kernel: [ 997.175974] audit: type=1400 audit(1672544354.292:83): apparmor="DENIED" operation="open" profile="snap.notepad-plus-plus.notepad-plus-...
Amiqul Islam Amik's user avatar
0 votes
0 answers
67 views

Discover how Go was installed

Is it possible to discover how the latest version of go was installed on my Ubuntu 22.04 system? I think it was installed in 2 different ways, thinking of updating it in a consistent way so theres no ...
gameveloster's user avatar
3 votes
1 answer
2k views

How to turn off all the AppArmor DENIED messages from snaps?

I have a ton of AppArmor DENIED messages in my logs from the snap sandbox. How can I turn off these messages? Nov 22 21:39:28 dima kernel: [19901.633595] audit: type=1400 audit(1669142368.829:4586): ...
Merlijn Sebrechts's user avatar
1 vote
2 answers
409 views

How to monitor a growing log file for specific string and print the line to terminal in realtime?

For example. I have nohup.out.log file which is growing over time. I want to monitor this file and check if the string test error occurs in this file and print the corresponding lines to terminal or ...
zhengger's user avatar
0 votes
1 answer
661 views

How to copy all log files from a particular date to the current date?

I want to copy the log files from a particular date, say Nov 18, to the current date. How can I do that?
lokitha vasanth's user avatar
0 votes
0 answers
462 views

I am receiving Dozens of [UFW BLOCK] Messages each second on my syslogs server

I have a Ubuntu server running currently that has suddenly seen a striking drop in incoming traffic after many months of a high average. I have noticed in my logs that dozens upon dozens of UFW Block ...
Chestnut Rice's user avatar
0 votes
0 answers
453 views

kern.log consuming all my disk space(entry_SYSCALL_64_after_hwframe)

I get a warning that I am running out of disk space. I find that it is the syslogs, especially the kern.log(s) that are eating up disk. It seems like my system is writing message over and over ...
HGS's user avatar
  • 1

1
2 3 4 5
16