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
1188 votes
17 answers
3.1m views

Where is the cron / crontab log?

I want to verify that my cron job is executing and at what time. I believe there is a log for my sudo crontab -e jobs, but where? I searched google and found recommendations to look in /var/log (...
Scott Sz's user avatar
  • 12.1k
299 votes
5 answers
1.1m views

Where are the Apache and PHP log files?

I've installed Apache, PHP, and MySQL on Ubuntu 10.10 desktop edition, and it's working fine. Except I have no clue where to look for Apache or PHP log files.
Stann's user avatar
  • 15.2k
183 votes
5 answers
368k views

How to see Login history?

Is it possible to see the login history, i mean to see if someone has used the computer in my absence and when he used it . if it is possible, where can i get the log ? if not, is there a program that ...
Dzero's user avatar
  • 3,188
174 votes
11 answers
81k views

How can I tell what date Ubuntu was installed?

is there a command which will output the date that ubuntu (or any distribution) was installed?
lxtips's user avatar
  • 1,841
140 votes
3 answers
280k views

How do I keep track of failed SSH log-in attempts?

I'd like to see if somebody has been trying to log-in by brute-force into my Ubuntu 12.04 server over SSH. How can I see if such activities have been taking place?
Ivan's user avatar
  • 57.5k
135 votes
6 answers
749k views

Where are the OpenVPN connection logs and configuration files?

I have problem connecting to OpenVPN server. Where are OpenVPN log files and how do I find the connection details?
Hojat Taheri's user avatar
  • 5,469
108 votes
3 answers
279k views

Where are all the major log files located?

So, if there is some problem with my computer, be it hardware or software, what are the major log files and where are they located? Also, is there a generic location where log files of the other ...
green's user avatar
  • 14.3k
104 votes
4 answers
169k views

Where is "journalctl" data stored?

When I issue journalctl I get a massive log of all system services, but where is all this information stored?
php_nub_qq's user avatar
  • 1,529
100 votes
5 answers
432k views

How to see log to find a boot problem

I want to find the cause of a boot problem I have tried ls -ltr /var/log from antony@antony which gives me login incorrect can someone tell me what command to use to see what has upset the boot ...
Antony's user avatar
  • 1,393
81 votes
5 answers
374k views

Where can I find the iptables log file, and how can I change its location?

I have this rule in my iptables: iptables -A INPUT -s 192.168.11.0/24 -j LOG My question is: Where is the iptables log file, and how can I change that?
pylover's user avatar
  • 2,315
74 votes
2 answers
121k views

Where is /var/log/messages?

Just installed natty, and cannot find /var/log/messages. Also, /var/log/daemon.log is missing. What happened? Why are they no longer present? And where I can find the same log information?
John Ianadus's user avatar
73 votes
4 answers
203k views

Very large log files, what should I do?

(This question deals with a similar issue, but it talks about a rotated log file.) Today I got a system message regarding very low /var space. As usual I executed the commands in the line of sudo ...
Masroor's user avatar
  • 3,153
63 votes
4 answers
180k views

How do I log all input and output in a terminal session?

How do I keep logs of all the work done via terminal? For example, I want a record of all the work done on database via terminal.
Ankit's user avatar
  • 6,819
59 votes
5 answers
91k views

Where is log file from rc.local?

I have some commands to in my rc.local. I know that they are failing. How can I get log file with messages produced by executing rc.local? Where is it located? I have checked the /var/log/boot.log. I ...
vladimir's user avatar
  • 1,517
57 votes
3 answers
189k views

How do I disable messages or logging from printing on the console/virtual terminals?

My wireless driver is noisy. It prints out messages to the console every 10-30 seconds. So, if I'm working on VT1 or something, I get messages scrolling by all the time. Is there a way to shut this ...
dpb's user avatar
  • 7,119
51 votes
3 answers
102k views

Ubuntu freezes. Which logs can I check out?

So my computer has lately started freezing completely when I run some programs that, in the past, would work great. What I am unsure about however, is what logs that are available to me that could ...
Industrial's user avatar
  • 1,698
48 votes
2 answers
98k views

Where are network manager logs? (16.04)

I have new Ubuntu and I want to debug some errors in network settings. I cannot find log for NetworkManager. /var/log/syslog and /var/log/daemon.log - what people recommend on this stack exchange in ...
Karel Bílek's user avatar
  • 2,514
46 votes
4 answers
115k views

How can I track the cause of random reboots?

A Thinkpad X220 (Core-i5, SandyBridge, Intel GMA) running Precise 64-bit has rebooted hard twice in the last four days. I was doing nothing more than writing an email. No warning. It just went black, ...
Andre's user avatar
  • 2,061
45 votes
5 answers
184k views

Can I delete /var/log files due to low root space?

Just had the message: Low disk space.. 2 GB left Judging by a posted message on ubuntu.org forums, I found that I have a .log file in /var/log at 22 GB in size! My root is an 82 GB partition and ...
Paul B's user avatar
  • 755
44 votes
8 answers
196k views

Where is the VLC logfile for errors?

I tried to open a blu ray with VLC, but I got this error message: VLC is unable to open the MRL 'bluray:///dev/sr0'. Check the log for details. For further information I have to read a log from ...
sharkant's user avatar
  • 1,311
43 votes
7 answers
54k views

GUI for watching logs (tail and grep)

Could you recommend a GUI application with powerful log watching capabilities? Generally it would work as tail -f in GUI, but on top of that following features would be very useful: filtering out ...
Grzegorz Oledzki's user avatar
42 votes
2 answers
195k views

Where is Xserver log file located?

My Ubuntu 10.10 sometimes totally freezes. I suppose that it is somehow related to my graphic card and would like to check Xserver log. Where is this file located ?
tommyk's user avatar
  • 4,506
42 votes
1 answer
167k views

[Firmware Bug]: TSC_DEADLINE disabled due to Errata - what should I do about this?

I saw several bugs and error messages when I was looking by chance into the tool called "logs". Being a newbie in Ubuntu I have no idea how to deal with these bugs, where to report them or how to fix ...
Nermeen Hussein's user avatar
39 votes
4 answers
147k views

Where are kernel panic logs?

I've got problem with Handbrake/ffmpeg. After ~5 minutes transcoding, the computer locks up. I'm fairly sure it's a kernel panic because caps-lock starts flashing. There are a few logical questions ...
Oli's user avatar
  • 295k
39 votes
4 answers
109k views

Where are the NetworkManager logs?

A previous poster on the regular forums ( http://ubuntuforums.org/showthread.php?t=843991 ) said /var/log/daemon.log, but I don't seem to have such a file. Do I need to enable logging?
gatoatigrado's user avatar
  • 1,863
38 votes
2 answers
117k views

Why I'm getting this [UFW BLOCK] in my syslogs?

I wonder why I get this error on my syslogs: [7732763.396193] [UFW BLOCK] IN=eth0 OUT= MAC=02:8b:1a:75:d5:7b:02:8b:1a:40:00:03:08:00 SRC=x.x.x.x DST=x.x.x.x LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=53703 ...
batman's user avatar
  • 8,021
34 votes
2 answers
50k views

Where is the shutdown log?

I am trying to debug a hang during shutdown and I don't find where the messages that I see during shutdown are being stored. They aren't in /var/log/syslog
Óscar's user avatar
  • 1,006
33 votes
5 answers
66k views

How do I check if last shutdown was clean?

How can tell that my last shutdown was properly done in Ubuntu 11.10 or if the machine was powered off before shutting down the OS?
Vikramjeet's user avatar
  • 5,686
32 votes
5 answers
29k views

Displaying a "scrolling" log file

Via command line, I have a log file I'd like to keep track of. What I want is to have, basically, a tail that refreshes when the log is updated making the text scroll upwards as new lines are ...
WernerCD's user avatar
  • 652
30 votes
3 answers
31k views

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's user avatar
  • 11.1k
30 votes
2 answers
129k views

Where does Ubuntu 14.04 log SSH access attempts? [duplicate]

Trying to find out why fail2ban is not working. Where does Ubuntu 14.04 log SSH access attempts?
timbram's user avatar
  • 2,045
30 votes
2 answers
29k views

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 ...
Hamish Downer's user avatar
30 votes
0 answers
91k views

What can I do to find the crash reason [duplicate]

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 ...
Ives's user avatar
  • 1,203
29 votes
5 answers
24k views

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 ...
markrich's user avatar
  • 1,410
29 votes
1 answer
31k views

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] ...
Jonas Grønbek's user avatar
27 votes
5 answers
73k views

No logs are written to /var/log

I have a problem, that no logs are written to /var/log. -rw-r----- 1 syslog adm 6.4M May 21 2014 syslog -rw-r----- 1 syslog adm 5.7M May 21 2014 daemon.log -rw-r----- 1 syslog adm 494K May 21 ...
stil's user avatar
  • 721
27 votes
7 answers
64k views

var/log/syslog growing indefinitely in size

The disk that contains Ubuntu on my computer is 115GB in size. When the disk was 114.7GBfull. I started deleting some files here and there to free up around 5GB. But I noticed the disk was 114GB ...
ant_1618's user avatar
  • 761
25 votes
1 answer
44k views

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 ...
stdcerr's user avatar
  • 1,090
24 votes
6 answers
62k views

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 ...
Strae's user avatar
  • 1,970
23 votes
5 answers
65k views

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/*...
pylover's user avatar
  • 2,315
23 votes
2 answers
52k views

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's user avatar
  • 243
23 votes
6 answers
39k views

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. ...
willbeeler's user avatar
  • 1,929
21 votes
2 answers
76k views

How to view results of last clamscan scan?

I scanned pen drive using clamscan and I closed the terminal after scanning without reading the result. Now one of my folders on the pen drive is missing. I wanted to know if clamav deleted it. So ...
Abhijit Navale's user avatar
21 votes
3 answers
51k views

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 ...
Alex Dupond's user avatar
21 votes
2 answers
22k views

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[...
ændrük's user avatar
  • 77.2k
20 votes
6 answers
13k views

Filesystem filling up due to large uvcydnctrl-udev.log file

Now my installation of Ubuntu costs me more than 100 GB of the hard drive space. And whenever I try fslint and fdupes, they say Permission denied to delete the duplicates. Please help me guys. ...
user84055's user avatar
  • 493
20 votes
3 answers
49k views

Filter any system log file by date or date range

What I want to achieve: I'd like to filter a system log file by date, i.e. when I do: $ cat /var/log/syslog | grep -i "error\|warn\|kernel" it prints lines like these for the three last days let ...
s.k's user avatar
  • 1,330
20 votes
2 answers
11k views

systemd on 15.04 won't log stdout of unit

I'm currently trying to make a systemd unit as a web server. Currently, my foo.service file looks as follows: [Unit] Description=The Foo Web Server [Service] Type=simple ExecStart=/opt/foo/.cabal-...
Athan Clark's user avatar
19 votes
6 answers
38k views

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.
TarabydaVllasıCafcaflıAtArabsı's user avatar
19 votes
3 answers
17k views

How can I know when my screen was locked last time?

Exist a log where I can look for that information? I want to know last days when my PC automatically locked the screen because was idle.
user avatar

1
2 3 4 5
16