All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
62 views

Where does rasdaemon record its logs?

/var/log/syslog contains: Jul 31 13:45:01 ray-desktop CRON[5667]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Jul 31 13:45:50 ray-desktop org.gnome.Shell.desktop[1689]:...
0
votes
0answers
36 views

Connecting the Wifi dongle is freezing the linux system?

I am a bit new to linux environment. My Linux System is freezing when I am connecting to wifi dongle. It works fine when I start the system without dongle, but the complete system hangs when I ...
2
votes
2answers
41 views

Is there a way I can copy logs from one directory to other in continuous fashion

I have a log file in some directory /A. Is it possible to maintain the same in /B directory considering the fact if the file in /A updates will update file in /B also, without re-writing the entire ...
0
votes
0answers
5 views

Window minimizing when ROS checking log directory for disk usage

I would like to have a window maximized 24/7 but it is minimizing every time when the ROS log directory is checked for disk usage. Getting message Checking log directory for disk usage. This may ...
1
vote
1answer
28 views

Writing logs for openvpn in Ubuntu18

I've installed openvpn on Ubuntu18, and it works. I'd like to have a log containing only the times when users connect and disconnect. Found a hint how to do it at [https://github.com/furlongm/openvpn-...
0
votes
1answer
13 views

SMB Not Able to Use Date Command Substitution

smbclient //10.10.101.29/it -W WORKGROUP -U user --password pass -c 'put ./file_$(date +%Y_%m_%d).file ./folder/file_$(date +%Y_%m_%d).file' The above does not work & gives me an error stating: ....
1
vote
0answers
56 views

How to see laptop camera logs on Ubuntu

I would like to know if it is possible to discover when my laptop camera was used over the past 7 days. eg. Is there a log for that? I am running on a Ubuntu 18 machine.
0
votes
1answer
58 views

Log ethernet in lan [closed]

It is planned to install a clean ubuntu server 18.04 on a machine with two network cards. One card will receive internet from the provider. The second is the local network through which users will ...
1
vote
0answers
25 views

systemd looking for update-rc.d when I try to enable redis service in Ubuntu 14.04

I was trying to install redis from source in Ubuntu 14.04 and Ubuntu 16.04. I did followed everything exactly from this tutorial. Only difference was that my logfile path was /redis/logs/redis-server....
0
votes
1answer
33 views

MESSAGE=anthony … USER=root <— Does this mean that the root user is the actual user but “anthony” will be displayed as being the user anyway?

I found this in /run/log/journal/... MESSAGE=anthony : TTY=pts/10 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/find / -name *systemctI* I'm wondering what this means? I'm suspicious of this process "...
1
vote
2answers
75 views

How can a log print to display while shutdown, reboot or startup?

As we all know, when we reboot, shutdown or startup a system, some message will be printed on the screen, here is a capture: My system is Ubuntu 16.04, I know these log messages as above come from ...
1
vote
1answer
40 views

Track active logging to log files

Is there a way to track which service/file is actively logging to a log file? In this case taking info from the syslog file and creating a file called filtered.log. I'm not seeing a process for ...
1
vote
1answer
350 views

Log Console Output [duplicate]

Is there a way to not only protocol/log the console inputs (like the history), but also the console output by default (without the constant usage of pipes)?
0
votes
1answer
26 views

Viewing content of http body from apache2 logging

so I am sending custom http post/get/put requests to my apache2 server and I would like to log exactly what is received by the server. So far I am using ForensicLog module and that allows me to see ...
3
votes
0answers
279 views

sda:sda1 keeps showing up in dmesg

dmesg logs is 'filled with' the following : [613051.997981] sdf: sdf1 [613052.068773] sdf: sdf1 [613352.060804] sdc: sdc1 [613653.176468] sdc: sdc1 This just continues on and on about every 300 ...
0
votes
1answer
618 views

How to check the logs to see what process created a file? [duplicate]

The file dead.letter keeps appearing in my home folder. I want to know what process is responsible for this, but there is no information on the creator of a file in the file itself. However, I believe ...
1
vote
0answers
512 views

Files in /var/log are only writing to file.1 (syslog is empty, but not syslog.1 )

The host is a docker container running Ubuntu 14.04 I am trying to figure out why the primary log files are not being written too, I have attached output of the files and permissions. I am hoping to ...
3
votes
0answers
415 views

Where is ssh dynamic tunnel traffic log?

If a client established a ssh dynamic tunnel to a Ubuntu server, is there a log file on the server that records all the detailed traffics (client’s browser, etc.) on that tunnel? If there is, where is ...
0
votes
1answer
378 views

Create custom log ubuntu

I use ubuntu and would like to create a custom log for the authentication information on the server. It is currently written in /var/log/auth.log Would it be possible besides write it in auth.log it ...
1
vote
1answer
1k views

ufw logs too much stuff, how can I disable that?

I happen to find out that syslog.1 takes 27 Gb and the logs in it have been inserted by the firewall ufw. How can I disable or reduce logging that much stuff into syslog by ufw?
2
votes
2answers
5k views

What is location of user login logs?

I want to know the details of user logins of my Gnu/Linux servers (RHEL7 and Ubuntu 16.04) e.g. who, from what IP, when. So what is the location of the log files, from which I can find the list of the ...
1
vote
0answers
2k views

Why my logrotate is not working?

I'm trying to rotate my application's log daily, but for some unknown reason, it's not working. If I debug its logrotate definition, it says that it won't rotate it. However, only when I force its ...
3
votes
2answers
3k views

How can I debug Nautilus crashes?

Is there a log file I can peruse, or settings somewhere that might give me a clue? I'm running GNOME nautilus 3.14.3 ("Files") in Ubuntu 16.04.
0
votes
1answer
961 views

Problems creating log file of mono-service assembly output

When we start in the mono-service mode on Ubuntu Linux 16.04 in the background, we would like to create and store a log file at wherever the user wants. I tried this URL, stackoverflow.com/questions/...
1
vote
3answers
238 views

send message to log file after package installed

How can i send a message to a log file (not the apt log) after the installation of a package. I simple want to log which package (package name) was installed. ie. "links installed successfully"
1
vote
0answers
46 views

Syslog config syntax

I have setup a syslog server to test it out and its working perfectly fine. I want to understand what this syntax is actually doing in the rsyslog.conf file of the server that I added as guided by ...
0
votes
1answer
1k views

Dynamic file name doesn't work in rsyslog

The filename in rsyslog can be either static or dynamic. The later is useful if you would automatically split messages into different files based on some message criteria. I need split logs depend on ...
4
votes
2answers
4k views

Linux - Log What Username and Password Was Tried

I am using Ubuntu Server and I am curious if there is anyway to log what username and password a potential attacker has tried. I can grep /var/log/auth.log and see all the failed attempts but I would ...
1
vote
2answers
88 views

Apache access.log getting updates after renamed

I have a file on my Ubuntu system called access.log that file get all my errors on my website. The problem is that file its to big right now so I renamed for access-old.log and create a new file ...
3
votes
4answers
13k views

How to know boot time on Ubuntu

How to get via terminal log of system boot time for last month. I tried to use last boot command, bit it returned information from the beginning of month.
2
votes
0answers
97 views

How to determine what event is disabling Sticky Keys?

I have an ongoing problem with Kubuntu 14.10, when using the computer I find that Sticky Keys is suddenly disabled. I reenable the feature, but in after some time (measured as three minutes to days) ...
0
votes
0answers
149 views

Move files that are 7 days or older, cronjob [duplicate]

I want to move some log files that are 7 days or older to another folder and then delete those files after another week. I'm using logrotate to create a new log file every 2 hours in a folder. I ...
4
votes
1answer
9k views

logrotate every 2 hours

I'm trying to make httpry logs every 2 hours. I added this to my logrotate.conf file: /var/log/httpry/*.log { rotate 1 weekly create 640 root admin missingok notifempty } I tried ...
0
votes
3answers
2k views

rsyslog seems to have vanished from my system

I'm debugging an issue where I think my server is spamming other servers because it is infected but all my logs stop in august last year, and rsyslog is missing from the system /etc/rsyslog.d still ...
1
vote
2answers
426 views

mysterious program crash: where to look for clues?

On Ubuntu 14.04, I often experience the following: open an application, and within 15 seconds or so the application window simply disappears from screen. If I ps aux | grep nameOfApplication it will ...
2
votes
1answer
53 views

Tool to list every e-mail detail sent from a server

Introduction: I have a specific problem with an Ubuntu server where some security leak allowed spammers to use the server to send e-mail. I fixed most of the problems (caused by some unsecured ...
1
vote
1answer
105 views

Why is logcheck reporting successful Horde logins?

I'm running Ubuntu 14.04 LTS server and use logcheck to report log messages. I have the logcheck-database installed which contains a horde3 ignore file for the server: ^\w{3} [ :0-9]{11} [._[:alnum:]-...
2
votes
3answers
882 views

Rotating a log with date included

How do I setup logrotate to rotate openerp-server.log into openerp-server-YY-MM-DD.log?
3
votes
1answer
1k views

Is there a way to manipulate lines in logcheck rules before sending?

There are a few cases, such as netfilter logs, where it would be great if I could send the report logcheck is about to send through a filter. logcheck(8) doesn't seem to describe anything like this, ...
1
vote
1answer
2k views

Is it possible to stop specific BIND Log messages from being logged?

I have setup a BIND DNS server and a munin monitoring system which is configured to monitor BIND as well. The OS is Ubuntu Server 12.04.4 and the BIND version coming with it is 9.8.1-P1. Munin runs ...
0
votes
2answers
148 views

Where to look for problems logging in via ssh [closed]

For the past two mornings I have been unable to log into (establish an ssh connection) to an Amazon EC2 instance running the Bitnami node stack (based on Ubuntu) for several minutes. After a few ...
22
votes
7answers
35k views

tail -f, but with line numbers

I'm trying to see how many times foo bar appears in /var/log/foo.log within an arbitrary amount of time on a remote server, but nothing that I've tried so far has worked. I've already got a timer ...
3
votes
1answer
737 views

Mail delivery problems

Once upon a time there was a server. Lets call it zzz.com, running Ubuntu LTS 10. Then, domain owner decided to create his corporate mail via Google Apps, and created account username@zzz.com. ...
1
vote
2answers
143 views

Why does this command work for logging script output?

This command does not store the output of my script in the log file: . myscript.sh | tee -a log_file.log However this next command does store the output in the log file. . myscript.sh 2>&1 | ...
4
votes
1answer
16k views

How to properly automatically/manually rotate log files for production Rails App

I am taking over administration for a server which has a custom made 3rd party Rails app. The app developer informed me that the ruby log files are getting large and pointed me to the following link: -...
19
votes
1answer
38k views

where is /var/log/messages

I have several sources saying that /var/log/messages has system log message but I don't have that file (Ubuntu 11, Debian). Is the messages file somewhere else now? I tried using locate to look for ...
1
vote
1answer
3k views

Finding log file of ntp daemon in Ubuntu 10.04 LTS

My Ubuntu is set to run ntp before dovecot at startup. (See my earlier question: The rc0.d,rc1.d,... directories in /etc) However, I suspect that dovecot may have finished executing before ntp ...
3
votes
0answers
402 views

Use dedicated per-user log file for cron and?

On Ubuntu 12.04 how can I configure cron to log to a particular file when it runs jobs as a particular user? I am interested in redirecting both the messages that go into auth.log and those going into ...
5
votes
5answers
5k views

Finding computer uptime from first day until now

I need to find PC uptime from the day of installation until now. Is this logged somewhere? Does any file log this cumulative uptime?
6
votes
2answers
4k views

Is there a way to report incorrect login attempts in Ubuntu 12.10?

I am concerned with some people trying to access my laptop while I am away in my work place. Therefore I was wondering if is there a way to set up kind of automatically monitor and report wrong ...