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

-1
votes
1answer
39 views

How to create logfile for a bash script?

I've written a bash script that runs multiple instances of a program and would like to write the entire output of the script to a logfile. I tried #!/bin/bash touch <.../somewhere/logfile.log> ...
1
vote
1answer
20 views

log cron job in real time

I have a Python process which I run nightly via a crontab. It scrapes an API which I have limited access to so regularly has to stop and wait for an hour. By my estimates the job should take 5-6 ...
0
votes
2answers
6k views

Unable to locate tomcat log file

I am not able to locate the tomcat log files on ubuntu. I looked into /var/log/tomcat6 but the output are these file, catalina.2012-11-23.log catalina.out localhost.2012-11-23.log ...
4
votes
2answers
3k views

How to truncate all logfiles?

can anybody give me a solution to truncate all logfile in /var/log/ directory? and a question just for knowledge, is it a good idea or not? #!/bin/bash LOGDIR="/var/log" for logfile in $(ls ...
0
votes
1answer
15 views

Identifying syslog files, also does auth.log mirror what is in /vars/syslog?

I am writing a auth log parser as a means to contribute to a tool and to learn linux logging better. I have been reading up on syslog and log facilities and was wondering if what is in auth.log will ...
0
votes
1answer
24 views

How do you get those nifty transparent log displays?

So I've seen plenty of displays of transparent logs or running logs or htop instances on what appear to be fixed areas of a desktop. I think this is something like root-tail but I can't get root-tail ...
207
votes
4answers
396k views

Where is the cron / crontab log?

I want to verify if my cron job is executing and what time. I believe there is a log for my sudo crontab -e jobs, but where? I searched google and it I found references to look in /var/log ...
0
votes
0answers
15 views

How do I get a log of the start up error messages?

After encountering several "file is not writeable" errors out of the blue and rebooting, the system doesn't seem to be able to see the linux partition and it scrolls over the original error messages ...
1
vote
2answers
10k views

Why can't I write to a file even after 777 permission? [closed]

On my ubuntu server I have Apache and PHP, when I run a php file containing this code: <?php if(!file_put_contents( '/var/www/myfiles/folder/data/new_rewrite/531e5c5d1e16c3eae28b1489cd34ccb30', ...
-1
votes
0answers
28 views

URGENT ~ Need help with ddrescue interrupt and resume

I'm in the midst of a hard drive recovery using gddrescue on Zorin 9 (Ubuntu variant). Both the source and destination drives are connected internally to my tower, and neither is the os drive. Neither ...
1
vote
1answer
51 views

Computer automatically switches on in the morning

I have a small but annoying problem. For a while my computer has been switching on randomly in the morning around 3:45 AM or so. I have no idea how to fix this, i have checked a lot in the system ...
0
votes
0answers
14 views

How to check service logs

I would like to know when/who start/stop a service in linux? Is there any log to show those information?
0
votes
0answers
16 views

Why did my PC shut off last nght and how do I find out if it was a sensor alarm?

I tried following all of the answers to Which log will tell me why my computer shut down? but all I did was find a messages.1 file which had old messages (3 month old). Other than I found the logs of ...
0
votes
0answers
25 views

my disk is full every hours because of /var/log/ [duplicate]

I'm having a hard time with Ubuntu. I don't know how but it keeps generating log after log and it ends up filling my disk; to keep working I erase /var/log (I know I shouldn't do it) and reboot the ...
0
votes
0answers
20 views

Is there any way to recover email that PHP tried to send when sendmail wasn't installed?

We recently shifted a web app to a new server and didn't realise for a few days that sendmail wasn't installed. Is there any way to recover the email, or some of the header details, of emails that ...
0
votes
0answers
28 views

How can I find out which application/service is filling up /var/log so MASSIVELY?

My laptop disk showed me that I had '0' bytes of free space left. I was in shock. I thought computers have started lying (that was the extent of my disbelief since there was absolutely nothing that I ...
1
vote
3answers
45 views

How to dump user's environment into a file?

I want to dump all user's environment into 'env.log'. Please tell me the command to do this.
1
vote
1answer
594 views

“mei_me 0000:00:16.0: no destination client found 0x00002285” spamming logfile, fix?

ubuntu 14.04 desktop install. Have fully up to date security and regular updates. syslog file gets spammed with thousands of this entry: kernel: [15863.834330] mei_me 0000:00:16.0: no destination ...
0
votes
1answer
89 views

CRON doesn't run tasks because “/bin/bash: /var/log/cron.log: Permission denied”

I have the following CRON task: MAILTO="my@email.com" # Begin Whenever generated tasks for: projectname 30 4 * * * /bin/bash -l -c 'cd /home/deployer/apps/project_production/releases/20150305135322 ...
1
vote
2answers
1k 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 ...
0
votes
5answers
885 views

How to log memory usage per minute on Ubuntu Server?

I checked few programs such as htop or top command but couldn't find any features for logging per minute. Is there a way to do that for tracking memory issues ? edit: I was using linode and decided ...
6
votes
1answer
541 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 ...
10
votes
4answers
52k views

Where are the OpenVPN connection logs and configuration files?

I have problem connecting to OpenVPN server. Where are OpenVPN log files and how do I find the connection details?
7
votes
3answers
10k 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. ...
3
votes
0answers
117 views

how to track a crash when changing from X :1 to X :0?

I need to track on 14.04 a crash that often happens here: I open a new X at :1 (that sometimes goes to ctrl+alt+f8 others to f9). But when I try to go back to X :0 with ctrl+alt+f7, it crashes ...
0
votes
0answers
25 views

How force Logcheck to report fail2ban bans?

I'm using Logcheck to take care of my logfiles and suspicous activites. I also installed fail2ban and get sometimes... I would like to be informed then fail2ban blocks an ip.. but logcheck is not ...
0
votes
0answers
54 views

Simple proxy server just to log visited sites

What simple proxy server could you recommend to log visited sites from different users and from different browsers at single Ubuntu host? I want to get log file like this: user1 ...
0
votes
0answers
78 views

minimal data showing in auth.log

I have locked my server down and to help troubleshoot any holes, I look in the logs, especially auth.log. In the logs, it shows that there are attempts to log in but no data shows. I am not able to ...
0
votes
0answers
21 views

get kernel panic log

My system keeps hanging every several hours. I think the problem is somehow connected with network, because plugging ethernet cable eliminates the problem (even if ethernet is used locally only). If I ...
1
vote
2answers
55 views

Should /var/log be on an hdd partition when / is on an ssd?

I keep reading that /var/log should not be on an SSD as it gets written to all the time. I'm installing Ubuntu and SSD and am wondering if I really need an extra partition for this folder on my HDD, ...
1
vote
0answers
1k 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
3answers
66 views

Is there a log of package management activity like recent removals?

Is there a log that shows recent activity done by the package management, like apt-get, dpkg, synaptics? For example, you removed a bunch of packages but realized that a not-tracked application (for ...
3
votes
2answers
371 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 ...
6
votes
6answers
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. ...
1
vote
1answer
6k views

Thousands of pam_unix log entries in logwatch

My logwatch reports, within the CRON section, contain thousands of entries like those below. How can I either reduce the number of log entries OR have logwatch ignore them? Jan 30 18:49:01 ota3 ...
2
votes
1answer
132 views

Check which SSH key was used to login

So stupidly enough in our development team every individual SSH Key is used to access the root user directly. When Checking the auth.log I can find this Dec 18 09:45:04 webserver sshd[12377]: ...
0
votes
2answers
72 views

How can I access network statistics (like bandwith/data usage) in logs for the past 2 weeks?

I want to extract network statistics of past two weeks. It should contain information like the uploads and downloads, also the network speed (bandwith ) I received. I tried system monitor, but ...
0
votes
0answers
11 views

Logging snmpbulkwalk with net-snmp

I am trying to log the command for snmpbulkwalk using the command snmpbulkwalk -Lf /etc/snmp/snmplog -v 2c -c public 192.168.2.4 1.3.6.1.4.9 I can see that the file /etc/snmp/snmplog is being ...
0
votes
0answers
261 views

Ubuntu virtual host AWStats setup

I have many virtual hosts in Apache like /etc/apache2/sites-available/ example01.com.conf example02.com.conf example03.com.conf etc.. All above listed virtual hosts have their own Apache access.log ...
0
votes
0answers
10 views

Is there a log for the HUD?

I changed the Icon for one application in the ~.desktop file and it works properly. The new icon appears in both the dash and the launcher. In the HUD though the Icon appears if I don't write ...
0
votes
2answers
680 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
55 views

munin send mail about permission denied to munin-update.log

I have install munin, but CRON send me mail about an error: Can't open /var/log/munin/munin-update.log (Permission denied) at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 103. but the ...
11
votes
2answers
7k views

Does Ubuntu log when USB devices are connected?

When I connect a USB drive to an Ubuntu OS, would there be a text file which contains details of that connection and if so, where is that file located ? What is the name of that file?
0
votes
1answer
105 views

Sending different kill signals to init - how to log

I have to write a C program to check how init reacts to different kill signals, however I am not sure how to log it - for example signal number 14 crashes the ubuntu, then some higher one turns it ...
0
votes
1answer
888 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
1answer
65 views

Avg on Ubuntu access log file

I'm using avg 2013 on my 12.04 LTS.I want to access the log file where avg stores the infections. I'm having tried to open the avgevtlog file in this directory:/opt/avg/av/bin/ but i have no ...
0
votes
0answers
30 views

Monitor print jobs/pages printed per IP address

We use an honor system for printed pages, but since someone's been misusing our trust I would like to monitor/log the amount of pages printed per IP address. Is there any software (or script) that can ...
-1
votes
1answer
41 views

Disable all Logs

I use my Ubuntu vps with openvpn as a surf proxy. For security and privacy reasons i want to disable all logs on the server. So no IPs are getting loged in any file. I already disabled rsyslog ...
0
votes
0answers
24 views

A question about logs (security)

I was taking a look on this page, about knowing if I'm being hacked, but I got a question. It says that: If large chunks of time (more than 5 minutes) are unaccounted for in a log file while the ...
0
votes
0answers
18 views

Where can i find the change log of Ubuntu touch (devel-proposed)? [duplicate]

I'm currently using Ubuntu touch on my nexus 5. Where may I find the change log of every update I get?