Questions tagged [log]
A log is a record of events during a particular time range. Questions about interpreting logs on Ubuntu or controlling logging.
220
questions with no upvoted or accepted answers
5
votes
0
answers
7k
views
How to access user's activity log
How can I get the log that says programs which are opened by user with time stamp . I would like to develop a system to monitor and give suggestions using this user activity log.
4
votes
0
answers
5k
views
using append flag to continuously append log causes service to fail
In my systemd service I used append to keep on appending log to exisint log file:
[Service]
Type=idle
Restart=always
RestartSec=6
EnvironmentFile=/home/rock64/.config/systemd/user/photon_uploader.env
...
4
votes
0
answers
2k
views
Strange "Binding overwriting" in logs
I'm looking for a reason for freezes of the system. Just before the freeze I've got such lines in the logs:
cен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: ...
4
votes
0
answers
7k
views
Ubuntu 18.04 /var/log/journal occupy large space. When i delete it, it comes back in minutes
I use ubuntu 18.04. My root folder is almost full. I find that the /var/log/journal occupies large space. When I delete the file, it comes back in a few minutes and the file size comes back to ...
4
votes
1
answer
869
views
how to track a crash when changing from X :1 to X :0?
I need to track on 14.04 a crash that often happens here:
I open a new X at :1 (that sometimes goes to ctrl+alt+f8 others to f9).
But when I try to go back to X :0 with ctrl+alt+f7, it crashes ...
4
votes
1
answer
493
views
What and where to search logs for discover the reason of a spontaneous logout?
Suddendly, without any reasons I can explain, my ubuntu logoff, recovered with ctrl+alt+f1, login, ctrl+alt+f7 . Ok, I was running chrome with flash plug-in, and some terminal bashscript, smalls ...
4
votes
1
answer
7k
views
usb device descriptor read errors after upgrade to 20.04
Since I upgraded to 20.04 I now get a bunch of errors on boot:
May 13 21:13:24 the-wee-beast kernel: usb 1-3: device descriptor read/64, error -71
Does anyone know what these mean (or can just link ...
3
votes
0
answers
50
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. ...
3
votes
0
answers
121
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 ...
3
votes
1
answer
104
views
Bash script runs more than one times. Dont know why
I have a really simple bash script which runs as cron job every minute. It makes a log to file. Everything works fine but there is one weird thing. The script make more than one logs at the same time. ...
3
votes
0
answers
96
views
Kernel Code in System Logs
See that in system logs:
Jul 23 16:31:17 superlinux1 kernel: [ 1419.790327] show_signal_msg: 24 callbacks suppressed
Jul 23 16:31:17 superlinux1 kernel: [ 1419.790329] psi-plus[5414]: segfault at 10 ...
3
votes
0
answers
2k
views
How to find out my IP address from previous days
I would like to have a list of all the IP addresses my network card has had in the last days (hopefully at least a week).
Is there a place where it might be logged those records, saying, for instance,...
3
votes
0
answers
5k
views
Is it normal for User Manager to be started and stopped for UID 0 many times during startup?
I'm getting errors on every startup related to User Manager for root (UID 0). My system is working fine overall, but with an array of very minor, merely annoying idiosyncracies, so I don't know if ...
3
votes
0
answers
4k
views
What is the best way to debug / check logs for spontaneous shutdowns potentially caused by faulty graphics card?
I've been experiencing (seemingly) random system shutdowns after swapping out an Nvidia GTX 780 for a GTX 1080 Ti. I want to determine whether this is a hardware issue or a driver/software issue.
I'm ...
3
votes
1
answer
7k
views
Wayland + Crash + Log File
I'm trying to track down a crash (or more accurately a hanging) of Wayland + Gnome on Ubuntu 16.04. I'm trying to find a wayland log file like I have for Xorg (e.g. /var/log/Xorg.0.log). So I can ...
3
votes
0
answers
509
views
Massive log files on Ubuntu 16.04
I recently installed Ubuntu 16.04. For some reason I have massive log files.
For example: kern.log is 10.5 GB big and syslog is 152 MB.
I already tried rotating them, but I wanna know what's making ...
3
votes
1
answer
1k
views
"mei_me 0000:00:16.0: no destination client found 0x00002285" spamming logfile, fix?
ubuntu 14.04 desktop install. Have fully up to date security and regular updates.
syslog file gets spammed with thousands of this entry:
kernel: [15863.834330] mei_me 0000:00:16.0: no destination ...
3
votes
0
answers
281
views
Empty log file while using logkeys?
I have seen various question of this kind but solutions are not working for me, I am currently using Ubuntu 13.10.
I've done:
touch test.log
sudo logkeys -s -o test.log
tail --follow test.log
...
3
votes
0
answers
195
views
Keylogger with Persian and English keymap on Ubuntu
I want to log which characters I use most in a day and to log all pressed keys in all application.
How I do this in Ubuntu?
3
votes
0
answers
431
views
Timestamp appears to be wrong on some log files
When I use scp to remotely check my server logs, the "last changed" timestamp on some files appears to be set in the future. I've double checked the local time and timezone settings on both my server ...
3
votes
1
answer
1k
views
Can't install graphic drivers in 12.04
The driver is ATI/AMD proprietary FGLRX graphics driver.
After clicking Activate, it asks for my password and starts downloading.
Then it shows an error message:
2012-10-03 16:16:04,227 DEBUG: ...
2
votes
0
answers
95
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> ...
2
votes
1
answer
57
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 ...
2
votes
0
answers
2k
views
Redis service won't restart after reboot
After an upgrade of my server (Ubuntu 18.04.4 LTS). The Redis service refused to start:
● redis.service - Redis In-Memory Data Store
Loaded: loaded (/etc/systemd/system/redis.service; enabled; ...
2
votes
1
answer
1k
views
Automatically gracefully restart of Apache server several times a day but later manually restarting makes thing in working everytime
Several time(twice or thrice) in a day, Apache gets automatically graceful restart and failed. My server is listening on port 81. When I checked its log it shows the error of port binding to 80 and ...
2
votes
0
answers
5k
views
Where is location of a log file of chromium on Ubuntu 19.10?
I can't found a chromium log file in default location, Where is it?
According to following page, default location is ~/.config/chromium .
But there is no log file in this directory.
Chromium User Data ...
2
votes
0
answers
822
views
Viewing tail -f ---disable-inotify /var/log/syslog during bootup, GDM, GNOME
During bootup, I was able to disable splash screen (using How can I disable the purple splash screen at boot? instructions) so that I can see the scrolling information (controlled by init.d) of what ...
2
votes
0
answers
929
views
Redirect output of a startup script to terminal
I have a shell script init.sh that invokes a javascript script app.js like this:
#!/bin/sh
node app.js
In the js script there are some console.log that i would like to see on the terminal. If I ...
2
votes
1
answer
756
views
Random freezes when using Linux Kernel 4.19.2 on Ubuntu 18.10
I'm using Ubuntu 18.10 with Linux 4.18.0 Kernel on Ryzen 1700 with NVidia GTX 1050 graphics card. The graphics driver is Nouveau.
I recently used UKUU to update the kernel to 4.19.2.
However, after ...
2
votes
1
answer
737
views
Custom log files are being overwritten automatically
I have a linux bash script which I use to append text to a file (by using >>). This file runs on bootup and is in a loop that runs every second.
If the computer reboots it will continue from ...
2
votes
1
answer
382
views
Tool to analyse a logfile and alert when growing too fast?
I'm searching for a tool which can analyze logfiles and send notifications when a file gets, for example 10 entries in 1 minute. Also, it needs to provide a method to check if the file size is growing ...
2
votes
0
answers
2k
views
Where in Ubuntu 16.04 is the shutdown log?
Yes, I am aware of
this
this
this
and
this answer.
Still, I can't find the log information (the log lines I see when pressing ESC during splash screen. For example ‘stopped Target User and Group ...
2
votes
0
answers
685
views
something fishy in my kernel log - " WARNING: CPU: 0 PID: 192" call trace
This doesn't seem to be a critical issue, but I would like to get some insight on this warning I got this morning when booting my laptop.
I always remove the "quiet" flag from the kernel in grub, ...
2
votes
1
answer
369
views
Is there a maximum amount of time that tail -f can reliably run?
I have noticed that when I tail -f various log files (specifically Apache access/error logs), that it ceases to actively scroll output after a certain of number of hours.
I am uncertain if this is a ...
2
votes
1
answer
2k
views
Change iptables log format
Is it possible to change the log format of iptables ?
I want to add the ssh_client in the log.
I have already made an iptables rule for outgoing ssh
iptables -I OUTPUT -p tcp --dport 22 -j LOG --...
2
votes
0
answers
756
views
Massive log file and 100% CPU usage for 'upstart'
I have a fresh install of Ubuntu 14.10, and I installed some programs like MATLAB, Chromium, Evolution and other fairly harmless stuff. However, I have run into some trouble recently.
The file /home/...
2
votes
2
answers
258
views
Config --no-log for an init deamon job
I have a proccess configured under /etc/init and it runs by the init deamon, and want this proccess to stop sending logs to the /var/log/upstart dir.
I read this document:
https://wiki.ubuntu.com/...
2
votes
0
answers
365
views
Tiger: `rtm` is listening on socket XXXX
On my Ubuntu serve 12.04 LTS, Tiger is reporting a lot of stuffs like this:
OLD: --WARN-- [lin002i] The process `rtm' is listening on socket 60404 (UDP) on every interface.
NEW: --WARN-- [lin002i] ...
2
votes
0
answers
29
views
What log shall I explore to discover cause of "Couldn't Generate PGP Key"?
While attempting to join the U+1 and download the code of conduct I followed the instructions on generating a public key and received the subj message.
Ubuntu 12.10
Gnome session fall back
chromium ...
2
votes
0
answers
1k
views
How I can connect the syslog-ng with a mysql database?
Hi guys I want to use a syslog-ng server for logging data from the firewall and I get Data from the Firewall in the file /var/firewall.log but now I want that the logs go to a database. For this I ...
2
votes
1
answer
2k
views
OpenGL log file (MESA)
Recently my firefox started to freeze I have a strong feeling that it has to do something with opengl, but I can't prove it, because I can't find any opengl or mesa log file. And yes I looked at /var/...
2
votes
2
answers
244
views
Why does Wubi installer not find my CD and then abort?
When I try to install Ubuntu 11.10 using Wubi I get an error asking to check
C:/users/home/appdata/local/temp/wubi-11.10-rev245.log
I don't know what to do.
I am not using the internet to ...
2
votes
2
answers
871
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 ...
1
vote
0
answers
104
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 ...
1
vote
0
answers
72
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 ...
1
vote
0
answers
379
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 ...
1
vote
0
answers
139
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/...
1
vote
0
answers
370
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:...
1
vote
0
answers
398
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 ...
1
vote
0
answers
52
views
Apache monitoring tool that reads and organize Apache Logs
I got tired looking for a GUI tool that just read and organize Apache log files. Reading several redundant lines of the log file is a hill. I searched here and Google for a free GUI tool that performs ...