Questions tagged [logging]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
45 views

-bash: echo: write error: No such file or directory

I am trying to log iptables actions so I can trouble shoot why a FORWARD rule isn't working and I need to run this command: echo ipt_LOG >/proc/sys/net/netfilter/nf_log/2 this is after loading ...
0
votes
0answers
12 views

Automatically logs in after installing 3rd party finger print program

I installed a 3rd party program for fingerprint activation for my Asus Vivobook S510U. That program didn't work and I removed that, but from then my ubuntu system is automatically logging in without ...
0
votes
0answers
23 views

How do I modify /etc/syslog.conf to send all syslog messages to a file in different location?

I want all the syslog messages to be saved on the disk in the file location say /home/root/journal/messages. What configuration do I need in syslog.conf to achieve this? I'm currently using busybox ...
0
votes
0answers
14 views

Why won't all getssl output log from cron

I have a LAMP server set up to serve a handful of sites, and I am using the getssl script to create the LetsEncrypt certs for those sites. I had set up a cron job to renew those certs as recommended, ...
0
votes
0answers
20 views

How to check opened programs in last 1 hour?

I want to know if there is any log file (or command) in which I can see the list of programs which user has opened in last X hours?
1
vote
0answers
132 views

Where is location of a log file of chromium on Ubuntu 19.10?

I can't found a chromium log file in default location, Where is it? According to following page, default location is ~/.config/chromium . But there is no log file in this directory. Chromium User Data ...
0
votes
0answers
31 views

Exclude entries from being written to syslog

Question: I want a specific log message (pattern) to be written to syslog. How can I achieve that? Example: I imagine a solution like writing something like this in the appropriate logfile: exclude ...
1
vote
0answers
44 views

Log disks spin up and spin down

I have a file / media server running on Ubuntu 18.04. It has 1 SSD on which Ubuntu is installed and 4 HDD's for various files. I found some information on how to log the disks activities and that ...
0
votes
0answers
51 views

Using the logger command, log a message to log file

Using one command, log a message to /var/log/boot.log and /var/log/messages using the logger command. I tried logger -p local7.info;user.info "Step 2" and it would ask for input. I tried to log a ...
0
votes
1answer
43 views

Logging everything to diagnose random shut downs

My laptop started randomly shutting down. For example, I'm skyping and then -boom- all of the sudden the screen goes black and it has shut down. Once I restart it, everything seems to work as normal. ...
0
votes
1answer
22 views

Logging broke for authentication only

I currently am unable to have authentication attempts logged in /var/log/auth.log . Everything was working properly and log files were rotated as expected until last night issue. My Ubuntu server ...
1
vote
0answers
78 views

My system is creating 1GB of syslog file Docker errors per minute

I am using Ubuntu 18.04. Recently whenever I start my PC, I get a error message saying 0 bytes left in your /root directory. I used the du command and found out that /var/log/syslog and /var/log/...
2
votes
1answer
524 views

Where do log messages go with journald and rsyslog

On Ubuntu 18.04 both journald and rsyslog are installed. Both serve the same purpose of collecting log messages and storing them. So we have two programs doing the same work here. What I could find ...
0
votes
0answers
24 views

Logging filesystem changes

I am using OSSEC HIDS to monitor file system changes. OSSEC checks the following directories: /etc, /bin, /sbin, /usr/bin, /usr/sbin, /boot. When there is an unattended upgrade of the system, OSSEC ...
0
votes
0answers
101 views

Rsyslog.conf delete, doesn't reinstall

I have Ubuntu 18.04. I am trying to set up rsyslog service as my default logging server. I messed up configuration and didn't save a copy of the default file before modifying it. I know, stupid. I ...
0
votes
1answer
32 views

Where should I store server build logs?

When I build an Ubuntu cloud VPS (typically DigitalOcean), I have a manual build guide that I have written and maintain. As part of the build guide, I leave myself notes on the server in text files so ...
0
votes
0answers
47 views

ubuntu server user session logging

I have an ubuntu server, which acts as a gateway to access my other internal servers over ssh. So normally, user ssh to this ubuntu server first(to a normal account) and once inside this, they ssh to ...
1
vote
0answers
84 views

Keep error/crash notifications, but stop Ubuntu from “calling home”? [duplicate]

Is there a way (in Ubuntu 16.x, 18.x) to disable all error reporting? I want to keep being notified but disable any and all „calling home“. I do not want to disable being personally notified, just ...
0
votes
0answers
84 views

New “important” log entries under 19.04

I have recently updated to 19.04 from 18.10 and my log files have the following "important" new entries which didn't appear under 18.10: gdm-session-wor: gkr-pam: unable to locate daemon control file ...
0
votes
1answer
881 views

Bind logging not working

I am running Ubuntu 18.04.2 and BIND 9.11.3 I am trying to enable logging by adding the following to /etc/bind/named.conf.local logging { channel bind.log { file "/var/log/bind/bind.log" ...
0
votes
1answer
70 views

insserv: Starting glassfish depends on grafana-server and therefore on system facility `$all' which can not be true!

I have installed ELK Stack 6.7.1 in a VPS and the agent filebeat in another vps which has running glassfish 4.1 and grafana running but running filebeat to dump the glassfish logs: sudo update-rc.d ...
0
votes
1answer
32 views

I want to store multiple logs at /var/logs, into different folders by the name of the log files

For example, create folder syslog and store all syslog*.gz into that folder and so on..
0
votes
1answer
462 views

How to disable a particular log message from being saved to var/log?

I'm making a second attempt at resolving this issue Every time I'd shut the PC off, this error would print what looked like millions of times per second, so I'm almost positive this is the culprit ...
6
votes
2answers
842 views

Rewriting logs received via syslog from another machine

I have Machine A, which is a pfsense installation, that sends logs via syslog to a Ubuntu box. The Ubuntu Box will have to rewrite the logs, to replace for instance host names and change format a bit. ...
0
votes
0answers
37 views

Is there any logging of the basic access to the PC with Ubuntu?

Is there any logging of the basic access to the PC with Ubuntu. Also that PC is not auto-locked in some time, only the screen is dimming. For example, someone comes nearby, touches the mouse, and the ...
4
votes
1answer
4k views

Understanding UFW log

What does this UFW log mean? Has already asked this question, however he asked it with a specific intention and the log in actuality did not get covered in the answer. Therefore I did not benefit and ...
1
vote
2answers
1k views

Best way to find out why Ubuntu 18.04 crashed. Where to find appropriate logs?

I just found out that my Ubuntu 18.04 machine crashed 20 hrs ago and switched off. How can I find out why? Is there an event logger? Thank you for your help!
1
vote
0answers
246 views

Logstash does not compress the old logs

We are using: root@server:~# /usr/share/logstash/bin/logstash --version logstash 6.2.4 on: root@server:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu ...
0
votes
1answer
106 views

Synergy keeps logging non-stop

i've been using synergy to use my desaktop's mouse &keyboard on my laptop when home. Now, it's been working really well for me, except that I've realized that the instance on my desktop will eat ...
5
votes
1answer
3k views

How to **really** suppress kernel messages during boot?

I have Ubuntu Server 18.04 LTS. I want to suppress kernel messages shown on console during boot. (The type of [0.1234] kernel message thing that floods the screen ). THIS DID NOT WORK: Changing /etc/...
1
vote
3answers
2k views

Unbound DNS sever Logging ERRORS

I have recently started using unbound dns. i have configured all the things i need properly. But the server doesnt log when i make a query. Also i have no errors in the unbound.conf file The ...
3
votes
3answers
4k views

rsyslog template date/time format with seconds

My current template configuration of rsyslog looks like this: /etc/rsyslog.d/00-samba-audit.conf template(name="sambalog" type="string" string="%$year%-%$month%-%$day% %$hour%:%$minute% %HOSTNAME% %...
1
vote
0answers
386 views

How to move logs out of journalctl, to a file with daily rotation & archiving?

I have a particular custom service registered in systemd, which spews a lot of logs to stdout/stderr. I want to remove the logs from journalctl output (because they generate a lot of noise there, and ...
1
vote
0answers
109 views

Track all process activity in real or near real time on Linux

I want to track the activity of processes. For processes, forks, file access, etc. should be tracked. Also files, data transfers, authentication events, authorization events, and similar. It should ...
0
votes
1answer
152 views

User creation remote logging

I am trying to centralize logs from different server to one server. I can centralize logging information via adding auth.* @server_ip:port in /etc/rsyslog.conf from the clients, but now I don't ...
0
votes
1answer
65 views

can't find logs while copying files in usb

Where can I find logs for copying files from local to USB? I'm using GUI to copy files. OS:Ubuntu 16.04 LTS
1
vote
1answer
648 views

Ubuntu 16.04.4 LTS random freezes after few hours of uptime

Ubuntu has been freezing randomly for some time now. Usually after a freeze, the crash screen would be up and it would show the exec path as update-notifer. Today after 9 hours of uptime it froze ...
7
votes
1answer
9k views

Where do I find stderr logs?

I was sending a message to stderr with echo "Mayday!" 1>&2 Now I'm trying to find it in the logs but couldn't find it anywhere. It's not in /var/log/syslog and neither in journalctl, ...
0
votes
1answer
254 views

auth.log growing huge due to suspend.target

In a few days the auth.log on my Ubuntu 16.4.4 server has grown to 28 GB writing the following lines over and over again Apr 14 21:31:29 Cloud systemd-logind[924]: Suspending... Apr 14 21:31:29 Cloud ...
5
votes
1answer
183 views

How can I read and capture error messages that appear on the screen before login?

I am having errors pop up quickly (can't read them) before my login window appears. I can't find them in syslog. Is there some way I can figure out what these errors are?
1
vote
0answers
412 views

Daily compress log files not working

This is the log file I am using to compress log files on a daily basis. /home/ubuntu/logs/server.log { daily missingok rotate 1 compress create dateext dateyesterday ...
0
votes
1answer
295 views

logrotate weekly archiving empties out daily files

My aim is to maintain 4 days' worth of log files so that on the fifth day, a zip file with all four log files is created. The four log files created so far are deleted. This is my logrotate.conf: /...
1
vote
1answer
2k views

Kernel log flooded with “read cpu” lines

On my newly setup system 16.04.3 LTS (GNU/Linux 4.13.0-32-generic x86_64), the syslog is flooded with cryptic kernel read cpu messages. What is the reason for this and how can this be turned off? ...
0
votes
1answer
49 views

Tailing Apache Logs - What is the number after the IP address

I am tailing the Apache error logs on my VPS so I can watch the traffic go by. I have been under a DOS attack, or a heavy port scan. I have the apache logging level set to LogLevel Warn. What does the ...
0
votes
1answer
27 views

Monitor log file event it was deleted and created again

I do file monitor with help of command: tail -f foo.csv After logging program restart file is deleted and created new one with the same name. But monitor window stops showing records of newly ...
-3
votes
1answer
83 views

Where and how does Ubuntu log shellcode attacks?

If someone enters shell prompt (by exploiting an external shellcode and taking control of the system before running an exploit ) does Ubuntu log messages to /var/log/lastlog, /var/log/wtmp, /var/log/...
1
vote
0answers
638 views

System Freeze After Build Operations

I'm using Ubunut 17.10 on a Dell XPS 13 laptop. I'm experiencing system freezes after I build software. Typically my computer will freeze for anywhere between 2 - 30 seconds. My mouse and keyboard ...
2
votes
1answer
91 views

On Ubuntu Artful 17, as a priviledged user, how can I get an email (possible nightly) with information about - what GET requests were sent to port

On Ubuntu Artful 17, as a priviledged user, how can I get an email (possible nightly) with information about what GET requests were sent to port 80 who attempted ssh connections to port 22 after a "...
1
vote
2answers
5k views

Fail2ban Error on start

Recently, I have tried restarting Fail2ban and I have received an error, making it impossible to start... The full error I received from systemctl status fail2ban is as follows: Jan 03 18:27:02 ...
0
votes
1answer
917 views

How to hide the arguments sent to the executable from ps [duplicate]

I've written a script that uses ps -G <groupid> -o uid,cmd to log the commands that a certain group of the users of a system run in time. What I want to know is whether it's possible for the ...

1
2 3 4 5 6