gnome-system-log reports various files not found in Karmic when upgraded from Jaunty

Asked by stop

When I start gnome-system-log via System --> Administration --> Log file viewer (or run gnome-system-log from the terminal) I get various file not found errors in the application:

Could not open the following files:
/var/log/auth.log.0: Error stating file '/var/log/auth.log.0': No such file or directory
/var/log/btmp: You don't have enough permissions to read the file.
/var/log/daemon.log.0: Error stating file '/var/log/daemon.log.0': No such file or directory
/var/log/debug.0: Error stating file '/var/log/debug.0': No such file or directory
/var/log/syslog.0: Error stating file '/var/log/syslog.0': No such file or directory
/var/log/user.log.0: Error stating file '/var/log/user.log.0': No such file or directory
/var/log/messages.0: Error stating file '/var/log/messages.0': No such file or directory
/var/log/kern.log.0: Error stating file '/var/log/kern.log.0': No such file or directory

The files are in fact non existent.
This doesn't happen when I run "gksudo gome-system-log", it also doesn't happen on fresh Karmic installs (only if upgraded from Jaunty)

ProblemType: Bug
Architecture: amd64
Date: Fri Nov 13 04:12:06 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: vmnet vmci vmmon nvidia
Package: gnome (not installed)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: meta-gnome2
Uname: Linux 2.6.31-14-generic x86_64

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu gnome-utils Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
stop (whoopwhoop) said :
#1
Revision history for this message
Pedro Villavicencio (pedro) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Filippo Mazza (filippo-mazza) said :
#4

I had the same problem upgrading manually form Jaunty to Karmic.
I've solved opening Gnome Configuration Editor (gconf-editor) and removing in key

/apps/gnome-system-log/logfiles

the names of missing files. Hope it helps.

Revision history for this message
Savvas Radevic (medigeek) said :
#5

Thanks Filippo!! Here is the command you can run in gnome-terminal:
gconftool -u --recursive-unset /apps/gnome-system-log

Revision history for this message
Filippo Mazza (filippo-mazza) said :
#6

You're welcome ;-)
By the way I think that your command will unset ALL logs, so be careful if you've got to re-add logs that you don't remember where they are.

Revision history for this message
Filippo Mazza (filippo-mazza) said :
#7

PS: can anyone set it to "Solved"? Tnx