Adding messages, mostly warnings and/or errors, to a log file.

learn more… | top users | synonyms

2
votes
3answers
3k views

Getting notified of failed cron jobs

I'm concerned that cron jobs can fail silently for an indefinite period of time on vanilla Ubuntu Desktop 12.04.1 (Precise), and no one will notice. I would like to get a notification whenever a ...
2
votes
1answer
165 views

How do I clear a log file that is currently in use?

I'm trying to clear a log file in use, and all the commands I've tried so far: truncate less tail filename Don't get the job done. Deleting the file and creating a new file with the same name ...
10
votes
6answers
22k views

.xsession-errors file is huge. How can I disable? [duplicate]

I have visited over 30 different forum questions about this very same issue but none of them have been able to point me in the right direction. I don't care what is causing the issue. I don't care ...
2
votes
2answers
891 views

What does “command returned 1” mean?

I am trying to get a command to execute from within my MythTV interface on a Mythbuntu computer. When I try a test command, touch /home/mythbuntu/test, it doesn't work, and I see this entry in ...
1
vote
1answer
560 views

Quickly: Logging from Python application

Consider the following truncated source file (an empty Quickly application with unnecessary lines stripped): import logging logger = logging.getLogger('foobar') class FoobarWindow(Window): ...
3
votes
1answer
144 views

Where are logs stored?

AFAIK applications in Ubuntu track activity and errors beyond what is covered by the "Privacy" setting. (Including, for example, login/logout/shutdown times.) Where are these logs stored?
0
votes
1answer
2k views

How to determine file in “Error opening file for reading” error

Since Ubuntu 12.04, whenever I open aterm, I get the following error message: Error opening file for reading: Permission denied aterm still opens and runs correctly, but I get that error message. ...
0
votes
1answer
255 views

How do I increase the verbosity level of nvidia's drivers in Mythbuntu 12.04?

nvidia says to do this: % startx -- -verbose 5 -logverbose 5 But how can I do it without using startx?
0
votes
1answer
562 views

Computer under Ubuntu 12.04 randomly locking up when inactive

I am sure someone has had a similar problem somewhere in the world, but I've not really been able to find a way out of this. My install is as clean as I can make it (what can you do wrong with ...
3
votes
1answer
717 views

Can't set up public key ssh authentication

I have a fresh install of Ubuntu 12.04. I'm trying to setup ssh public key authentication. Unfortunately, it refuses to work. Running the ssh client in verbose mode I can see that the public keys are ...
8
votes
2answers
6k views

What do UFW's audit log entries mean?

I'm sometimes getting a lot of these AUDIT log entries in ... [UFW AUDIT] IN= OUT=eth0 SRC=176.58.105.134 DST=194.238.48.2 LEN=76 TOS=0x10 PREC=0x00 TTL=64 ID=32137 DF PROTO=UDP SPT=36231 DPT=123 ...
3
votes
3answers
6k views

Does pulseaudio have an error log?

In order to help provide better information for my other question about browsers and Pulse audio, I wanted to see if I could get some kind of helpful log information. However, there doesn't seem to ...
3
votes
1answer
153 views

Is there a way to track a run away process?

Recently I've been getting a rather annoying problem, which seems to be linked to Firefox-Trunk, Thunderbird-Trunk, or possible Compiz (default 12.04 compiz with Unity). At random (it seems) the ...
2
votes
1answer
174 views

Could rsyslog be purging log files?

Today I found a lot of log files empty, these were: /var/log/auth.log /var/log/syslog /var/log/daemon.log /var/log/kern.log /var/log/mail.log /var/log/user.log /var/log/mail.info /var/log/mail.warn ...
0
votes
1answer
952 views

kern.log y syslog crecen demasiado / kern.log and syslog grow too much

Primero felicitaciones, y gracias, ubuntu 12.04, es, impresionante, e impecable. Ahora tengo esta pregunta, los archivos /var/log/kern.log y syslog crecen demasiado, mas de lo que he visto ...
1
vote
0answers
297 views

.ICEauthority is missing [duplicate]

Can I create a new file .ICEauthirity or download it from anywhere? Problem is when I logging in.There is this error message "Can't update .ICEauthority home/user/.ICEauthority".But there is no such ...
3
votes
1answer
304 views

Does the new “privacy” button have a log?

I was just wondering if there was a log that shows exactly what the various applications are taking a history of?
6
votes
2answers
6k views

Where can I find messages related to Apache start up?

Apache didn't start up automatically like it usually does. I'd like to try to find out why. It looks like it never started up today, so nothing in /var/log/apache2/error.log since it never ran. As I ...
3
votes
1answer
3k views

How can I get the command log of a particular user on Ubuntu Server?

Is there a way to find a log of all the commands that have been run by a user on Ubuntu 11.10 Server? I need to find out what my friend ran to install a program.
2
votes
2answers
16k views

Unable to access the server via SSH?

when I am trying to access the server through ssh it says: ssh: connect to host xx.yyy.zzz.x port 22: Connection refused and on the server in auth.log it shows following log entry: Address ...
1
vote
3answers
3k views

ubuntu not logging in

i am using ubuntu 11.10 and i once i logged in and the screen flashed for a sec and came back to the same screen it is happening again and again. i put the ubuntu cd and almost reinstalled it while i ...
17
votes
2answers
12k views

Where are fsck results logged at boot time, after /forcefsck?

When working remotely I set a server to force an fsck at boot time with the sudo touch /forcefsck command and rebooted. After it restarted I checked in /var/log/fsck for the results of the disk ...
1
vote
1answer
97 views

Please suggest one free log manager which will help me to audit all system and services logs in organized format?

I have Ubuntu server 11.10 but without GUI, so it is fine even if that suggest a software or something like that which will intern help me do that. it will be grate if that software can export logs in ...
30
votes
4answers
37k views

How can I free space from a massive 39.5GB /var/log/ folder?

I just got a message from the default disk analyses software (Baobab) that I only have 1GB left on the hard drive. After some search, I found that the /var/log/ folder is the cause of this. Some ...
2
votes
1answer
209 views

Log of people/ip's who connected to my machine through remote desktop

My network has a static IP. And I could see some un-intended user tried to access my machine through Remote Desktop. Where can I see the log of the same? Using Ubuntu 10.04
7
votes
1answer
16k views

How do I disable messages or logging from printing on the console/virtual terminals?

My wireless driver is noisy. It prints out messages to the console every 10-30 seconds. So, if I'm working on VT1 or something, I get messages scrolling by all the time. Is there a way to shut this ...
2
votes
0answers
556 views

Where can I find the log file of my system temperature?

So, I have the lm-sensors package installed, and I can run sensors and get details of my system temperature, like this: acpitz-virtual-0 Adapter: Virtual device temp1: +45.0°C (crit = ...
11
votes
6answers
17k views

How to log all Bash commands by all users on a server?

Our small company runs an Ubuntu Server 11.10, to which a couple of people have SSH access. The actual terminals are sometimes used, too. How can we locally log all Bash commands run, along with user ...
2
votes
2answers
2k views

shutdown logging in ubuntu 10.04 & 11.10

When my system starts up it logs everything into syslog/dmesg. And I can review it for problems. When my system shuts down, where does that get logged? I didn't see anything obvious in /var/log in ...
4
votes
1answer
383 views

Logging program use

I'm trying to find a way of logging what programs other users have been using on the system. I've checked /var/log but don't seem to find anything to show which programs have been accessed. I'm ...
7
votes
1answer
1k views

Log boot messages on tty1 instead of tty7

I'd like to see my boot messages in a different VT than 7. Can it be changed? Can I get the old behaviour - to get a login prompt AFTER all boot-up is complete in TTY1? Regards, aurocha
1
vote
2answers
52 views

Logging of installation of packages

How can I log the installation of packages in Ubuntu? I want to send a message to log every time after a package is installed, like, "Package Installed" with the name of package & it should do ...
5
votes
2answers
6k views

syslog not showing log levels in messages

Here is sample output of my syslog messages in /var/log/syslog: Nov 15 20:20:48 ubuntu winbindd[915]: [2011/11/15 20:20:48.940063, 0] winbindd/idmap_tdb.c:287(idmap_tdb_open_db) Nov 15 20:20:48 ...
0
votes
2answers
2k views

In 10.04 there is /var/log/messages and /var/log/syslog [duplicate]

Possible Duplicate: Difference between /var/log/messages, /var/log/syslog, and /var/log/kern.log? Both these files are present in ubuntu 10.04 yet they seem to contain different ...
2
votes
0answers
70 views

How do I log the name of the process that caused an outgoing internet connection attempt? [closed]

If I enable UFW to block outgoing internet connections and set logging to "low," the log report that appears at /var/log only lists the PID of the application involved, not the application's name. The ...
1
vote
1answer
374 views

Problem logging in with an old home account

I have just installed Ubuntu 11.10 and I am trying to use an old user home directory. My network is set up with a NIS server for authentication. I have installed nis package and configure the passwd, ...
0
votes
1answer
79 views

problem during update [closed]

I tryed updating my ubuntu to the new version today, and it suddenly crashed. I then just had to reboot in mid-installation. Now i cannot even log in anymore, it just shows the hour on top of the ...
5
votes
1answer
342 views

Problems with login: unreadable flashing error

I'm having problems with loggin in on Ubuntu 11.04. I did an install on my laptop after I had Windows 7 installed (dual boot with grub). All went well, but when I am about to login on Ubuntu it gives ...
7
votes
2answers
5k views

How to log memory and cpu usage of an application?

Similar to question How to log CPU load?, I would like to log memory of a process. The process I want to log, is killed on a remote server, and I want to find out the CPU load and the memory usage ...
14
votes
3answers
18k views

How can I receive syslog logs from a networked system?

I'd like to configure Ubuntu to receive logs from a DD-WRT router. The router's configuration screen contains the following section: and its logging documentation reads: If you wish to send ...
14
votes
1answer
3k views

How to run a shell script when a new USB storage device is detected?

I want a script that dumps the log and starts logging on it as soon as a usb mass storage is plugged (with the file 'OKdump' on it).And if anything abnormal(Like a error that is visually present) is ...
8
votes
2answers
790 views

How can I find out which user deleted a directory?

My Ubuntu server has about roughly 30 active users on it. I personally know everyone using the server. Recently, a few friends and I were working on project. We made a new directory for the project ...
10
votes
5answers
18k views

How to monitor & log server hardware temperatures & load

I am looking for a way to log & monitor my server hardware temperatures and load (like for CPU or RAM). How might I do that? Objective is to: ensure hardware is not heating up identify what ...
8
votes
1answer
9k views

Kernel Logging stopped

I found the following line at the end of my /var/log/messages.1 Apr 29 13:58:29 MyLaptop kernel: Kernel logging (proc) stopped. /var/log/messages is indeed empty? This happened when I updated to ...
13
votes
1answer
12k views

How do I find the last logged system boot and shutdown times?

I'm a Rails developer working on a web application on Ubuntu Server 10.04. Due to internal requirements, I was asked to find the last 10 system boot and shutdown times... I have no clue where to find ...
0
votes
1answer
249 views

“Invalid OpenID transaction” when signing into Launchpad

When I click on the "Log in / Register" link on the website https://launchpad.net, I always arrive on a blank page only displaying "Invalid OpenID transaction". This happens every time in Firefox, but ...
28
votes
2answers
44k views

Difference between /var/log/messages, /var/log/syslog, and /var/log/kern.log?

For the purposes of kernel logging, why do I have three different, non-inclusive levels of logging amongst /var/log/messages, /var/log/syslog, and /var/log/kern.log?
6
votes
1answer
939 views

How can I find out which programs have modified a file over some period of time?

I'd like to better understand which programs are modifying a specific file1 during a reboot. Can I set something up to log this kind of information? Polling for which processes currently have the ...
2
votes
1answer
582 views

How do I turn on 'shutdown logging' or operating system tracing?

I have a simple question: how do I turn on logging of the shutdown sequence and X-server, which both keep failing; shutdown that doesn't shut it down, XServer that crashes. I would like to create the ...
8
votes
2answers
12k views

AWStats: cannot access /var/log/apache2/access.log

I installed awstats on my new Ubuntu Lucid server, but when cron tries to run it as user www-data, it complains that cannot access /var/log/apache2/access.log: Permission denied. In ...