Adding messages, mostly warnings and/or errors, to a log file.
0
votes
0answers
10 views
Cannot get syslog-ng to work
Having installed Zoneminder, I am now being flooded with the message:
WAR [Corrupt JPEG data: 1 extraneous bytes before marker 0xd9]
Now I realise this is probably down to a naff IPCam, but I'd ...
1
vote
1answer
19 views
stdout log files from an executable
When starting an executable from the terminal various messages are printed in window.
My question is where are these messages logged when you launch the application without a terminal ( by double ...
0
votes
0answers
11 views
Log file trigger execution of script [duplicate]
If there is an bad login to Mysql it is logged with the IP in /var/log/mysql/error.log. While that happens, I want a script starts with the log line as input parameter to the script.
I was hoping to ...
0
votes
0answers
14 views
Log the power usage from electric grid?
is there a way to log the power my computer uses from the electric grid (i.e. power plug)?
When on battery, I can obviously use powerstat.
Any how can log this to a file?
Here's an example:
...
0
votes
1answer
17 views
I have some problem in logging in
When I tried to log onto my user ID, it does not accept any password. Previously also, I used to confront the same problem. But then, I would go for opting 'switch user option' when a circular shaped ...
-1
votes
0answers
12 views
ubi on windows phone does not work. Clainms No internet connection! [closed]
Im trying to log in on ubi (ubuntu 1) on my windows phone (lumia 900) but it says i dont have internet connection, even though i have. What is the problem?
0
votes
0answers
15 views
How to stop sending boot logs to network?
A while back I was busily debugging the boot process on my desktop, and I enabled something that would send the boot messages over the network to another computer.
This was super clever, and I knew ...
0
votes
1answer
39 views
How to tell what is logging bandwidth [duplicate]
I've been having everything that goes through my NIC logged and I'm not sure how it happened. The last thing I installed was webmin and I'm not sure if that changed a setting or not but as of today ...
2
votes
1answer
47 views
how do I clear out log files and such [duplicate]
I have 9.5 GB of log files and would like to clear them from my system and keep that much stuff from being created, how do I do this?
Here is the output from sudo du -sh /var/* ~/.xsession-errors:
...
2
votes
1answer
36 views
How do I set up a logging server for Access Points?
I have a linksys AP, nothing fancy, but it does have a logging utility.
How do I make that send the logs my Ubuntu 12.04 server.
0
votes
0answers
91 views
What tool to use to log battery status in Ubuntu 12.10
What daemon-like tool use to log battery status (to get real time of work on battery) in Ubuntu 12.10 Quantal Quetzal?
I have tried to use battery-stats-collector but it doesn't work: ...
2
votes
1answer
87 views
ubuntu 11.10 /var/log/auth.log
I use Ubuntu 11.10. And I want it to write logging messages about failed ssh log in attempts to /var/log/auth.log. In my understanding /var/log/auth.log is supposed to hold all failed ssh connection ...
0
votes
4answers
101 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 ...
3
votes
0answers
81 views
asynchronous logging via rsyslogd(8) and write buffer increase
On a pretty high traffic web site running in virtual containers (VMware) and lacking local storage, we've managed to increase throughput (requests per second) significantly by switching from logging ...
2
votes
1answer
46 views
What is the default apache2 log format and where is defined such default?
I review (a fast reading) Apache Module mod_log_config and can't figure out what is the apache2 default log format and where is defined it. Any idea?
Note that what is on
...
0
votes
0answers
22 views
How to analyze uptime log file?
I'm simply logging my uptime command like that uptime >> somefile.log with cron job, Is there any (free) tool helping me to graph my uptime or analyze it ?
8
votes
2answers
130 views
How do I redirect Google Chrome Logs out of my kern.log
I have hundreds of these log entries:
Feb 13 16:46:56 XXXX kernel: [42982.178922] type=1701 audit(1360799216.852:1514): auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=5529 comm="chrome" ...
0
votes
1answer
32 views
Log file size or age
I'd like to change various log files (particularly auth.log) to retain info for anywhere from the last 30-90 days. Right now it only has about 4 days worth of info. How do I modify these settings ...
0
votes
0answers
63 views
How can I find out whether my hard drives ever spin down?
I want to know whether, over the course of a typical week, my hard drives ever spin down. I'd like to know how often this happens, and at what times.
Where can I find this information, or how can I ...
1
vote
0answers
27 views
Are the reasons for a keyboard layout change logged?
In trying to solve this problem (Summary: my keyboard layout keeps switching back to the default without any notable reason) I would very much like to see why a layout switch occurred.
Is there any ...
2
votes
1answer
120 views
Why can't I access my desktop after installing Lubuntu?
I installed Lubuntu 12.10 in my netbook through USB Drive. Now I cannot get access in my desktop after login. I can see only one thing on my screen.
Welcome to ubuntu 12.10(GNU/linux 3.5.0-17- ...
2
votes
1answer
349 views
How to enable logging for Google Chrome in Ubuntu 12.04?
I'm trying to capture the logs for a certain bug I'm having with Google Chrome. However, I can't find/enable logs for GC.
According to this Chromium project page, I just need to add the flags ...
4
votes
1answer
137 views
How stop Ubuntu from reading my password out loud every time I log on?
I turned on a certain feature on the login screen and now my password is read out loud when I type it on login. What did I turn on, and how do I turn this back off?
3
votes
1answer
89 views
What's changing the owner on my log files?
I have several log files in /var/log/mythtv that need to be owned by mythtv.users. In versions of Ubuntu prior to 12.10 if I did:
sudo chown mythtv.users mylogfile
that worked fine and my log files ...
0
votes
0answers
63 views
Logs are written to *.log.1 instead of *.log
For some reason my log files are writing to the *.log.1 files instead of the *.log files, e.g. for my Postfix log files it is writing to /var/log/mail.log.1 and not /var/log/mail.log as expected. Same ...
2
votes
1answer
350 views
rsyslog not rotating at fixed file size
I am trying to create a separate log file for a application in Linux. So far I have created a .conf script to separate log in custom log file based on program name and it's working correctly.
But, I ...
1
vote
1answer
115 views
Give rsyslog read access to all log files that I want to monitor
I'm using the $InputFile facility in rsyslog to monitor various log files scattered around my ubuntu 12.04 server. E.g. nginx, unicorn, rails, postgres, cron etc. Now my problem is, that some of these ...
-1
votes
1answer
27 views
apt-get and login problem
I had a problem when I try to update my ubuntu "12.04LTS": Accidentally I turn off my computer, while the update was running. When I turn it on and try to complete the update, he always told me, that ...
2
votes
1answer
31 views
Which logfile(s) log(s) errors reading a cd?
I introduce a CD-RW, maybe blank (I really don't know), and after a little movement inside the reader, the CD is ejected without any message at all. I would like to know what is going on and the ...
2
votes
1answer
52 views
How to change location where logs are stored?
I am running out of space and would like to move my logs to recover some room on my SSD. My question:
I have an SSD (mounted at /) and regular hard-drive (mounted at /mnt/d2). How can I change it so ...
0
votes
0answers
147 views
A question about the cobbler-ubuntu-import bash script
I have been testing the latest cobbler for PXE booting Ubuntu 12.04.1-server-x86_64 and 12.10-server-x86_64 using a Scentific Linux 6.3 host to run the cobbler server. With the former, I got ...
0
votes
2answers
105 views
tail stops displaying in case of a log rotation
I have to tail the log of a server (servicemix) and the log rotation is enabled. As soon as the rotation happens, tail stops displaying. I did some investigations and it is a bug in Debian : Debian ...
2
votes
2answers
779 views
nagios3 Error: Could not read object configuration data!
I have a brand new install of nagios3 on ubuntu 12.04. After I log in to the web interface and click any link I get the error:
Error: Could not read object configuration data!
Here are some things ...
2
votes
1answer
119 views
How to Trace my Network's Steps
Question (concise version):
Where in my log files would I find information regarding the networking steps executed between the time I have left the login screen and the time I have landed comfortably ...
3
votes
1answer
236 views
How to find an ip of connected vnc client from vncserver log?
I run the vncserver using vnc4server.
I take a look in ~/.vnc/ubuntu:1.log
It only show something like this.
Sat Oct 6 20:40:12 2012
Connections: accepted: 0.0.0.0::2043
SConnection: Client ...
3
votes
1answer
87 views
Is there a log for copied files?
Suppose someone copies a file to a DVD or pendrive.
Is there a log where I can see that?
2
votes
0answers
39 views
How to log processes in daemon-mode?
I would like to save the standard output of the program motion in a text file. If I don't use motion in daemon-mode I would simply do it by:
motion > log.txt
But what is the equivalent when I ...
2
votes
2answers
373 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
0answers
95 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 ...
3
votes
5answers
5k views
.xsession-errors file is huge. How can I disable?
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 ...
0
votes
0answers
181 views
How to diagnose vino authentication failure from Unity 2D? (12.04)
I'm using a new installation of 12.04LTS running Unity 2D.
I'm trying to configure Remote Desktop.
I've used vino-preferences to allow access. I've tried both with a password and without a ...
0
votes
0answers
334 views
rsyslog isn't logging kernel messages
I'm running rsyslogd version 4.2.0 on Ubuntu 10.10, and I'm having trouble logging kernel messages.
The rsyslog configuration files look to me like they instruct rsyslogd to log kernel messages to ...
2
votes
2answers
147 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 ...
0
votes
0answers
109 views
How to debug Ubuntu restarting randomly?
Lately I've started having an issue where ubuntu will randomly restart on me. It usually happens soon after coming back from a hybrid suspension and takes the form of my screen suddenly going black ...
1
vote
1answer
134 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):
...
2
votes
1answer
91 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
830 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
106 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
373 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 ...
0
votes
0answers
297 views
Black Screen just after login - 12.04 [duplicate]
Possible Duplicate:
My computer boots to a black screen, what options do I have to fix it?
I installed Ubuntu 12.04, I restarted my computer and the login screen appeared, then I put my ...

