Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Update logs
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 23rd September 19:33
ar
External User
 
Posts: 1
Default Update logs


I have a problem where an application had a load time of about 50
seconds, but after an update to some other files it went down to 3
seconds. There has since been other updates (not to the main
application), and now the application takes 50 seconds to load again.

Are there any log files that can be searched in chronological order of
install to find out what was installed that could be causing this
incredible long load time?

Thanks
  Reply With Quote


  sponsored links


2 23rd September 19:33
david w. hodgins
External User
 
Posts: 1
Default Update logs


It may help if you specify which application, and which version of Mandriva.


grep RPM /var/log/syslog|grep installed

If you want to look back past last sunday (assuming you have logrotate running
each week, in cron.weekly),

zgrep RPM /var/log/syslog.1.gz|grep installed

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
3 23rd September 19:33
ar
External User
 
Posts: 1
Default Update logs


2008.1 and Filezilla (ftp).
  Reply With Quote
4 23rd September 19:33
david w. hodgins
External User
 
Posts: 1
Default Update logs


Running filezilla under strace shows it's running kde-config multiple times,
and appears to be duplicating much of the work done by kbuildsyscoa and
update-menus.

See if running (as root) "kbuildsycoca --global", and "update-menus", to
update the files in /usr/share/, and then logout/login to kde, speeds up
the loading of filezilla, on your system.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote


  sponsored links


5 23rd September 19:34
ar
External User
 
Posts: 1
Default Update logs


Firstly let me say that I fixed the load time problem. I searched for an
up-to-date rpm of Filezilla (none visible in rpmdrake though - and am not
installing cooker). On installing it took the load time back to around 5 seconds.


I don't know if it's of any use to diagnose what was/is wrong, as every
time something gets updated, the load time for Filezilla goes real
long... On running the command you suggested, Kicker restarted and only
the permanent running application icons (next to the clock) did not
vanish (pidgin, skype, network monitor), everything else like KOrganizer,
Klipper vanished.


kbuildsycoca --global

Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
kbuildsycoca: WARNING: KLocale: trying to look up "" in catalog. Fix the
program
kio (KService*): WARNING: The desktop entry file .hidden/
dirfilterplugin.desktop has Type=Service but is located under "apps"
instead of "services"
kio (KService*): WARNING: Invalid Service : .hidden/
dirfilterplugin.desktop
kio (KService*): WARNING: The desktop entry file /usr/share/applications/
mandriva-gnubik.desktop has Type=Application << _EOF_ instead of
"Application" or "Service"
kio (KService*): WARNING: Invalid Service : /usr/share/applications/
mandriva-gnubik.desktop
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'application/sdp'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'application/x-netshow-channel'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'audio/AMR'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'audio/AMR-WB'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'audio/ogg'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'audio/x-pn-windows-acm'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'audio/x-sbc'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'audio/x-xm'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'misc/ultravox'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'x-content/video-dvd'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'x-content/video-vcd'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies
undefined mimetype/servicetype 'x-content/video-svcd'
kbuildsycoca: WARNING: '/usr/share/applications/gnucash.desktop'
specifies undefined mimetype/servicetype 'application/x-gnucash'
kbuildsycoca: WARNING: 'kmplayer_part.desktop' specifies undefined
mimetype/servicetype 'video/mediaplayer'
kbuildsycoca: WARNING: '/usr/share/applications/kde/konversation.desktop'
specifies undefined mimetype/servicetype 'DCOP/InstantMessenger;DCOP/
Unique'
kbuildsycoca: WARNING: 'xine_part.desktop' specifies undefined mimetype/
servicetype 'KaffeinePart'
kbuildsycoca: WARNING: 'xine_part.desktop' specifies undefined mimetype/
servicetype 'audio/x-ogg'
kbuildsycoca: WARNING: 'xine_part.desktop' specifies undefined mimetype/
servicetype 'video/x-ms-asf-plugin'
kbuildsycoca: WARNING: '/usr/share/applications/yelp.desktop' specifies
undefined mimetype/servicetype 'application/docbook+xml'
kbuildsycoca: WARNING: '/usr/share/applications/firefox3.desktop'
specifies undefined mimetype/servicetype 'application/rss+xml'
kbuildsycoca: WARNING: '/usr/share/applications/firefox3.desktop'
specifies undefined mimetype/servicetype 'application/rdf+xml'
kbuildsycoca: WARNING: 'kbluetooth_kbtobexsrv.desktop' specifies
undefined mimetype/servicetype 'KBluetoothDModule'
kbuildsycoca: WARNING: '/usr/share/applications/math64.desktop' specifies
undefined mimetype/servicetype 'text/mathml'
kbuildsycoca: WARNING: '/usr/share/applications/planner.desktop'
specifies undefined mimetype/servicetype 'application/x-planner'
kbuildsycoca: WARNING: '/usr/share/applications/impress64.desktop'
specifies undefined mimetype/servicetype 'application/vnd.ms-
powerpoint.presentation.macroEnabled.12'
kbuildsycoca: WARNING: '/usr/share/applications/impress64.desktop'
specifies undefined mimetype/servicetype 'application/vnd.openxmlformats-
officedo***ent.presentationml.presentation'
kbuildsycoca: WARNING: '/usr/share/applications/kde/kaffeine.desktop'
specifies undefined mimetype/servicetype 'audio/x-ogg'
kbuildsycoca: WARNING: '/usr/share/applications/vlc.desktop' specifies
undefined mimetype/servicetype 'misc/ultravox'
kbuildsycoca: WARNING: '/usr/share/applications/vlc.desktop' specifies
undefined mimetype/servicetype 'audio/x-pn-windows-acm'
kbuildsycoca: WARNING: '/usr/share/applications/vlc.desktop' specifies
undefined mimetype/servicetype 'x-content/audio-cdda'
kbuildsycoca: WARNING: '/usr/share/applications/vlc.desktop' specifies
undefined mimetype/servicetype 'x-content/video-svcd'
kbuildsycoca: WARNING: '/usr/share/applications/vlc.desktop' specifies
undefined mimetype/servicetype 'x-content/video-vcd'
kbuildsycoca: WARNING: '/usr/share/applications/vlc.desktop' specifies
undefined mimetype/servicetype 'x-content/video-dvd'
kbuildsycoca: WARNING: '/usr/share/applications/calc64.desktop' specifies
undefined mimetype/servicetype 'application/vnd.oasis.opendo***ent.chart-
template'
kbuildsycoca: WARNING: '/usr/share/applications/calc64.desktop' specifies
undefined mimetype/servicetype 'application/x-dbf'
kbuildsycoca: WARNING: '/usr/share/applications/calc64.desktop' specifies
undefined mimetype/servicetype 'text/csv'
kbuildsycoca: WARNING: '/usr/share/applications/calc64.desktop' specifies
undefined mimetype/servicetype 'application/vnd.ms-
excel.sheet.macroEnabled.12'
kbuildsycoca: WARNING: '/usr/share/applications/calc64.desktop' specifies
undefined mimetype/servicetype 'application/vnd.openxmlformats-
officedo***ent.spreadsheetml.sheet'
kbuildsycoca: WARNING: '/usr/share/applications/base64.desktop' specifies
undefined mimetype/servicetype 'application/
vnd.oasis.opendo***ent.database'
kbuildsycoca: WARNING: '/usr/share/applications/kde/kmplayer.desktop'
specifies undefined mimetype/servicetype 'video/mediaplayer'
kbuildsycoca: WARNING: '/usr/share/applications/lazarus.desktop'
specifies undefined mimetype/servicetype 'text/lazarus-project-source'
kbuildsycoca: WARNING: '/usr/share/applications/lazarus.desktop'
specifies undefined mimetype/servicetype 'text/lazarus-project-
information'
kbuildsycoca: WARNING: '/usr/share/applications/lazarus.desktop'
specifies undefined mimetype/servicetype 'text/lazarus-form'
kbuildsycoca: WARNING: '/usr/share/applications/lazarus.desktop'
specifies undefined mimetype/servicetype 'text/lazarus-resource'
kbuildsycoca: WARNING: '/usr/share/applications/lazarus.desktop'
specifies undefined mimetype/servicetype 'text/lazarus-package'
kbuildsycoca: WARNING: '/usr/share/applications/lazarus.desktop'
specifies undefined mimetype/servicetype 'text/lazarus-package-link'
kbuildsycoca: WARNING: '/usr/share/applications/lazarus.desktop'
specifies undefined mimetype/servicetype 'text/lazarus-code-inlay'
kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/
servicetype 'KNotify'
kbuildsycoca: WARNING: '/usr/share/applications/writer64.desktop'
specifies undefined mimetype/servicetype 'application/x-extension-txt'
kbuildsycoca: WARNING: '/usr/share/applications/writer64.desktop'
specifies undefined mimetype/servicetype 'application/x-t602'
kbuildsycoca: WARNING: '/usr/share/applications/writer64.desktop'
specifies undefined mimetype/servicetype 'zz-application/zz-winassoc-wps'
kbuildsycoca: WARNING: '/usr/share/applications/writer64.desktop'
specifies undefined mimetype/servicetype 'application/vnd.ms-
word.do***ent.macroEnabled.12'
kbuildsycoca: WARNING: '/usr/share/applications/writer64.desktop'
specifies undefined mimetype/servicetype 'application/vnd.openxmlformats-
officedo***ent.wordprocessingml.do***ent'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'application/sdp'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'application/streamingmedia'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'application/x-streamingmedia'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'application/vnd.rn-realmedia-
vbr'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/x-aac'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/m4a'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/mp1'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/x-mp1'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/mp2'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/mp3'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/mpg'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/x-mpg'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/rn-mpeg'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/scpls'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/wav'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/x-pn-windows-pcm'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'audio/x-pls'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'video/x-mpeg2'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'video/x-ms-afs'
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop'
specifies undefined mimetype/servicetype 'video/x-ms-wvxvideo'
kbuildsycoca: WARNING: '/usr/share/applications/kover.desktop' specifies
undefined mimetype/servicetype 'application/x-kover'
  Reply With Quote
6 23rd September 19:34
bit twister
External User
 
Posts: 1
Default Update logs


No idea about what is the latest, have you looked in backports.
main_backports-2008.0.idx:filezilla-3.1.1.1-1mdv2008.0.i586.rpm Aug 12 08:20
main_backports-2008.1.idx:filezilla-3.1.1.1-1mdv2008.1.i586.rpm Aug 11 21:45
  Reply With Quote
7 23rd September 19:34
david w. hodgins
External User
 
Posts: 1
Default Update logs


As it's loading in under 5 seconds here, I didn't think to check for an updated version.

I'm very surprised. I've used the commands often, and never had it interfere
with a running application. Very strange. Were there any problems after restarting kde?


I have a script that will get rid of most of these error messages. It does
so by running kbuildsycoca --global, and getting the list of undefinded mime
types, from the output. For the ones where the proper
/usr/share/mimelnk/*/*.desktop file doesn't exist, it generates a minimal file.
Running the script gets rid of most of the messages. It doesn't get rid of
the errors, where the proper file does exist, but has errors in it's contents.
Those are left for manual editing.

I run it anytime I install a new kde application, that doesn't bother defining
the mimetype.

If you're interested, it's available at
http://www.ody.ca/~dwhodgins/MissingMimesAdd

It must be run as root. I'd run it without kde running, just to be on the
safe side.

I mostly created the script, to cut down on the clutter, whenever I run a
kde application, such as kate, after running "su -l root", in a kde konsole.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
8 23rd September 19:34
bit twister
External User
 
Posts: 1
Default Update logs


Curious, why the $ on the IFS= lines?
I have not seen that anywhere.

The apostrophe in IFS does dink up gedit, nedit, emacs's language
highlighting.

Glad kwrite has no problem with it.
  Reply With Quote
9 23rd September 19:34
david w. hodgins
External User
 
Posts: 1
Default Update logs


That's what I learned from abs-guide-5.0/HTML/arrays.html from
http://personal.riverusers.com/~thegrendel/abs-guide-5.4.tar.bz2.

Looking through info bash, in "Appendix B Major Differences From The Bourne Shell",
it has ...

* The `$'...'' quoting syntax, which expands ANSI-C
backslash-escaped characters in the text between the single quotes,
is supported (*note ANSI-C Quoting:.

The ANSI-C quoting just has a list of \characters, and what they get translated to.
While some of the samples in the abs guide don't use the $'...' syntax, most do.


I like kate, for good syntax highlighting of bash scripts.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
10 23rd September 19:34
bit twister
External User
 
Posts: 1
Default Update logs


Well, look at that, never look at IFS in
http://tldp.org/LDP/abs/html/index.html
I just used \letter syntax, without the leading $, which has worked so far.

Thank you for your time.
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666