Questions tagged [log]

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

Logs on an Ubuntu system include:

  • Logs from the Linux kernel and system services like , stored in /var/log. These can also be accessed using the command. See .
  • Server logs, automatically created and maintained by a computer of activity performed by it. These can include or access logs. For questions about monitoring these logs, especially on servers, see or .

This tag is for questions about how to interpret the logs on an Ubuntu system, or controlling what and how should take place. (See also .)

764 questions
32
votes
2 answers

Can I look at the upgrade log after a distribution upgrade?

I've upgraded to Ubuntu 12.04 and did it offline using the alternative CD . I didn't look at the "packages to remove" section before clicking next - I've done Ubuntu upgrades many times and assumed it was just the normal set of obsolete library…
Hamish Downer
  • 19,614
32
votes
1 answer

Understanding UFW log

What does this UFW log mean? Has already asked a similar question, but I want to know explicitly what each line of the UFW log means Feb 6 16:27:08 jonasgroenbek kernel: [71910.873115] [UFW BLOCK] IN=eth0 OUT=…
31
votes
0 answers

What can I do to find the crash reason

I'm running Ubuntu 18.04, it crashes about once a week. Sometimes while watching video sometime or just web-browsing. I check the system log and kernel log they don't have any strange output at the crash time, last output before crashing is…
Ives
  • 1,233
30
votes
3 answers

No more boot logging since 16.04?

I noticed that my /var/log/boot.log file has date 2016-04-22, last time I booted in 15.10. Where are Xenial boot.log files located?
jasmines
  • 11,491
30
votes
8 answers

var/log/syslog growing indefinitely in size

The disk that contains Ubuntu on my computer is 115GB in size. When the disk was 114.7GB full. I started deleting some files here and there to free up around 5GB . But I noticed the disk was 114GB filled again. I thought it was some cache or swap…
ant_1618
  • 841
30
votes
2 answers

Where does Ubuntu 14.04 log SSH access attempts?

Trying to find out why fail2ban is not working. Where does Ubuntu 14.04 log SSH access attempts?
timbram
  • 2,325
  • 5
  • 21
  • 21
29
votes
5 answers

Redirect UFW logs to own file?

Is there a way I can easily redirect the entries for UFW to their own log file at /var/log/ufw instead of filling up /var/log/syslog as it's becoming tricky to find solutions to problems with all this UFW stuff flying past me?
markrich
  • 1,441
25
votes
1 answer

Why is my virtual machine inaccessible?

I want to start my virtual machine but in VirtualBox Manager , it says it's inaccessible and that I should be inspecting the error log which says: Document is empty. Location: '/home/ron/VirtualBox VMs/Semios Win7 /Semios Win7 .vbox', line 1 (0),…
stdcerr
  • 1,100
  • 5
  • 20
  • 37
25
votes
6 answers

Exim PanicLog has Non-Zero Size...?

I'm getting the following error from my Ubuntu server: exim paniclog /var/log/exim4/paniclog on (my server FQDN) has non-zero size, mail system might be broken. I found a solution on the web here . Basically, I just need erase the paniclog by…
willbeeler
  • 2,029
24
votes
5 answers

How to truncate all logfiles?

can anybody give me a solution to truncate all logfile in /var/log/ directory? and a question just for knowledge, is it a good idea or not? #!/bin/bash LOGDIR="/var/log" for logfile in $(ls $LOGDIR/*log) do truncate -s 0 $logfile done
pylover
  • 2,435
24
votes
6 answers

When an application crash without output an error, is there a log that i can check?

Sometimes it happen that some application crash without give no output error ( conky in my case, probably is one of my configuration that is incorrect). Is there somewhere a error log that I can check to understand why it is crashed?
Strae
  • 1,980
24
votes
6 answers

How to Solve Increasing Size of MySQL Binlog Files Problem?

MySQL Binlog files count is increasing day by day and their size is increasing in gigabytes. How can I stop the increasing size of binlog files? They are fulling the disc space.
23
votes
3 answers

How can I make a detailed report of ClamAv scan results (location of infected files)?

I'm scanning with ClamAv and I got the following summary: ----------- SCAN SUMMARY ----------- Known viruses: 4724261 Engine version: 0.99 Scanned directories: 128878 Scanned files: 791920 Infected files: 29 Total errors: 25699 Data scanned:…
23
votes
2 answers

Does Ubuntu log when USB devices are connected?

When I connect a USB drive to an Ubuntu OS, would there be a text file which contains details of that connection and if so, where is that file located ? What is the name of that file?
Neil
  • 243
22
votes
2 answers

What is the "canary thread" and why is it starving?

The following occasionally appears in /var/log/syslog : rtkit-daemon[1145]: The canary thread is apparently starving. Taking action. rtkit-daemon[1145]: Demoting known real-time threads. rtkit-daemon[1145]: Successfully demoted thread 1431 of…
ændrük
  • 79,214
1 2
3
…
50 51