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
vote
2answers
42 views

What do these numbers mean in syslog?

I'm trying to determine why MySQL server process is being killed due to out of memory, so am looking at the sylog. Immediately before the 'out of memory' I see lots of lines with differing numbers but ...
1
vote
2answers
26 views

Is it possible to log all items installed, modified, removed? (Ubuntu Server 14.04.2)

Is it possible to log automatically when things are installed, removed or modified at my Ubuntu server? It would be nice if I can view the log to see what I (as root) did modify, install, remove. ...
0
votes
2answers
3k 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
5answers
3k 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
3answers
351 views

Erased root trash but still getting no memory

I was coding my site on Apache Server. Suddenly an error came and I got the warning This computer has only 1.3 GB remaining. I knew that this was because of the log file in ...
1
vote
1answer
21 views

Where does Ubuntu 14.04 log SSH access attempts?

Trying to find out why fail2ban is not working. Where does Ubuntu 14.04 log SSH access attempts?
0
votes
0answers
101 views

How to install and setup graylog-server and graylog-web on Ubuntu from repositroy?

I am trying to setup graylog on Ubuntu 14.04. I tried to find out installation steps on internet I found few links. but their method of installation is manual I mean installation from the source. and ...
2
votes
1answer
37 views

how to customize logs?

As you know better than me any action in linux store in log files, like /var/log, I was wondering is there anyway to customize the log file in linux, for example in this case I'm the root of my ...
0
votes
1answer
36 views

org.freedesktop.DBus.Error.UnknownMethod on auth.log

My auth.log is full with error messages of freedesktop, most of them look more or less as follows: May 25 07:59:40 lati dbus[425]: message repeated 7 times: [ [system] Rejected send message, 3 ...
2
votes
2answers
25 views

Is it possible to make ubuntu logless

Can I disable the logging features for any app running under Ubuntu? I want to make my system totally logless is it possible?
1
vote
1answer
49 views

Linux Crashes every time I word process [closed]

Linux crashes every time I word process. It doesn't matter if its a .doc, .docx or odt file. Doesn't matter if I'm using LibreOffice Writer, AbiWord, or IBM Symphony. It also does it when looking ...
1
vote
0answers
12 views

Squid3: acl proxy_auth not working in log_access

I'm trying to configure a Squid3 proxy server so that it doesn't log the requests made by authentificated users. I've tried the following config (squid.conf): acl Users proxy_auth REQUIRED log_access ...
0
votes
2answers
7k 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 ...
2
votes
2answers
4k views

create log file just for ssh

I use ubuntu 10.04, contained ssh. I want to create a log file that stores all the activity on ssh (only ssh). Like in /var/log/auth.log but only for ssh. Like /var/log/ssh.log. So, file ssh.log will ...
0
votes
0answers
32 views

How to figure out the reason for automatic log-outs on Ubuntu Unity and GNOME 3?

My installation of Ubuntu 15.04 logs-out automatically on both Unity and GNOME 3, it doesn't do it on GNOME Fallback. Is the Xorg 0 log file the place I should go to in order to figure out the reason ...
1
vote
2answers
87 views

Rotate nohup output

I'm working with weblogic 10.3.5 under ubuntu 12.04. Weblogic is started using nohup ./startWebLogic.sh ...
1
vote
0answers
27 views

How to access user's activity log

How can I get the log that says programs which are opened by user with time stamp . I would like to develop a system to monitor and give suggestions using this user activity log.
0
votes
0answers
22 views

R/Shiny WebApp logs, running in shell (Ubuntu crontab)

I'm running, using crontab, an R/Shiny WebApp. The crontab expression looks like this: @reboot R -e 'shiny::runApp(...)' | tee /var/log/shiny-server.log I've also tried @reboot R -e ...
1
vote
1answer
71 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 ...
7
votes
1answer
4k views

How to see Login history?

Is it possible to see the login history, i mean to see if someone has used the computer in my absence and when he used it . if it is possible, where can i get the log ? if not, is there a program that ...
1
vote
1answer
48 views

Crontab - don't log? How can I do it right?

I've search for a answer of my problem but I can't find the right one. So I try it my self. I've got an Ubuntu Server and try to create a TeamSpeak3 Server - check file with loggin function. This ...
2
votes
0answers
3k 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 ...
8
votes
3answers
11k 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. ...
0
votes
0answers
34 views

Cannot find log of application started through init.d script

I have created a .deb package of my scala application using sbt. I have successfully installed the application and am able to run it properly. Now, I want to start my application on system startup. ...
0
votes
0answers
36 views

LibreOffice 4.3 Error Logs - Where are they?

I cannot find out why LO Base cannot connect to mysql. Where are the log files located? I am running LO 4.3, mysql 5.6, on 14.04LTS.
0
votes
0answers
48 views

Unable to start bootlogd

Since none of my boot messages are logged on Ubuntu Server 15.04, I tried: sudo service bootlogd start Failed to start bootlogd.service: Unit bootlogd.service is masked. This is related to systemd. ...
1
vote
2answers
130 views

systemd on 15.04 won't log stdout of unit

I'm currently trying to make a systemd unit as a web server. Currently, my foo.service file looks as follows: [Unit] Description=The Foo Web Server [Service] Type=simple ...
0
votes
1answer
25 views

Unable to log in Ubuntu 12.04 LTS

I am unable to log into my Ubuntu 12.04 machine, username and password prompts reapper again. I can only log in as a guest.
2
votes
1answer
75 views

Is it safe to delete btmp from log on ubuntu 14.04 rackapace server?

Basically I want to clear unwanted log files from ubuntu 14.04 rackspace cloud server. as files are using too much space. can I remove following log files from server ? /var/log btmp (35.4 MB) ...
2
votes
1answer
104 views

Change iptables log format

Is it possible to change the log format of iptables ? I want to add the ssh_client in the log. I have already made an iptables rule for outgoing ssh iptables -I OUTPUT -p tcp --dport 22 -j LOG ...
1
vote
1answer
42 views

Lastlog grows to 4.2G after SSH logout

Running a VPS with Ubuntu 12.04.5 LTS. Noticed a spike in disk usage. Turns out the culprit is lastlog. Overwrote it with >/var/log/lastlog. After logging out of the session and logging back in, ...
4
votes
3answers
1k views

Why does Ubuntu create the file /var/log/boot?

Why does Ubuntu 10.04.4 and 11.10 create the file /var/log/boot and does not fill it except with the text: "(Nothing has been logged yet.)"?
1
vote
2answers
103 views

How to view '/var/log/syslog' contents without crash

For various reasons it is necessary for me to check the log of my computer in /var/log/syslog, but this has become a bit of a problem because I am not actually able to view the logs in that file ...
3
votes
0answers
154 views

Keylogger with Persian and English keymap on Ubuntu

I want to log which characters I use most in a day and to log all pressed keys in all application. How I do this in Ubuntu?
3
votes
1answer
27 views

No logs are written to /var/log

I have a problem, that no logs are written to /var/log. -rw-r----- 1 syslog adm 6.4M May 21 2014 syslog -rw-r----- 1 syslog adm 5.7M May 21 2014 daemon.log -rw-r----- 1 syslog adm 494K May 21 ...
0
votes
2answers
97 views

Logging every time a command is run

I want to log every time I run a certain type of command in the terminal. For example, every time I run: sudo apt-get install [something] I want to add [something] to a log file in my home ...
0
votes
1answer
18 views

Does the auth.log changes when I update?

As always, I have been using the Software Updater to search and install my updates. I know that the syslog and the dpkg.log changes when I update my system, but the auth.log also changes? Since it ...
0
votes
0answers
53 views

Redirecting iptables log works but logging continues in kern.log file too

Yes, I have gone through similar questions asked. My problem is that I am able to log the iptables log in another file. However, the log entries also get logged in kern.log file. I have the following ...
1
vote
0answers
19 views

Eclipse Juno crashes frequently, no logs

I downloaded Eclipse Juno CDT and am using it with Kubuntu 14.04 . Unfortunately, it keeps crashing on every other action I take... for example, if I try to load the Editor options - crash. I can't ...
3
votes
1answer
576 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
0answers
17 views

Stream has outstanding operation - error when opening Sytem Logs

Every time that I turn on the computer, I always start the System Log, where I can have easy access to auth.log, syslog, bash_history, etc. But, yesterday, every time that I open it, There is an ...
1
vote
1answer
15 views

Is it possible to find all the config file replacements done during apt-get?

When you perform a do-release-upgrade, or just a dist-upgrade, if a package contains a new config file for a program, you get prompted what to do. Now, you can pick whether you want to accept ...
1
vote
0answers
33 views

Massive log file and 100% CPU usage for 'upstart'

I have a fresh install of Ubuntu 14.10, and I installed some programs like MATLAB, Chromium, Evolution and other fairly harmless stuff. However, I have run into some trouble recently. The file ...
-1
votes
1answer
225 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
53 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 ...
4
votes
2answers
4k 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
26 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
37 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 ...
227
votes
4answers
440k 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
30 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 ...