Questions tagged [logging]
Adding messages, mostly warnings and/or errors, to a log file.
313
questions
0
votes
1
answer
89
views
A logging saying "A problem has occurred and the system can't receover \n please log out and try again" error message
I recently upgraded my machine from Ubuntu 23.04 to 23.10 and the system works fine but when I start my machine, this error message occurs and I then wait for a pop-up to write the password again, I ...
0
votes
0
answers
132
views
Logging iptables Ubuntu 22.04
I used this configuration for my server:
iptables -F
iptables -A INPUT -j ACCEPT
iptables -A OUTPUT -j ACCEPT
iptables -A FORWARD -j ACCEPT
iptables -A INPUT -j LOG
iptables -A OUTPUT -j LOG
iptables -...
0
votes
0
answers
33
views
Auditctl. Auditd. Monitor Link creation. Ubuntu 20.04
Is it possible to monitor creation of link of file? For example, I create file audit_file, so I want to create the rule which triggers when such a command is executed ln -s /home/user/audit_file ...
0
votes
0
answers
73
views
How to forward remote trap data to a local folder other than var/log/syslog?
My ubuntu receives snmmptrap data from a remote server and it goes to var/log/syslog but I wanted to forward that traffic to a different folder inside /var/log using rsyslog.conf or is there a another ...
0
votes
0
answers
105
views
Failed system logging service on ubuntu 22.04
After I tried to make a partition in my disk, and I failed, i had rebooted the computer and I was faced with this problem.
It says:
FAILED SYSTEM LOGGING SERVICE, FAILED D-Bus System Message Bus.
...
4
votes
2
answers
1k
views
How to suppress kernel messages and keep the splash screen?
I am on Ubuntu 20.04 LTS and I want to suppress all kernel messages of the form
[0.342652] Blah blah ...
during boot, while keeping the splash screen. The default grub setting quiet splash does not ...
0
votes
3
answers
3k
views
Login loop on Ubuntu 22.04.2 LTS. Xwayland and gnome-shell blocked
My Ubuntu 22.04.2 LTS got stuck in login loop. I did nothing special to cause it (maybe some general Ubuntu updates). I tried suggestions from https://support.system76.com/articles/login-loop-ubuntu/ ...
0
votes
0
answers
73
views
server boots into read-only file system after power outage
ok obi wan you're my only hope. my power went out recently and when it came back on, when I login to my ubuntu server I get the message below:
Unable to setup logging. [Errno 30] Read-only file ...
0
votes
1
answer
210
views
Enable TLS tracing / logging in Firefox Snap 115
I am trying to diagnose some TLS bug/feature in Firefox (snap), specifically about mutual authentication while using HTTP/3. Getting it to print some useful data has been challenging for some time. I ...
0
votes
0
answers
54
views
Auditd to capture user runing command
I have a audit watch/rule that logs every command executed, but it dose not mention/logs which user executed the command!
Do we have any workaround for that?
0
votes
0
answers
152
views
VLC - specifying debugging option and log file doesn't work
I am trying to display an mp4-file using vlc. I have specified the verbosity level as 2 (debug) and a log file name of ~/vlc.log. When I run vlc, it does NOT display my slideshow. Nevertheless, I ...
0
votes
1
answer
118
views
rsyslog - how to install rsyslog-imdocker module?
How to install rsyslog-imdocker module for ubuntu 22.04? Tried different things but still with no luck :(
Besides tried to search for the same package on Centos 8 Stream and still the same results,
...
0
votes
0
answers
203
views
How to install Cisco MIB on ubuntu?
I am trying to decode the SNMP traps in plain text, and need some help on how to install the Cisco MIB in Ubuntu so I can parse these logs.
Ubuntu Version: 20.04.5 LTS
E.g.:
2023-04-24 18:18:55 [UDP: ...
0
votes
0
answers
409
views
Very slow first logging after a boot at ubuntu 22.04
Description
I am attempting to resolve the issue of an extremely slow login process following the boot on my Ubuntu 22.04 system. While the booting time is relatively fast and does not pose any issues,...
0
votes
0
answers
197
views
How can I log source of mouse input?
For some reason mouse pointer sometimes teleports to the top of the screen and starts repeatedly clicking.
Is there some easy way to record mouse inputs and their source? I am aware of xinput list and ...
0
votes
0
answers
1k
views
How to log messages from init.d scripts
I have this script in /etc/init.d, but I don't see any of its log messages in /var/log. They are of the form:
echo "ACM: here I am!" >&2
Since they are all prefixed w/"ACM",...
0
votes
1
answer
149
views
How to use last to see how many times users logged in?
I need to see how many times users logged in.
I used last | sort | uniq -c but it gave me bad data
I need to sort them by number of times they logged in and only show username and number of time.
for ...
1
vote
1
answer
964
views
How to route isc-dhcp-server logs to their own file
The logging in systemd's journal is getting spammed by logging from dhcpd.
I am running isc-dhcp-server and would like to prevent the log ending up in the journal, and instead go to its own file.
I ...
0
votes
1
answer
593
views
Getting mutter debug logs
Mutter has these debug topics:
META_DEBUG_FOCUS = 1 << 0,
META_DEBUG_WORKAREA = 1 << 1,
META_DEBUG_STACK = 1 << 2,
META_DEBUG_SM = 1 &...
0
votes
0
answers
83
views
Persistent UI lag
I am running Ubuntu 20.04. I have a problem with lag in the user interface that has persisted for
a very long time. I am of the opinion that it is a hardware issue, because it has lasted through
...
0
votes
1
answer
204
views
Iptables logging in Ubuntu
I have set up Cowrie (2222) and SSH (2233) on a Ubuntu server, to block all traffic except Cowrie and SSH, I have run the following commands:
iptables -A INPUT -p tcp --dport 2222 -j ACCEPT
iptables -...
1
vote
0
answers
29
views
Detecting what used bandwidth retroactively
I've got 2 unexplained network spikes. They are both short duration but one of them has appeared on my private IP instead of my public IP and this was unexpected. Both are very short duration. Are ...
2
votes
2
answers
7k
views
Fresh upgraded 22.04 freezes instantaneously after login
I have a 2015 Acer S7 393, i5-5200U cpu, 8 Gb ram, HD5550 graphics, 2 * 64 Gb IRST kingston SSD, upgraded yesterday from 20.04.4 LTS (working fine) to 22.04 LTS.
The pc freezes after logging in (...
1
vote
0
answers
1k
views
rsyslogd: action 'action-3-builtin:omfwd' suspended
I want to send MongoDB logs to a Graylog server, and the related rsyslog configuration is as follows:
$InputFileName /var/log/mongodb/mongod_27017.log
$InputFileTag mongodb
$InputFileStateFile mongodb-...
-1
votes
1
answer
1k
views
22.04 server, bind9 logging
i used bind9 on 20.04 LTS over years, now upgrade to 22.04 an "copy" the configuration.
bind9 zones and requests works fine as expected, but i have trouble with logging.
including the ...
1
vote
0
answers
781
views
Change `sshd` log file with `rsyslog`
I want to change the location of sshd logging to an external volume in order to prevent filling up the boot volume. What I thought would work – create /etc/rsyslog.d/sshd.conf with a directive to use ...
1
vote
1
answer
1k
views
msmtp logging doesn't work in /var/log/mail/[logfile].log
Good day
I'm using msmtp to send mails. I have different accounts that log to different logfiles. Unfortunately whenever it tries to log the following error appears:
send-mail: cannot log to /var/log/...
0
votes
0
answers
39
views
password displayed on loggin screen but not on purpose
I'm under ubuntu 18.04.1 and I face this issue:
sometimes, not always, when I loggin back, my password is displayed.
I wonder why this happens.
I know that this "password revealation feature"...
4
votes
4
answers
15k
views
Do I have log4j on my Ubuntu 18.04.6?
I'm obviously worried about this vulnerability, but I wonder if I even have this library on my machine?
The machine is a webserver running a couple of node expressjs frameworks over nginx, plus a ...
3
votes
3
answers
2k
views
How can I view the stdout / stderr from the bash login shell?
I'm trying to debug a strange issue with my ~/.bash_profile, and I'd like to be able to see if there are any errors / etc printed when it's run. Is there some log or such somewhere that contains the ...
1
vote
0
answers
260
views
Syslog : I am trying to generate separate iptables.log file for IPTABLES,
My Ubuntu 20.4 LTS My efforts are as follows:-
1.) Created IPTABLES rules with LOGGING by mentioning --log-prefix="IPTABLES-BLOCKED: " Logs are successfully generated by iptables, I have ...
1
vote
1
answer
1k
views
var/system/journal logs flooded with i2c_hid i2c_hid_get_input: incomplete report (14/65535)
So for the last day or two, DiskUsage keeps complaining about no disk space on my root / partition.
I can mitigate this issue by editing the /etc/systemd/journald.conf and setting the SystemMaxUse=...
0
votes
1
answer
483
views
UFW not logging on fresh 20.04 install
I am not getting any UFW logs in /var/log/ufw.log.
I have tried everything on
UFW is not logging how do I troubleshoot?
https://ubuntuforums.org/archive/index.php/t-2380393.html
https://serverfault....
0
votes
1
answer
1k
views
Writing to /var/log/auth.log
We'd like an application to write entries to /var/log/auth.log
Is there any kind of interface to allow us to do this?
thanks for any pointers.
1
vote
0
answers
307
views
Log process for outgoing connections
Is there an easy way to set up logging of all outgoing connections to certain ports, for example? Trying to figure out which programs/processes causes certain outbound connections.
Server is already ...
0
votes
1
answer
1k
views
Ubuntu randomly reboots on new computer without logging any relevant events; how can I find out what's going on?
I'm having an issue with a new computer; it randomly reboots. Not a crash...just, Like someone pulled the plug.
No logs are recording any events, they just...stop. Is there a way to force Ubuntu ...
1
vote
1
answer
2k
views
Help! Ubuntu 20.04 Server is printing kernel messages to my console
after setting up a fresh install of Ubuntu 20.04 server, exactly every 5 minutes and 11 seconds my console shows the following message, which is printed above everything on the screen:
Message from ...
18
votes
5
answers
33k
views
How to Solve Increasing Size of MySQL Binlog Files Problem?
MySQL Binlog files count is increasing day by day and their size is increasing in gigabytes. How can I stop the increasing size of binlog files? They are fulling the disc space.
0
votes
1
answer
2k
views
How to print in current terminal new logs arriving in a logfile?
I can't find the answer to my question, and I don't know how to proceed...
I would like to print in my current terminal (possibly only for a specific user) new logs added to a logfile, without running ...
1
vote
1
answer
4k
views
Accessing Cronjob Log files on AWS EC2 instance
I would like to start by expressing my appreciation to any help I receive. I am very new to AWS and ubuntu servers.
I run a daily python job on my EC2 instance and it fails every Friday for some ...
1
vote
1
answer
270
views
What should I do if my server is under the attack?
I have a mail server on Ubuntu 20.04. Yesterday I set up UFW firewall which looks like:
root@vmi514622:~# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing),...
1
vote
0
answers
244
views
Cron job & logger commands
I have a backup cron job that rsync files between 2 locations. To get some logged output that it has run, the job has this syntax:
#!/bin/bash
logger "Seafile File System Backup Started"
...
2
votes
0
answers
424
views
log everything from a byobu session
I am looking for a way how to preserve all console input and output of byobu sessions.
I am aware of these questions:
How to save scrollback history in byobu?
how can I log the session with byobu
...
1
vote
1
answer
399
views
how do i enable boot logging on ubuntu?
perhaps its server envy, but I am looking around on a linux server hard drive and saw a file called "bootlog" which holds entries like:
boot Sat May 5 02:50:51 2018
shutdown Thu ...
2
votes
1
answer
2k
views
Internet connection monitor with logging
We are having intermittent issues with our internet connection in a community house of nine people. It seems to cut out for short intervals so I am looking for an app to test connectivity at regular ...
1
vote
1
answer
902
views
Logging inputs and outputs in terminal without weird characters
I'm looking for a way to log all the input and output on terminal during a session, but I can't properly find an answer to do it. This this post suggested using script screen.log to do so and it seems ...
0
votes
1
answer
138
views
Lines of Log Files referenced by Logwatch Warnings (Ubuntu Server 18.04)
How do I find specific lines in Log Files that are referenced by Ubuntu Logwatch like the ones marked below... within Amavis and postfix?
Going by date I can grep all the instances of "warning&...
1
vote
0
answers
784
views
How to separate logs from syslog on microstack
I have microstack up an d running.
I want to debug a problem, but all logs are in syslog, which is a pain, because its way too much data.
Openstack defaults every service to a different logfile, but ...
1
vote
3
answers
2k
views
Logging sensors data every second
I'm new to this forum, so if I've made something wrong, please tell me.
I made some research, but I can't understand the correct answer to my problem.
I need to save CPU Temp, load and fan speed in ...
2
votes
2
answers
2k
views
Newly compiled kernel hangs at boot with no output
I need to develop some stuff in the kernel for my honours project but im stuck at simply getting a stock kernel to compile and boot.
I've followed a few recipes but all of them just result in the ...