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
0answers
5 views

Log in problems ubuntu 13.04

I have just installed ubuntu 13.04 as a dual alongside windows 7 using the wubi installation . No as I try to log in I can only log in as guest , has anyone else encounters this problem and if so have ...
3
votes
1answer
52 views

Tens of thousands of failed/denied SSH login attempts [on hold]

Recently a few friends and I came up with an idea for an app. To facilitate the creation of it, we set up LAMP on an Ubuntu Server 12.04. This box is running from my home. We've set up 3 user ...
0
votes
0answers
34 views

How to make sudoreplay work?

I recently discovered sudoreplay whose manpage says that it replays sudo session logs. But I am not sure how do I make it work. For whatever little commands I ran it kept on saying that ...
0
votes
0answers
62 views

Kernel Panic has ruined my entire server, can't identify the problem

As of today all my websites have been down and I cannot connect via SSH/FTP or ping the server. The only access I have is through rescue mode. Apparently the server cannot boot normally due to 'kernel ...
2
votes
1answer
26 views

compression setting for log files in /var/log

For the log files in /var/log, it appears that the wtmp and also the rotated wtmp.n are not ASCII file and can only be read by the last command, so if they are compressed, one has to first uncompress ...
1
vote
3answers
39 views

do,while in bash

I want to get RX and TX from each network adapter, so to get RX and TX from one network adapter, i used this commands : cat /proc/net/dev | grep 'wlan0' |awk '{if ($2) print $2}' | awk -v ...
1
vote
1answer
32 views

log file rotation setting

It is a bit weird that in my /var/log dir, many files such as syslog, auth.log all seem to have older log files (rotated by [0-9], some like dpkg.log even rotates to 12 now), but the important wtmp ...
1
vote
1answer
31 views

how to simplify the info contained in /var/log/auth.log

my /var/log/auth.log contains quite some lines such as "reverse mapping checking getaddrinfo for 224.51.174.61.dial.wz.zj.dynamic.163data.com.cn [61.174.51.224] failed - POSSIBLE BREAK-IN ...
0
votes
2answers
32 views

Where is the log of pppd in ubuntu 13.10?

I am trying to find the debug infromation of pppd on Ubuntu 13.10. I have tried to read the mannual, but I found that the location of the log is for older version Ubuntu. what I have input sudo pon ...
1
vote
0answers
4 views

Open lastlog file from outside

Currently we took a backup of the lastlog file from Server1 and took it to Server2, however, we cant open it since the lastlog command opens only the lastlog of the server we are currently in, but not ...
0
votes
1answer
29 views

How can you read that messages that are shown during boot before X starts?

I edited in my /etc/default/grub, the following line: GRUB_CMDLINE_LINUX_DEFAULT=quiet After that, sudo update-grub, and it now shows me the messages during boot. but how can I read that messages ...
0
votes
0answers
8 views

multiple authentication errors

I have recently installed v12.04, dual booted on XP netbook. It seems to be working ok, but several of the following appear in the authentication log (on Ksystem log). These messages followed a ...
4
votes
1answer
47 views

How do I get information from the logs on my computer when I only have access to the command line?

For various reasons I can no longer access my graphical desktop, and can only login via a tty (Ctrl+Alt+F1 through F6 by default). To help diagnose and solve my problem I need to look through the ...
0
votes
2answers
55 views

is it possible to log Gmail?

I want to know if it is possible to log Gmail using ubuntu in order to find out that who logged in , Honestly my gmail has been hacked and I don't know the password Right now .
1
vote
1answer
54 views

“Unable to open logs” error when I try to restart Apache

When I try to start apache I get the following error root@server11362:~# sudo /etc/init.d/apache2 restart Restarting web server apache2 (98)Address already in use: make_sock: could not bind to ...
8
votes
2answers
119 views

Setting LOG=1 in /etc/environment

I asked a question earlier about viewing the history of notify-osd using the indicator-notifications app. The answer was that I needed to add LOG=1 in my /etc/environment file. That sounded ...
0
votes
2answers
32 views

How to prevent logs from getting too big?

I have a cronjob that runs some Python scripts and they generate massive log file. How do I prevent them from getting so big? It'd be perfect if the file was deleted once it hit a certain size. ...
1
vote
1answer
56 views

split string with awk and delimiter

i have log file like : 1:: 10:: 127.0.0.1 172.17.1.1 i want awk to split string to columns on :: delimiter. some thing like : awk {print$1} and the result : 1 and awk {print$2} and the ...
0
votes
1answer
29 views

Failed to create thumbnail error fills gnome-session.log.1 to 50 GB!

Yesterday I got a message that my /home partition was full so I moved a 10 gb folder to a external hdd. now I got the message again so I did the Disc Usage Analyzer, and I found a 50 GB file in ...
0
votes
0answers
9 views

usb log history overwritten

I need to know how some files have been saved in my computer 7 months ago. I know that they have been copied from a USB peripheral and i know the exact date and time they were saved, i want to ...
0
votes
1answer
28 views

How to track software usage

Is it possible (preferably via some package) to know how many times have I used software? All software. And maybe for how long? Also when was it last opened. The more provided info the better. It's ...
1
vote
1answer
29 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.
3
votes
3answers
57 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 ...
0
votes
1answer
56 views

What does this (root) CMD line in system.log mean? Why is it there?

What does it mean? (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin ...
0
votes
1answer
46 views

Tool like GeekTool [ see logs on your desktop ]

Anyone know of a good alternative to geektool in macos x? I recently switched to ubuntu and miss this tool. Geektool lets you display various information on your desktop, like log files, system ...
0
votes
0answers
9 views

SLPReg error in CUPS log

As I was troubleshooting a printing problem, I came across the following line in the cups error log: SLPReg of "HP_OfficeJet_G55" failed with status -20! It appears to occur every 30 seconds or ...
0
votes
0answers
102 views

How to log firewall logs to a remote Syslog server

After much reading and unsucessful attempts, I do not manage to send some of my firewall logs to a remote server. Here is my setup: The remote server is a synology NAS, on which the syslog server ...
2
votes
1answer
52 views

Why doesn't ssh record failed access in /var/log/btmp?

I want to record ssh failed accesses. I know that I can use /var/log/auth.log but I rather want to use the command lastb. But when I execute lastb, it doesn't show any records from ssh failed access. ...
0
votes
0answers
40 views

Not getting any logs written to auth.log, kern.log, syslog or any other log files

I am not getting any logs in auth.log, kern.log, syslog or any other log files on my 12.04 ubuntu server. There is also no rsyslog.conf if it should be there by default. How can I debug this & ...
0
votes
1answer
56 views

Where can I find OpenJDK JVM crash log

One of my java application crashed. I want to find the JVM log to see what happened. Where can I find JVM logs?
3
votes
1answer
84 views

How to save live log bash input to a file?

When I am teaching a class, some students have problems following my CLI commands and would like to scroll back to be able to repeat the steps in their own speed. So I'd like to log all my inputs in ...
3
votes
0answers
56 views

Empty log file while using logkeys?

I have seen various question of this kind but solutions are not working for me, I am currently using Ubuntu 13.10. I've done: touch test.log sudo logkeys -s -o test.log tail --follow test.log ...
1
vote
1answer
146 views

Log files are taking too much space and I can't delete\clear them

After using Ubuntu for 2.5 months, my /var directory reached around 37 GB or RAM while my / directory is all 50 GB or RAM and the rest of space is for my /home. I found that the following files are ...
2
votes
0answers
19 views

What logfile contains time of startup and shutdown? [duplicate]

I would like to analyze my PC usage and therefore have a list of when I shut down my laptop or alternatively when I logged out from my account in the last month. Is there any logfile containing this ...
0
votes
2answers
47 views

SSH log login attemtp details

I my office we are using Ubuntu Server 12.04. I have installed SSH server in it for clients to access through Putty. Now I need to track the users login details like IP address, hostname and date of ...
0
votes
4answers
48 views

How to tail a log file when removing lines (not appending) of the file?

I want to know how to tail a log file when lines in the files are updating(appending and removing)?
0
votes
1answer
52 views

How to save “initctl” log-priority options?

I would like to save init log-prority debug options. What is the whole process from startup event? However, the init log-priority option to reboot and reset to the message. What should I do? If ...
0
votes
1answer
66 views

freshclam not working because clamav folder in /var/log and /var/log is in ramdisk

I was looking for this on the web but since English is not my primary language it seems that I can not find what I want, that is why my question is here... Intro: I have an SSD and I did some ...
1
vote
1answer
28 views

Login IP's file location

I like to know where the log files that store the SSH logins are located, the last login IP is shown when logged in via SSH so I'm sure they are kept somewhere, can anyone shed som light on this? ...
2
votes
1answer
52 views

log USB connect and disconnect in ubuntu 13.x

is it possible to log USB connect and disconnect in ubuntu 13.x? Also it will be excellent if it could log the connect/disconnect and email to some email address. Is there any program for that? Is ...
2
votes
0answers
95 views

Can I safely change group ownership of /var/log/auth.log?

I am the Splunk administrator working with an Ubuntu 12.04 LTS system and I want to collect events from /var/log/auth.log. -rw-r----- 1 root adm 16534643 Jan 8 09:49 /var/log/auth.log Splunk ...
0
votes
0answers
10 views

How to write log before instalation

My computer crashes while trying to load kernel from LiveCD with message "unable to handle kernel paging request". I'd like to reproduce error output somewhere on forum to get some ideas on where to ...
1
vote
1answer
115 views

Ubuntu corrupted log files

It seems that all my log folders located in /var/log are turning into files. For example, if I try to tail /var/log/apache2.log it will say "no such file or directory" I can see it in the file ...
0
votes
0answers
34 views

Where is the udev error log located?

I'm trying to add some rules to udev. I've added usb_log="info" in /etc/udev/udev.conf, but I can't figure out where the messages end up. They used to be in syslog, didn't they? I just installed ...
0
votes
1answer
149 views

Meaning of files in /var/log/lightdm/ and how to properly read lightdm.log file?

Tracking the slowdowns in the system, I was advised to check the files in the folder /var/log/lightdm/. There I see 4 files as on the image. What logs are recorded in each of them? The other ...
0
votes
1answer
89 views

Can't shut down the computer

When I shut down my computer, it doesn't shut down, only the screen "In progress" is showing, so that I have to push the power button. How do I investigate where the problem is?
0
votes
0answers
13 views

Old entries in dpkg.log after Ubuntu re-installtion

I recently re-installed Ubuntu 12.04. Today I took a look at the System File Viewer and saw entries in dpkg.log from 2012. Was the system uninstalled incompletely?
0
votes
0answers
30 views

how to sign log files?

Rsyslogd is default daemon for providing log files in ubuntu. The possibility to sign log messages through Guardtime, a signature provider, introduced With rsyslog. But there is no manual for do it! ...
2
votes
1answer
131 views

How to remove linux capabilities?

One useful attribute for protecting log files is append-only. When this attribute is set, the file cannot be deleted, and writes are only allowed to append to the end of the file. Obviously, an ...
0
votes
1answer
169 views

Log location for failed Webmin login attempts?

When logging into Webmin from my remote laptop browser I entered my password into the "User" text box by accident. In the past, if I ever enter a password in cleartext anywhere, I create a new ...