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

learn more… | top users | synonyms

13
votes
1answer
9k 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
95 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 ...
27
votes
4answers
28k 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
205 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
4
votes
1answer
13k 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
480 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 = ...
8
votes
6answers
14k 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
360 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
51 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 ...
4
votes
2answers
5k 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
67 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
372 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
336 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
4k 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 ...
13
votes
3answers
15k 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
2k 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
723 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
15k 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 ...
7
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 ...
11
votes
1answer
10k 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
226 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 ...
27
votes
2answers
36k 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
840 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
571 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
10k 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 ...
3
votes
1answer
1k views

What version of syslog does Ubuntu 10.04.1 install default?

I am planning a rsyslog deployment for my department using Ubuntu 10.04.1 - I cannot seem to find which version of syslog Ubuntu installs by default in the documentation, syslog-ng, sysklogd, old ...
4
votes
1answer
370 views

Can I limit the amount of logging to “/var/log”, especially for “bootchart”?

I've just noticed that I have 342 MB of log files in /var/log In particular /var/log/bootchart takes 329 MB of this space! As I'm only running a home desktop environment, I can't see how I need ...
4
votes
1answer
3k views

Where does compiz log error messages?

I'm having some trouble with compiz and dual monitors (see Why won't visual effects work with a dual monitor setup), and I'd like to check the compiz logfiles to see what, if anything, might be ...
46
votes
6answers
74k views

How can I monitor the memory usage?

I have used top to see the memory usage at the moment. But I would like to monitor the memory usage over a period of time. E.g start monitoring and then execute a few commands, and final stop the ...
6
votes
2answers
3k views

How to log boot messages?

I'm trying to check the boot log messages in the file /var/log/boot on Ubuntu 8.10 & 9.10 and I found it empty with the message (Nothing has been logged yet.). The bootlogd service is running at ...