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
6 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
53 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 ...
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 ...
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 ...
1
vote
3answers
40 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 ...
2
votes
4answers
5k views

Does Ubuntu log events occurring during the boot?

Is there anywhere in the ubuntu (or linux in general) logs which can record a computer booting up and the OS failing to load, due to a problem encountered during the boot stage?
0
votes
1answer
30 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
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 ...
4
votes
1answer
48 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
1answer
423 views

Somebody help me with my paranoia

I tend to be on the paranoid side, and for some time there are messages in my log file that tend to get me going close to the edge of sanity. Could someone explain the following in my auth.log file ...
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 ...
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
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 ...
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.
5
votes
4answers
5k views

logkeys not working in 12.04

After installing logkeys from synaptic, it does not work, hangs when trying to start, even the output file is not created. Compiling solves this particular problem, but the now the output file is ...
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 ...
7
votes
4answers
7k views

Log SSH activity

All, I have an Ubuntu host that accepts SSH connections. How can I log all commands that are run on a specific account that logs in via SSH? Thanks
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 ...
2
votes
1answer
133 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
47 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
104 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 ...
3
votes
2answers
6k 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. ...
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 & ...
6
votes
5answers
3k 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. ...
66
votes
9answers
9k 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?
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?
0
votes
2answers
1k views

Log files (CUPS) grow so fast!

the past few days I faced a strange issue with my computer. I discussed it here: Server logs are filling my hard disk, how do I fix this? Shortly, log files (in cups folder) grow so fast! I did solve ...
5
votes
2answers
7k views

System log error when running Firestarter configuration program

Running latest Ubuntu ver. 11.04. Using Firestarter firewall configuration (ver.1.0.3). When Firestarter is run, an error message is returned, "Failed to open the system log. No event information will ...
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
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 ...
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 ...
4
votes
2answers
670 views

Is there a way to check when the OS was installed? [duplicate]

I was wondering if there is a way to check the date the OS was first installed. Or maybe when it was first booted. I can't remember when i did d installation n i was just wondering if there was a way ...
19
votes
2answers
10k 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
3
votes
0answers
57 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 ...
0
votes
1answer
84 views

12.04LTS log in fails

I have been using ubuntu for years, but I am ICT challenged. 12.04LTS recently crashed while I was on the interweb. Now, when i try to boot, it asks me to log in. Never had to do this before, and the ...
0
votes
1answer
205 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 ...
5
votes
4answers
2k views

I would like to create a log of all commands typed in terminal

I would like to have a log of all command that are typed on the terminal. I have check "script" but this generates a file with the commands and the responds all together. Is there a way to have the ...
1
vote
1answer
148 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 ...