Logs

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Logs

Postby borgward on Sat Jan 26, 2013 2:05 am

where does mint store messages about I/O errors? how do I access them?
borgward
Level 3
Level 3
 
Posts: 162
Joined: Mon Dec 17, 2012 10:18 pm

Linux Mint is funded by ads and donations.
 

Re: Logs

Postby caf4926 on Sat Jan 26, 2013 2:10 am

The most significant log is
/var/log/messages

open a terminal and do

Code: Select all
sudo cat /var/log/messages > /home/yourusername/messages.txt


*replace yourusername with the username you use for login

The resulting file can now be found in your home folder

You may need to chown it

Code: Select all
sudo chown yourusername messages.txt
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1778
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Logs

Postby borgward on Sat Jan 26, 2013 2:21 am

mint ~ $ sudo cat /var/log/messages > /home/abc/messages.txt
cat: /var/log/messages: No such file or directory

-mint /var/log $ ls
alternatives.log auth.log.3.gz cups dpkg.log.1 kern.log.2.gz mintUpdate.history speech-dispatcher syslog.7.gz Xorg.0.log.old
alternatives.log.1 auth.log.4.gz dmesg faillog kern.log.3.gz news syslog udev Xorg.20.log
apt boot dmesg.0 fontconfig.log kern.log.4.gz pm-powersave.log syslog.1 ufw.log
aptitude boot.log dmesg.1.gz fsck lastlog pm-powersave.log.1 syslog.2.gz unattended-upgrades
aptitude.1.gz bootstrap.log dmesg.2.gz hp mail.err pm-suspend.log syslog.3.gz upstart
auth.log btmp dmesg.3.gz installer mail.log pm-suspend.log.1 syslog.4.gz wtmp
auth.log.1 btmp.1 dmesg.4.gz kern.log mdm pycentral.log syslog.5.gz wtmp.1
auth.log.2.gz ConsoleKit dpkg.log kern.log.1 mintsystem.log samba syslog.6.gz Xorg.0.log
borgward
Level 3
Level 3
 
Posts: 162
Joined: Mon Dec 17, 2012 10:18 pm

Re: Logs

Postby caf4926 on Sat Jan 26, 2013 2:38 am

OK
My bad
I had another hat on.

syslog ? may help it's in the same place and of course dmseg
Both those are readable as user
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1778
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District


Return to Newbie Questions

Who is online

Users browsing this forum: ArchiMark, Bing [Bot], cwedgwood50 and 33 guests