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
6 votes
2 answers
445 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
  • 109
1 vote
0 answers
22 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
  • 20.5k
0 votes
0 answers
65 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
  • 109
0 votes
0 answers
19 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
34 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
28 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
41 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....
O_Ofsk24's user avatar
1 vote
0 answers
36 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
103 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
44 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
  • 866
0 votes
0 answers
260 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
  • 11
1 vote
0 answers
262 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
  • 477
2 votes
1 answer
484 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
54 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
78 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.1k
-1 votes
1 answer
86 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
58 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
72 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
0 votes
0 answers
31 views

where is log path for login to root shell prompt?

I'm about searching my ubuntu 22.10 Desktop system logs to identify any login attempts. Is there any log that indicates someone logins to root shell prompt (from recovery menue) ? How can i figure out ...
Elizabeth Hanson's user avatar
2 votes
0 answers
56 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
  • 131
0 votes
0 answers
53 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
0 votes
1 answer
63 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
23 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
0 votes
0 answers
36 views

Boot pauses indefinitely with log rotation msgs

I have an intermittent boot issue, possibly pertaining to uncomplicated firewall log rotation, see photo of dmesg. Tried to access the dmesg file but cant locate lines referenced in photo. I had this ...
ashton55's user avatar
2 votes
1 answer
812 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
74 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
359 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
58 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
99 views

minidlna log file entries do not have timestamps

I'm setting up minidlna on my Ubuntu server 22.04.1 I don't get timestamps in the minidlna.log file. Well initially I did. I think the timestamps might have stopped getting added to the log entries ...
FlexMcMurphy's user avatar
0 votes
0 answers
306 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
0 votes
0 answers
51 views

/var/log/syslog and /var/log/syslog.1 running wild, please help! [duplicate]

I don't know what happened but a few days ago my main disk was clogged, when looking around for the culprit, I found out that /var/log directory was over 600Gb, then I discovered that it was /var/log/...
S2000fred's user avatar
1 vote
0 answers
92 views

Mysql failed with symlink log folder

I'm trying to move /var/log to a /home/shared/var/log using a symlink, the problem is that mysql crashes. Here is the process: service rsyslog stop mv /var/log/ /home/shared/var ln -s /home/shared/...
anon123's user avatar
  • 31
0 votes
0 answers
232 views

How to log all command ran inside a SSH session by ip for `dash`

Hi I am able to log all the commands ran by a user on my ssh server using these lines in my /etc/profile. whoami="$(whoami)@$(echo $SSH_CONNECTION | awk '{print $1}')" ...
avi7611's user avatar
0 votes
0 answers
22 views

My bare metal PC hangs at the ubuntu logo when booting, rtx3060ti gcard

I have looked through other posts and answers, my problem seems a little different in that there is, or was, no option in the update gui to change any 3rd party drivers at all. None were displayed, ...
RBB's user avatar
  • 1
1 vote
0 answers
310 views

Log contains errors - mostly occuring at boot

Hardware: Asus Zenbook UX425EA Intel Core i5-11357G 8GB RAM, 2TB NVMe drive OS: Ubuntu 22.04.1LTS I'm getting some error messages when I boot which I can see in the logs - for example this evening: 21:...
Will's user avatar
  • 2,167
-1 votes
1 answer
391 views

Suddenly getting commercial ads in gnome notifications; how to debug?

Since a week or so (say, September 25, 2022), my gnome sporadically shows notifications containing commercial ads. They are not permanent - visible for a second or two, three. How can I trace where ...
xtofl's user avatar
  • 117
0 votes
1 answer
332 views

ufw not logging on ubuntu 22.04

I have no ufw logs on my minimized Ubuntu 22.04 server. sudo ufw status verbose output: $ sudo ufw status verbose Status: active Logging: on (low) On the internet I found I need rsyslogd enabled. On ...
unixcandles's user avatar
2 votes
1 answer
41 views

Where can I find logs of all media files played/accessed by a user?

I have a bit of a conundrum. Yesterday I was organizing some home video archives, and I accidentally moved a file into the wrong folder of about 3000 other clips, before copying said folder onto a new ...
user avatar
0 votes
0 answers
40 views

How to save folder state so that I can monitor changes in it

I have a folder with 5000 ~10mb files, I need something that would save something like list of all files and preferably their hashes so that it can track file changes/renames, and then later compare ...
nikishev.'s user avatar
0 votes
0 answers
57 views

Macbook with ubuntu installed shuts down randomly

I installed Ubuntu on my Macbook. The Macbook shuts down randomly. It was the same problem with MacOS. I changed the SSD but the problem persists. I followed some instructions on the web and I got an ...
Josemagne's user avatar
0 votes
0 answers
65 views

Forwarding historic (old) syslog to syslog server

We can forward syslogs to syslog server by making the below entry in syslog.conf/rsyslog.conf *.*<space/tab>@<syslog_server_name>:<port_no> However, this only sends new syslogs, ...
Allan's user avatar
  • 1
0 votes
0 answers
23 views

Applications start logs

I have a simple question. Where can I find a log that contains information about application launch? For the context: I have a terminal server and a client connected to it via ssh. I want to know ...
TheBiggestRat's user avatar
0 votes
1 answer
122 views

How to highlight every other line at gedit? (or better way to view log files)

I wonder if there's a quicker and more clear way to check log files at gedit. At least if it's possible to highlight lines alternatively.
Miguel Gisbert's user avatar
0 votes
2 answers
52 views

newline in bash script

needing to check every hour a logfile looking for "unable to connect to the ldap", I've put in cron hourly this script: #!/bin/bash > result cat logfile.log | grep -a 'unable to connect ...
Silvia's user avatar
  • 538
0 votes
0 answers
211 views

My Ubuntu 20.04 spits out "logger: socket /dev/log: No such file or directory"

I'm a newbie to Ubuntu. I am trying to run a script that needs access to /dev/log when the following error occurred "logger: socket /dev/log: No such file or directory". Any ideas on how to ...
Charles's user avatar
2 votes
1 answer
1k views

View all previous IP logs/connections/etc

I'm not sure if this is a thing or not. I was wondering if for example someone got on my machine (say its on a vpn not on my home network) If someone had access to it somehow if they could view any ...
Bigbear's user avatar
  • 125
1 vote
1 answer
641 views

What is the difference/relation between /var/log/apt/history.log and /var/log/apt/term.log?

About apt in the /var/log/apt directory appears mostly the history.log and term.log files and their "variations" (old versions) such as: history.log.1.gz ... history.log.11.gz term.log.1.gz ...
Manuel Jordan's user avatar
0 votes
0 answers
64 views

Which service spams the console with [OK] Finished ServiceName Messages? And how to turn it off?

[OK] Reached target Late Shutdown Services [OK] Finished System Power Off [OK] Reached target System Power off These messages are not affected by kernel boot parameters like loglevel=3 or rd....
exception valueerror's user avatar
1 vote
0 answers
314 views

Login via xrdp session doesn't register as logged-on user

When I open a xrdp session (xorg) to my Linux system and check for existing user logins via who or last, there is no entry for the xrdp session. Why is that? And is there a way to show current and/or ...
Albin's user avatar
  • 111
0 votes
1 answer
259 views

/var/log/kern.log growing out of hand [duplicate]

I don't know much about linux so I was wondering if I could get a bit of help with this (I'm using Ubuntu 20.04.4 LTS): I just got a message that my ssd is running out of space and when going through ...
Columini's user avatar

1
2 3 4 5
15