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
1
vote
0answers
6 views

Gnome-logs cannot read system protocol in 20.04

I have recently upgraded form 19.10 to 20.04. When I open Gnome-logs there is a red banner with the warning in German "Systemprotokoll konnte nicht gelesen werden" which translates as "System logs ...
0
votes
0answers
80 views

How to check kernel update history

I have been running into some issues which I suspect might be because of kernel update. I want to check when the kernel was updated to see if the timeline matches. A question titled "Ubuntu: how to ...
0
votes
0answers
40 views

Is it safe to delete file in /var/log? [duplicate]

I noticed that my disk in my Linux ubuntu server is already full and one that's causing it is inside my /var/log folder. I have these files inside my /var/log: I don't know what files are these, but ...
0
votes
2answers
17 views

Monitor single Log File

I´m looking for a tool or a skript for monitoring 1 single Log file. I´d like to get a notification via telegram if the log file containes a word I´m passing to it. My approach: #!/bin/sh tail ...
0
votes
1answer
176 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 ...
0
votes
1answer
22 views

Help Understanding auth.log Entry

Recent Ubuntu (v 18.04) convert and trying to understand a auth.log entry. May 3 00:38:58 dug pkexec: pam_unix(polkit-1:session): session opened for user root by (uid=1000) May 3 00:38:58 dug ...
0
votes
0answers
8 views

How can I clear the npm forever log file when it reaches a certain limit?

Our dev server keeps hitting 100% memory usage on /dev/xvda1 [ 30G 30G 0 100% /] 18GB of this is from forever logs. Yesterday I ran forever cleanlogs and the size of the 18GB folder went down ...
0
votes
0answers
19 views

Ubuntu \var subdirectories are 100% full and may causing random freezing?

Can 100% full /var sub-directories can cause random freezing of Ubuntu 18.04. I have tried different ways to stop it like uninstalled recent applications, removed extensions, and startup applications, ...
0
votes
0answers
48 views

How do I initialize and test the kernel dump process in Ubuntu 18.04? Which config files should I be writing to?

My system froze the other day in the middle of a convoluted build and I've attempted to set up kdump (to possibly diagnose what went wrong or - at least generate a log - in a similar situation) using ...
2
votes
0answers
59 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; ...
1
vote
0answers
37 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 ...
0
votes
0answers
116 views

Steam error logs are huge!

I am on Ubuntu 18.04 and use Steam regularly. I just noticed that the file $HOME/.steam/error.log weighs 86GB (!!!) and seems full of the following line: type unknown not a basic type Is there a way ...
0
votes
0answers
24 views

How to log in on ubuntu

I have install ubuntu for first time . After installing it's asking username but i cam't recognize which should my user name. And what's my password
1
vote
0answers
55 views

Bind9 dns server logging options (Ubuntu 18.04)

I want to create a separate file for my DNS server(bind9) to write log. I found some info on how to do it on Ubuntu community page here So I added these lines to /etc/bind/named.conf.local logging {...
0
votes
1answer
28 views

Where does command-line log when it crashes?

In ubuntu bionic beaver (18.04) command-line I have been executing an application script (from a game, FTL, whatever) : I do . ./FTL. Each time the console crashes immediately and it closes, without ...
0
votes
0answers
57 views

{UPDATED: Constantly increasing size of syslog} Why I have(had) very large size of /var/log?

I am on Ubuntu 18.04 I was constantly getting Filesystem.root not enough space warnings. So, I searched on the web a little bit and learned how to inspect disk usage by, sudo baobab Then I saw that,...
0
votes
1answer
41 views

How can I safely purge the archival contents of /var/log and how do I change log retention policies?

The contents of /var/log on my system are now taking up 80% of my hard drive and it's causing a lot of problems. So I need to purge all the old contents but for some reason sudo rm -rf "*.gz" does ...
1
vote
0answers
35 views

Fail2ban continuous log flood, what's happening?

A couple of days ago I noticed my server got very sluggish. When I investigated I noticed fail2ban was going crazy, the fail2ban-server process taking up 50% of CPU, and the fail2ban log file is ...
0
votes
1answer
95 views

18.04 low disk space - using 640GB and more in /var/log/syslog.1

I've noticed several posts about this same topic, but found no reasonable solution. This post suggests deleting the files, but I want to avoid that since I'm using apache and that same post says that ...
1
vote
0answers
132 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 ...
7
votes
6answers
1k views

Tail the “in the last hour written lines from a log file” is it possible?

I am trying to grep looking for a pattern in to a log file, but I need the last hour of the log file. A tail -n XX will not work. Does anybody know if this is possible? Some kind of tail the "in the ...
0
votes
1answer
67 views

Unexpected Rebooting of Ubuntu [duplicate]

An unscheduled system reboot occurred on an Ubuntu environment and the only access you have to this system is via Remote Terminal. • What are some of things you would look at to determine the root ...
0
votes
1answer
38 views

Log for unexpected shutdown

I have a computer with ubuntu 18.04 which has access to the public network and it is always powered since I remotely connect to it to check the status of some devices. Sometimes, i find it powered ...
0
votes
0answers
20 views

Is it ok to delete the contents of var/log [duplicate]

var/log is huge: 4.6GB+. Is it ok to just delete all this stuff? Will it mess up my computer?
0
votes
0answers
41 views

PM: hibernation entry

I have a small domestic server (with Ubuntu 18.04.4 LTS), it works well but once a month more or less, it goes off, it's not serious but I wanted to try to understand what the cause was. I have opened ...
0
votes
1answer
506 views

Ubuntu completely freezes once in a while

I used to have the same problem with Ubuntu 16.04. Recently, I have done a fresh install of Ubuntu 18.04, but still have the same problem. When it happens, keyboard doesn't work, either, and I cannot ...
0
votes
0answers
32 views

How to list device activity

I want to list or display all the activity generated by an external device. For example, all that I copied to and from it with detailed information: size, places, etc.
0
votes
1answer
48 views

no log file from cronjob [closed]

I need to write a script to periodically upgrade the system , I created this test script that does that every 2 mins to check whether it works, however if I run the script and after some time check ...
5
votes
3answers
262 views

Where is the output from startup scripts stored in Ubuntu 19.10?

By removing the parameters quiet and splash from GRUB_CMDLINE_LINUX_DEFAULT line at the /etc/default/grub file, I am able to display the messages displayed by system startup scripts (services) to the ...
1
vote
2answers
56 views

is there any log showing when a server was installed?

I have an old ubuntu server, I know the kernel version, Ubuntu release etc, but Im curious about when the system was first installed, I know it has been upgraded numerous times. Is there any utility ...
1
vote
0answers
255 views

rsyslog suspending while creating directories and files

I'm using Ubuntu 18.04.3 LTS (Bionic Beaver) for details click here. rsyslog version used rsyslogd 8.2001.0.aeabf0e9703b for details click here. /etc/rsyslog.conf file click here. I copied the ...
2
votes
1answer
152 views

texlive problems in log file

I am having problems with my log file in ubuntu. The log files are becoming so big ~8gb that it's slowing my machine down. The log complains of the following: Warning: font `cmr10' not found, ...
0
votes
0answers
33 views

What are these files in my ubuntu/home? [duplicate]

From yesterday, probably after a windows 10 update (I use dual-boot), there are lots of small log files in my /home directory (Screenshot attached below). They're system files but why they're messing ...
1
vote
0answers
655 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 ...
0
votes
0answers
134 views

Run a script as root after ssh login with any user

I am trying to create a custom log file that logs all ssh connections in a specific format. However, I need the log file to only be writtable and readable by root. So, the script needs to be run with ...
1
vote
1answer
17 views

Log file for upgrades

Is there a logfile for the upgrade process of Ubuntu available? My upgrade from Ubuntu 19.04 to 19.10 failed for MySQL but I did not manage to see what went wrong in the terminal window. Therefore I ...
1
vote
1answer
2k views

Disabling “iwlwifi 0000:00:14.3: Unhandled alg: 0x707” from flooding the logs

I have a certain problem with my wifi card, which makes the following message : iwlwifi 0000:00:14.3: Unhandled alg: 0x707 be outputted a dozen of times per second to the syslog and kern.log files ...
1
vote
0answers
78 views

My system is creating 1GB of syslog file Docker errors per minute

I am using Ubuntu 18.04. Recently whenever I start my PC, I get a error message saying 0 bytes left in your /root directory. I used the du command and found out that /var/log/syslog and /var/log/...
0
votes
0answers
42 views

How to check the number of hits on a server using iptables or firewall?

I am trying to check the number of hits on my server. I checked the Apache's access log, which only shows IPs of user accessing Apache service. I want to know hits on all services, including Apache. ...
0
votes
0answers
70 views

Why is the syslog file not created after rotation?

After rsyslog log rotation, there is no syslog file. Syslog1 only The file /etc/logrotate.d/rsyslog itself /var/log/syslog { rotate 7 daily missingok notifempty ...
0
votes
1answer
22 views

Howto avoid journald entry for one program?

On my Ubuntu-MATE Clevo laptop there is the program N151ZU-fan-controller that logging a message 2 times by second. I filtered it in rsyslog configuration in /etc/rsyslog.d/10-N151ZU-fan-controller....
2
votes
1answer
49 views

How to copy files containing a specific phrase to another directory?

I have a huge directory with log-files and want to move files WITH a specific "phrase" in it. i.e. log1.csv ------ containing word "xzy" log2.csv ------ containing word "abc" log3.csv ------ ...
2
votes
0answers
678 views

“gkr-pam: unable to locate daemon control file” warning

When running Ubuntu 19.10 on both Wayland and X11 I am still getting this "important" warning in gnome-logs: gkr-pam: unable to locate daemon control file Does anyone know what it means and what ...
0
votes
0answers
58 views

Getting “TSC_DEADLINE disabled due to Errata; please update” after the update [duplicate]

After the update for Ubuntu 19.10 it won't run. This is what I'm getting:
0
votes
0answers
158 views

Syslog-ng log rotation problem

i have a problem with syslog-ng rotate system. I need that my file rotation is schedule one time a day, example : -rw-r----- 1 root adm 37K Oct 16 192.168.40.240.log -rw-r----- 1 root adm 83K Oct ...
0
votes
0answers
178 views

ubuntu putty serial port connection using linux command and save log data

all I use the following commands to connect and connection is fine sudo putty /dev/ttyUSB0 -serial -sercfg 115200,8,n,1,N I like to save log data as a file, anyone know how to achieve it?
1
vote
1answer
586 views

How do you investigate a system crash when there are no records/logs?

TL;DR How does one actually investigates a system crash when the logs don't show anything? Secondly, how do I prepare for future crashes? Is it possible to have more aggressive/accurate logging? In ...
0
votes
0answers
146 views

Ubuntu 18.04 crashed. I am unable to understand what went wrong

So my Ubuntu 18.04 crashed (froze). It seems like the sound service ended up crashing the entire system. Is it because I have set pulse audio's priority to very high? I changed pulse audio's daemon....
0
votes
0answers
244 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: ...
3
votes
1answer
1k views

log alert: unknown group “power” in message bus config file

Server v18.04 log has many of these: Sep 3 21:32:17 [pcname] dbus-daemon[1179]: Unknown group "power" in message bus configuration file What does this mean?

1
2 3 4 5
13