Questions tagged [logs]
Logs are lists of events or information generated by a program or system. They are used for diagnosis as they can contain various useful information to pinpoint the cause of a problem.
191
questions
88
votes
4
answers
157k
views
Where are the logs for apt-get?
I would like to know where I can find the logs for the following package managers:
Synaptic Package Manager
Ubuntu Software Center
The logs when using the terminal with apt-get
47
votes
13
answers
57k
views
How to know last time `apt-get update` was executed?
I know that the command to update the repository lists is:
apt-get update
How to check if it has been executed today or in the last 24 hours?
I do not know if I should check some file timestamp. Or ...
39
votes
5
answers
83k
views
How to find previous boot log after Ubuntu 16.04+ restarts?
My question is, how can I find boot log from previous system boot attempt?
Today when first powering on my PC, boot process stopped on Ubuntu logo, when I pressed Esc I have seen several lines ...
27
votes
3
answers
7k
views
What automated intrusion notification/detection setup is good for home desktop use?
I've been using Linux for quite a while now and I always feel the need to have a passive software / script setup which can alert me of any suspicious network activities like scans, failed login ...
22
votes
3
answers
56k
views
Can't access apache error logs
My Ubuntu vitual server wen't offline. I rebooted it and now want to debug what happened.
I can browse to /etc/log but if I try cd apache2 it says Permission denied. I'm sure my user account has ...
21
votes
4
answers
99k
views
Where are ALL ubuntu logs/terminal history stored
In what folders are the logs and key histories stored so that I may make a script to purge them. Is there a specific folder for the hibernation partition or a file by which it keeps the RAM data on ...
13
votes
2
answers
8k
views
Where are unauthorized sudo attempts reported to?
Where are unauthorized sudo attempts reported to?
When you attempt to use sudo, and are not allowed, a message says that the attempt will be reported.
Is this only reported in /var/log/auth.log? Is ...
10
votes
3
answers
10k
views
Where is the Xpad content stored on disk?
I had installed the Xpad package on Ubuntu 13.10 and had taken a few notes in it. I recently upgraded to Ubuntu 14.04 and have taken the backup of the entire home folder. At which location is the ...
10
votes
5
answers
45k
views
How to add the logs to a crontab with time stamp
In crontab, I scheduled a daily backup script. Now when the cron executes the script the status are logged to a log file as shown below.
0 0 * * * /home/backup.sh > /home/groupz/db-backup/fbackup....
8
votes
1
answer
18k
views
Where can I find logs regarding the user creation?
I created a new user using useradd command.
I need the logs for it. Where it will be available.
Thanks in advance.
8
votes
2
answers
2k
views
Search for file by the name it had before being renamed
I have some hundreds of thousands of files, personal stuff like photos, videos and documents gathered and stored during the years. Most of them are organized by type, dates and topics... But some (...
8
votes
1
answer
14k
views
Where are my wireless error logs?
When I type ifconfig it shows:
eth1 Link encap:Ethernet HWaddr e4:d5:3d:70:81:b3
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::e6d5:3dff:fe70:...
8
votes
1
answer
8k
views
Get more information about the crash
When I issue the command last in my terminal I see the following entries i.e. "crash":
i meant the command last " show listing of last logged in users".
root@lab18:~# last
tito pts/3 x.x....
7
votes
3
answers
17k
views
How to save the output of picocom to a file
I'm using ( sudo picocom -b 115200 /dev/ttyUSB0 ) to connect to a real-time embedded system based on ThreadX system.
Once I'm connected to this device, I use some ThreadX commands to display some ...
7
votes
3
answers
23k
views
"Successful su for user by root" - suspicious entries in my /var/log/auth.log?
This post on reddit made me go through my logs. That's when I discovered the following entries which appeared on two non-subsequent days. "user" is my user account.
Aug 4 22:50:37 UbuntuSystem sudo: ...
7
votes
2
answers
2k
views
Is there a way to look at the raw logs of zeitgeist?
Zeitgeist logs your activity in Unity. Is there a way to look at the raw logs it creates?
6
votes
1
answer
51k
views
Location and name of FTP Log files [closed]
A vendor is transfering files via FTP to our location via FTP and claims that they did send us the files. Where can I find the FTP log files and what are they called?
6
votes
1
answer
5k
views
Where does openssh-server get the "Last Login" information from?
Where does openssh-server get the "Last Login" information from?
I recently logged in remotely from a Windows machine using SSH Secure Shell 3.2.9 and the reported last login was from a network ...
6
votes
2
answers
511
views
Games stuttering about every 7 minutes
Whenever I play a game on my Linux machine, it stutters every 7 minutes or so for about 5 seconds. Seems like not a serious problem but it is still a bit annoying. So any ideas on how to even trace ...
5
votes
2
answers
4k
views
How to see why "snapd.refresh.service" failed to start on startup?
After upgrading to snapd version 2.0.8 I have noticed that I get an error message about snapd.refresh.service failing to start on startup, the error tells me which command to run in order to see why ...
5
votes
4
answers
3k
views
tmux becomes unresponsive when tailing a quickly updated file
I have a log file that I am writing a few hundred lines to a second. I want to tail this in a tmux pane.
However, when I do this tmux becomes unresponsive - I can't change panes or windows and I can'...
5
votes
1
answer
9k
views
Where to find ubuntu boot logs?
My Xubuntu 14.04 installation stopped booting all of a sudden: after rebooting I just see a flashing _ in the top left corner of the screen. Holding Left-Shift during boot won't open any menu, Ctrl+...
4
votes
6
answers
6k
views
who is trying to brute-force my password?
I was looking into my log files on my server and I found the following lines in: /var/log/.auth.log.1:
pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruse r= rhost=...
4
votes
1
answer
6k
views
Unable to write to /var/log/btmp
I recently had a bunch of entries in my btmp log [because of a boneheaded move on my part] I resolved the issue, but now I would like to clear that log, I copied it somewhere else for reference and ...
4
votes
1
answer
6k
views
For how long Linux system logs are stored?
So that is my question. I googled it but nothing came.
I see that the logs I have only covers 24 hours (if the time is not wrong, because it resets on every boot)
4
votes
2
answers
7k
views
How to check when a process stopped running? [duplicate]
I'm trying to figure out when a command I entered stopped executing, for example
sudo apt-get update
I want information like:
started execution at : 12:00
finished execution at : 12:15
4
votes
2
answers
12k
views
Log file eating up whole space in Ubuntu 16.04 LTS. Fix?
I have recently got into Linux and it's dual booted in my pc with windows 10. I installed a few files in Ubuntu 16.04 and a space of 41 GB is allotted for Ubuntu in my pc. But all of a sudden a prompt ...
4
votes
1
answer
2k
views
How to change apparmor logging file?
Apparmor logging to syslog by default. How to change apparmor config to logging to /var/log/apparmor.log for example?
4
votes
1
answer
2k
views
How to see computer activity
I am very very new to Ubuntu. I wish to know how to see user logs in Ubuntu. I realized that our son has been using his computer on days he's not supposed to. Apparently, he configured the computer ...
3
votes
1
answer
7k
views
Ubuntu 16.04 - discover what services failed on startup
I upgraded my server from 14.04 LTS to 16.04 LTS this past weekend.
It did not go as smooth as hoped. And having to learn how to use systemctl and journalctl the hard way did not help.
Anyway: I ...
3
votes
1
answer
2k
views
how to check what incorrect password as attempted
In /var/logs/auth.log I can see the unsuccessful login attempts. They are like lines below:
Oct 16 05:04:02 myMachine unix_chkpwd[15793]: password check failed for user (user1).
Now is there a way ...
3
votes
1
answer
87
views
Is there a way I can get the time since my comptuer last booted? [duplicate]
Is there a log file I can see or command I can issue that will tell me how long my computer has been running since last time I booted or logged in under my account? I'm on Ubuntu 12.10.
3
votes
1
answer
2k
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 ...
3
votes
1
answer
207
views
SPAM Notifcations
As of a week or so ago I started receiving what appears to be spam gnome notifications shortly after logging in (within a few minutes but not necessarily immediately). They always appear to be from a ...
3
votes
1
answer
2k
views
Ubuntu 20.04 freezes whilst using Teams through Google Chrome browser
I've only just installed Ubuntu 20.04 (around 5 days ago, so pretty clean install) and when I used MS Teams through the browser it was working ok to start with, then about 20 or 30 minutes into the ...
3
votes
2
answers
591
views
How to diagnose the process causing catastrophic failure using digital forensics
Ubuntu 18.04 lsb, I'm trying to figure out the best way to diagnose whats happening when the Amazon Ec2 instance (free tier) hangs.
There are experimental services running and there may be / is a ...
3
votes
0
answers
1k
views
syslog and kern.log multiple GB in size filled with pcieport error messages
After getting a disk usage warning, I noticed my syslog and kern.log were multiple GBs in size (20GB each). I then used this askubuntu post to clear the log files but today I find that they have again ...
3
votes
2
answers
65
views
is there some sort of all-purpose logging tool I can download as a package?
As in, a tool that will give me easy to read logging information all in one convenient place, divvied up into categories. Logs for say, ssh daemon, user logins/logouts and other activity, installed ...
2
votes
2
answers
5k
views
Much more verbose /var/log/*
I remember the times when probably literally every log message was being put into /var/log/messages and /var/log/syslog. It was year 2000 if someone's curious. Now it is different. Log files are ...
2
votes
1
answer
3k
views
How can I get a list of users that have logged in via SSH?
I would like to audit how often users log into my Ubuntu system remotely. How can I get a list of users that have logged in via SSH for a particular period of time? (for example, the last 24 hours?)
2
votes
1
answer
105
views
Unable to view logs of a running application
I have a 64 bit Ubuntu 16.10. I am running an application like Kazam. I would like to see the the log files of Kazam when it runs. There is no Log file viewer. I also saw the kern.log, syslog, and ...
2
votes
1
answer
1k
views
UFW blocking connection every minute at home [duplicate]
I'm using a router to connect to the internet at home. I used a long password with WPA2/AES, changed the SSID and changed the default password.
But strangely, even if I disconnect the router from the ...
2
votes
1
answer
1k
views
Get Rhythmbox debugging info
I'm having a weird problem with Rhythmbox that no one else seems to have. When I pause on any audio CD, I can't get Rhythmbox to play it again. I've tried various workarounds including trying to play ...
2
votes
1
answer
899
views
Weird postfix logs
At the mail.log this appears ~2 times per minute. I didn't care what they were, but now I want to find the reason.
Oct 2 20:27:02 sa-pd postfix/cleanup[31255]: 13A342CE301C: message-id=<...
2
votes
2
answers
6k
views
Ubuntu Logs meaning Disconnected, Invalid user and etc. Server attack
Recently installed new server, my first one and almost immediately started to receiving following log, it seems that someone is trying to access my server.
Could not find a detailed description about ...
2
votes
1
answer
1k
views
apache2 : How to search a string from apache2 error logs in specific time range?
I have logs like this , I want to search the string Form1Debugging from date [Sun Oct 01 04:26:29.593869 2017] to [Tue Oct 03 04:26:29.593869 2017]
[Tue Oct 03 04:26:29.593869 2017] [:error] [pid ...
2
votes
2
answers
3k
views
How to detect if it was an unexpected power down
I'm trying to find/figure out if a computer using Ubuntu 16 had an unexpected power down.
I checked many sources on Internet, review the logs in the /var/log files, but I could not find any clear ...
2
votes
2
answers
456
views
Get a list of all scripts and their paths which are run as cron job
I am looking for some scripts or a terminal command to list all the active scripts (preferably with their paths), which run on a periodic basis by cron, cron.daily and/or anacron. I am not looking for ...
2
votes
1
answer
169
views
How do I found out which process creates a tilde "~" directory in my home folder
Some process keeps creating a directory named ~ in my home folder. How do I find out which process is doing this? I couldn't find anything useful in the syslog.
I can use ls -l to find the time it ...
2
votes
1
answer
553
views
Can I use "system logs" in knowing and fixing any errors?
As you might guess I'm still brand new around linux and I've started my journey 10 days ago with Ubuntu 16.04 and have upgraded till I reached Ubuntu 17.10. I'm very nervous because I'm afraid that ...