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

3
votes
1answer
52 views

Accidentally deleted /var/log/syslog

I accidentally deleted /var/log/syslog and now I can't get rsyslog working. I was googling, I tried everything I found. To be precise: I created syslog with touch. Then I set chmod and chown ...
0
votes
2answers
30 views

Are log files written to when a buffer fills or in 'realtime'?

I have a script running which pipes its output through another script; that wrapper script adds a timestamp to each line of the log. However the data is being written to the log file in chunks of ...
3
votes
1answer
28 views

Redirect iptables logging to another logfile

I have followed the recipe by @Gilles in this answer. I succeeded, but the problem is that the iptables logging now goes into 3 log files, syslog, kern.log and iptables.log. Ideally, I want the ...
1
vote
0answers
29 views

How to stop logging user login history?

I have noticed a History button in System Settings > User Accounts on my newly installed Ubuntu 15.10 system. It brings up a log of recent login sessions for the selected user. How can I disable ...
3
votes
1answer
33 views

what does this mean for a module to have a bad taint?

When looking at the syslog (dmesg), I get several of: <module name>: module has bad taint, not creating trace events What does this mean ?
0
votes
0answers
18 views

Where Ubuntu Gnome Looking Glass / extensions logs are stored?

I've started to playing around with extensions for ubuntu gnome, gnome-shell version 3.18.5. During the development I've encountered a problem finding logs from my extension or even the one used ...
3
votes
0answers
60 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 ...
2
votes
1answer
47 views

How to see information of a WiFi hotspot I once tried to connect to?

I would like to see some information, including MAC address, of a WiFi hotspot that I tried to connect to and failed in the past. I can not try connecting to it again any more, because it is not a ...
2
votes
0answers
35 views

bash.bashrc damaged..ubuntu log in loop and no interactive programs working from terminal

I have accidentally deleted the content of /etc/bash.bashrc and now I cannot log in as it gives me a loop and I cannot run any interactive programs from the terminal. When I try, I get this error: ...
2
votes
1answer
78 views

How to include millisecond in syslogs?

I have configured rsyslog.conf file in /etc to include my own logs as syslogs in a file at /var/logs. But after opening the file I got this: Jun 5 10:09:09 lab-Altos-G330-Mk2 slog[19689]: Hello1 Jun ...
5
votes
2answers
111 views

Is there software which time- tracks window & application usage?

Is there a software which keeps time of my activities and gives a report? Based on focused window and window title. Report would just show time spent for specific window and its title like: ...
0
votes
0answers
17 views

Understanding the reason behind a freeze using system logs to file bug

My Ubuntu laptop just froze a few minutes ago (like it is frequently doing) making me reboot it using the hardware forced way. I would like to know the cause behind it so that if necessary I can file ...
0
votes
0answers
32 views

Graylog2 Windows logging from a current syslog-ng loghost aggregator

So our environment currently has a log host aggregator sending and receiving logs to 2 hosts (both linux and windows). I just introduced graylog to our environment and it doesn't appear to be ...
0
votes
1answer
18 views

Logcheck not sending email

I just installed logcheck, modified its config to my email address, but when i prompt a test run i dont get the email. If i redirect the output to STDOUT i get the correct infos. I read somewhere ...
0
votes
1answer
44 views

Apache2 failed to start on Ubuntu 14.04, log file is empty

I just try to install apache2 on my 14.04 Ubuntu server but I get an error: * Starting web server apache2 (98)Address already in ...
2
votes
1answer
33 views

logkeys log file has wiered output

I have a Ubuntu 15.10 install and recently installed logkeys. and I followed up with the log file with after installation and creating the log file. tail --follow test.log it generates weired ...
1
vote
1answer
39 views

How can I log all notify-send actions?

I keep getting very strange notifications which go away before I can read them, they are long, and appear at random times, the most recently one came up was during a kernel upgrade, it had a strange ...
0
votes
1answer
18 views

Is there a file with system log?

In Ubuntu there's a program called System log, with log of system and all that you do with Ubuntu. I would ask if would be possible create a file.txt that refresh automatically with log from 'System ...
0
votes
1answer
31 views

How do I debug openstack-install command?

Is there a debug command or log that can be viewed to look into sudo openstack-install error
3
votes
4answers
611 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
28 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
0
votes
1answer
62 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 ...
10
votes
3answers
937 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?
1
vote
2answers
56 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
0answers
11 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
52 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
1answer
39 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
29 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
13 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 ...
0
votes
0answers
31 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
12 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 ...
0
votes
1answer
28 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
44 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 ...
1
vote
1answer
37 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
23 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 ...
1
vote
1answer
53 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.
3
votes
1answer
26 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 ...
0
votes
2answers
54 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 ...
1
vote
0answers
47 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 would ...
1
vote
0answers
62 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
0answers
41 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 ...
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
47 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
117 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
65 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
60 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
29 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
70 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
0answers
40 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.
0
votes
1answer
268 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 ...