Skip to main content

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.

Filter by
Sorted by
Tagged with
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
sdale1930's user avatar
  • 1,147
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 ...
cavila's user avatar
  • 593
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 ...
Mike's user avatar
  • 5,751
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 ...
irenicus09's user avatar
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 ...
S..'s user avatar
  • 393
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 ...
The Umbraic Light's user avatar
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 ...
Frantumn's user avatar
  • 1,427
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 ...
bpositive's user avatar
  • 135
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....
user3004356's user avatar
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.
batman's user avatar
  • 8,021
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 (...
AmIanonIm's user avatar
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:...
JD Schmidt's user avatar
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....
Tito's user avatar
  • 181
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 ...
YounLee's user avatar
  • 81
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: ...
Glutanimate's user avatar
  • 21.5k
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?
con-f-use's user avatar
  • 18.9k
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?
Lourens Prinsloo's user avatar
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 ...
Andrew Shum's user avatar
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 ...
inimene's user avatar
  • 2,116
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 ...
user avatar
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'...
Andy Smith's user avatar
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+...
Fluffy's user avatar
  • 1,594
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=...
yukashima huksay's user avatar
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 ...
Jasper's user avatar
  • 53
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)
mockingjay's user avatar
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
Tat Mush's user avatar
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 ...
twodee's user avatar
  • 232
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?
QkiZ's user avatar
  • 1,225
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 ...
Rose Love's user avatar
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 ...
Lasse Michael Mølgaard's user avatar
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 ...
sps's user avatar
  • 437
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.
Questioner's user avatar
  • 6,869
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 ...
Ron's user avatar
  • 31
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 ...
topher217's user avatar
  • 1,497
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 ...
Force Hero's user avatar
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 ...
Kickaha's user avatar
  • 159
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 ...
NahsiN's user avatar
  • 708
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 ...
user's user avatar
  • 131
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 ...
Adam Lisson's user avatar
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?)
asadz's user avatar
  • 167
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 ...
Active Hack's user avatar
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 ...
Nori-chan's user avatar
  • 845
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 ...
skytreader's user avatar
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=<...
Sapd's user avatar
  • 378
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 ...
ProgZi's user avatar
  • 121
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 ...
Haroon's user avatar
  • 211
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 ...
fasterfox's user avatar
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 ...
ankit7540's user avatar
  • 4,185
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 ...
patrick's user avatar
  • 123
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 ...
Nermeen Hussein's user avatar