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

learn more… | top users | synonyms

10
votes
2answers
458 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?
2
votes
4answers
555 views

Is there a log of all activity I could open in terminal?

I'd like to have a terminal opened and study the processes and everything happening in a regular use of Ubuntu. What commands and files can I use to see the logs in real-time? Thanks.
0
votes
0answers
7 views

Troubleshooting logkeys keylogger - Logkeys dumping wrong character in the log file

This is what I am doing after installing logkeys. sudo logkeys -s sudo nano /var/log/logkeys.log
5
votes
4answers
18k 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 ...
1
vote
1answer
4k views

init.d script doesn't log to /var/log/boot.log

The script below is working fine at system startup. However, its log messages don't show in /var/log/boot.log, when the system boots. I compared it with other init.d scripts and couldn't reach any ...
0
votes
1answer
23 views

Troubleshooting Logkeys Keylogger Ubuntu 14.04 - Empty log file

This is what I am doing. sudo gedit /var/log/logkeys.log Then I would look at my log file to see if it worked and saw that it was blank! Is there any way that I can fix this so I can be able to ...
0
votes
0answers
49 views

ubuntu 16.04 goes into black screen with a login prompt

Ubuntu 16.04 at start up goes into log in screen TTY1 and then goes into normal window
3
votes
1answer
11k views

Ubuntu 14.04 - logrotate does not rotate /var/log/* (rsyslog config)

I have a bunch of Ubuntu 14.04 servers I manage where logrotate is not rotating anything under /var/log/*. I'm going to assume its an issue with the /etc/logrotate.d/rsyslog as I see other entries in ...
1
vote
2answers
48 views

Get unique lines from log using grep and tail

I have the following log file. I want to extract the last 10 unique entries from this file. Is it possible to do with grep and tail? 2016-04-18 10:13:11,925 (glastopf.glastopf) 115.239.248.245 ...
0
votes
1answer
42 views

Where can I find my call history on Ubuntu Phone?

This seems oddly missing on my nexus 4. I received a phone call the other day, and I forgot to add her as a contact. Now I am searching for that phone call, and I can't find a log readily accessible ...
0
votes
0answers
9 views

Can I deiconify a console on a certain output?

I would like to have a terminal window which deiconifies as soon as it shows an output. With it I would monitor log messages on a terminal -- say with a tail -f. The terminal would loom in ...
0
votes
1answer
43 views

Log file bloat due to nouveau

Both my kern.log and syslog files have grown to >50Gb and contain a few hundred million lines of: Feb 23 23:32:43 Yawning-Angel kernel: [396111.179453] nouveau E[ PFIFO][0000:05:00.0] PBDMA0: ch 2 ...
0
votes
1answer
35 views

How to keep record of Logins and Actions

I've just created a Windows Server 2012 Domain and I inserted an ubuntu 14.04LTS laptop in the domain, which is responsible for file exchanging with a USB between the domain users. How can I keep a ...
0
votes
1answer
28 views

Logging Bad Sectors

Is there a program that will maintain a log of growing bad sectors? I want to measure the regression of my hard drive automatically as opposed to manually taking screenshots. UPDATE: After running ...
0
votes
0answers
12 views

Scrambled screen everytime trying to execute a program

I am new to ubuntu and just installed 14.04 32 bit on an old machine for testing. It is a lenovo desktop which the spec is as following. After the installation, the screen will scramble everytime I ...
1
vote
0answers
27 views

How to restrict root's installation capabilities

I've found out some time ago that users who install software via sudo apt-get install ... or any of the GUI tools (Update Manager or Software Center) show up in the /var/log/auth.log which makes it a ...
0
votes
0answers
8 views

Ubuntu server stuck on splash screen?

After restart my ubuntu server gets stuck to splash screen? All programs start up i can login with alt + f2 and open "log" "console" (ssh and samba server works) whole thing ends in stopping cpu ...
100
votes
3answers
276k 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.
0
votes
1answer
25 views

how to trace errors and crashes in Ubuntu itself?

I'm new in Linux, My Ubuntu has started crashing for some days randomly and closing everything, going back to login screen!! Is this the same as when windows hangs and you kill a program? (but ...
0
votes
0answers
34 views

Did my ubuntu shutdown properly last time?

When I came back to my laptop it was shut down. Last time it suddenly turned off. This time as I was away I do not know what has happened. I even cannot remember if I shut it down or not. I read the ...
18
votes
4answers
16k 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 ...
1
vote
1answer
16 views

How to create a special log for my ntpdate?

ntpdate -s 0.asia.pool.ntp.org s:Divert logging output from the standard output (default) to the system syslog facility. tail /var/log/syslog The ntpdate log will be seen. I want ...
1
vote
1answer
17 views

How to check logs for all connections Linux made to servers and/or downloads

I downloaded Sophos a few days eariler, but now I'm worried I might've got it from a bad source. Is there a way to check to see where I've got it from without using the download list of Chromium (It ...
0
votes
2answers
5k views

Sending UDP packets with `logger` command

I have couple different solutions for running custom syslog server (based on https://gist.github.com/marcelom/4218010). The problem I am facing is that the following command does not send UDP packets ...
1
vote
1answer
35 views

How can I build a scrollable, colored syslog viewer with less, ccze, grep?

I'd like to view logfiles with colored output, scrollable and searchable. How do I do that? I tried less /var/log/syslog | ccze | grep error, but it is not scrollable.
11
votes
2answers
39k 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 ?
0
votes
2answers
36 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 ...
3
votes
1answer
23 views

Need Help Freeing Disk Space

I need help freeing up diskspace, From Disk Usage Analyzer it says that my Log Files have taken up more than half of the Disk Space. Is there a way to get clear up the Log Files? I've tried to delete ...
1
vote
2answers
406 views

cupsd using 100% CPU, creating large (80GB+) error_log

A few days ago I realized my Ubuntu machine wouldn't load after login. After some digging around on a liveCD I realized my HDD was at 100% capacity, so I deleted some large files and was able to log ...
1
vote
0answers
44 views

Troubleshooting Ubuntu via Remote Terminal

In a situation where an unscheduled system reboot occurred on an Ubuntu environment and the only way to access the device is via Remote Terminal. What are some of the things you ...
0
votes
0answers
37 views

Why gnome-session is outputting so many logs?

I found an old bug about this, here. And lazy answer here. But I'm not sure because of this answer. Why its reaching around 30 GBs? Is it necessary or is this bug? I deleted file because it filled ...
90
votes
10answers
20k 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?
1
vote
0answers
30 views

Date and time for log files different to `date`, `timezone` etc

On a Ubuntu 14.04 vps, my timezone is set to UTC/GMT. root@Ubuntu:/# date Fri Mar 11 13:36:56 GMT 2016 root@Ubuntu:/# cat /etc/timezone Europe/London root@Ubuntu:/# ls -l /etc/localtime ...
0
votes
1answer
37 views

Server rebooting unexpectedly

In the past month, I've noticed that our Dell PowerEdge T630 (Ubuntu 14.04.3 LTS) server is rebooting unexpectedly (Jan 29 were manual reboots): $cat /var/log/wtmp.report | grep boot | grep -v 'Jan ...
0
votes
0answers
17 views

Logs not generated in syslogs

Last night system restated but there are no logs for 14 mins before system went for reboot. But only one thing is there in syslogs. ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ I am using Ubuntu 14.04.
0
votes
0answers
33 views

what did apport send as an error?

This is what I found so far: thufir@mordor:~$ thufir@mordor:~$ cat /var/log/apport.log ERROR: apport (pid 4232) Mon Mar 7 01:21:55 2016: called for pid 4231, signal 11, core limit 0 ERROR: apport ...
1
vote
1answer
71 views

/var/log/mail.log getting huge

I have an issue with Ubuntu 14.04 server. The issue is that the /var/log/mail.log is getting huge and its saturating the server. My question is: is there a way to do some automatic log rotating so ...
0
votes
1answer
46 views

where to find Terminal log history with commands and it's results?

I tried to install Yocto project in Ubuntu 12.04, when for the first time i got few warnings, and i gave a rerun then i got some other warnings in the terminal. Now, my terminal is exceeded it's ...
0
votes
1answer
23 views

Remove output from add-apt-repository, without hiding true errors

I'm trying to script that will automatically install some packages. One of the lines I have in the script is: sudo apt-add-repository ppa:brightbox/ruby-ng -y > /dev/null But try as I may it ...
0
votes
0answers
60 views

Fatal: Invalid user settings. Refer to server log for more information

Which server log should I refer to? Just trying to send local mail: thufir@mordor:~$ thufir@mordor:~$ tail /var/log/mail.err Feb 18 00:15:02 mordor dovecot: lda(root): Error: chdir(/root/) failed: ...
0
votes
1answer
102 views

Cannot open mailbox /var/mail/<user>: Permission denied

Why can't I read mail with the mail command? (There's almost certainly a problem with the mail-stack-delivery configuration, either postfix or dovecot, or both, but I should still be able to at ...
0
votes
0answers
34 views

How to read sar file from different ubuntu system

I am using two different version on ubuntu one is 14.04 and other is 15.10. I want to read 14.04 systems sar files from ubuntu 15.10 system. I have transferred the sar files but can't read it.
6
votes
3answers
5k 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 ...
20
votes
2answers
36k 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.
0
votes
1answer
14 views

Include apt.history.log in systemlog

I am trying to find a way to Include apt.history.log in the systemlog so the logs will automatically be sent to a remote centralized log server I have running. But is this something there is ...
0
votes
0answers
6 views

why do some log directories need x permissions? [duplicate]

I have some log directories that were causing me problems when I did not have x permissions for their owner, why would writing a log file require x permissions?
3
votes
2answers
73 views

Logging script output to a file

I wrote a simple script to monitor my gpu clocks and temps. I wanted it to, aside from being visible on the terminal, log its output on an external file. How could I achieve this? My script below, for ...
0
votes
0answers
192 views

“pci=nomsi,noaer” in “/etc/default/grub” : any downside?

Because my kern.log and syslog files were growing to immense size, I added the subject entry to a line in /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=efi,pci pci=nomsi,noaer" ...
2
votes
0answers
35 views

How to make a key stroke recorder (for non-malicious purposes)?

When you first look at this question and its title you are going to assume that I want this for malicious purposes, however that is not the case, it is because I type a lot of things, and sometimes ...
49
votes
3answers
62k 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 ...