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

0
votes
1answer
24 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
24 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 ...
3
votes
1answer
28 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
13 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
27 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
595 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
12 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
49 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
605 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
52 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
46 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
36 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
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 ...
1
vote
0answers
30 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
10 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
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
41 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
25 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
20 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
40 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
25 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
39 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
45 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 ...
1
vote
0answers
39 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
38 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
37 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
87 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
53 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
50 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
26 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
63 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
36 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
144 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
1answer
42 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
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?
0
votes
0answers
241 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
38 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 ...
3
votes
2answers
84 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
25 views

How do I write IP of the machine in hadoop datanode log file?

I want to write the IP and Hostname or Username of the machine along with all the other information in the hadoop datanode log file. I know I have to do this by modifying the log4j.properties file in ...
0
votes
0answers
34 views

How can I discover why the game Dota 2 causes a reboot?

The background to my question The main problem is that, when I'm playing a game (Dota 2) the computer restarts only (and only) when the game finish (exactly when the scoreboard appears). It doesn't ...
0
votes
2answers
85 views

How to make room in /var/log partition

Tracking ubuntu 14.04.3 firewall info I enabled ufw full login for a while (now turned back off). Now I'm warned I run out of space in the /var partition. Looking there in I find 3 huge files: ...
0
votes
0answers
11 views

Unable to log in into the Ubuntu [duplicate]

When I try to open my laptop, the screen shows : Waiting for network configuration booting without network configuration... and the dots just go on and on....It has been since last 3 hours. What ...
1
vote
1answer
514 views

Strange Apache error log

I got this error log in Apache2 that is puzzling me: [Wed Dec 30 00:22:14.630133 2015] [core:error] [pid 9104] [client 151.217.177.200:56423] AH00126: Invalid URI in request DELETE your logs. Delete ...
0
votes
0answers
32 views

Suspicous activity cause huge syslog file(over 200G)

I installed a ubuntu 15.10 a few days ago. Two things are running on the ubuntu machine. The first one is "Desktop Sharing", and I use VNC on mac to control the ubuntu machine through IP address. ...
0
votes
0answers
96 views

Huge kern.log file created in one day

I'm sure this has been answered before but I couldn't seem to find any immediate fixes. Basically, I was setting up a VM in VirtualBox but it kept crashing and I kept changing acceleration options ...
2
votes
1answer
33 views

Is there a maximum amount of time that tail -f can reliably run?

I have noticed that when I tail -f various log files (specifically Apache access/error logs), that it ceases to actively scroll output after a certain of number of hours. I am uncertain if this is a ...