preload doesn't start after shutting down (duplicate index)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
preload (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After shutting down, i always get this errors:
sudo tail -f /var/log/
[Tue Dec 11 01:10:55 2012] successfully renamed /var/lib/
[Tue Dec 11 01:10:55 2012] saving state done
[Tue Dec 11 01:10:55 2012] freeing state memory begin
[Tue Dec 11 01:10:55 2012] failed to rename /var/lib/
[Tue Dec 11 01:10:55 2012] freeing state memory done
[Tue Dec 11 01:10:55 2012] exiting
[Tue Dec 11 09:24:54 2012] loading conf from /etc/preload.conf
[Tue Dec 11 09:24:54 2012] loading state from /var/lib/
[Tue Dec 11 09:24:54 2012] failed reading state from /var/lib/
[Tue Dec 11 09:24:54 2012] Exiting
I have to delete all lines in preload.state, except the first line (PRELOAD 0.6.4 25040). Deleting preload.state will cause "file not found" error. After doing this, preload works again.
I tried to delete the duplicate lines, but then there are other errors. Just an example, there are a lot of other "duplicates" in preload.state:
Content of line 1715 in preload.state:
MAP 530 8460 28672 4096 -1 file://
Line 925:
MAP 527 8460 32768 2093056 -1 file://
Line 1732:
MAP 531 8460 32768 4096 -1 file://
Line 1782:
MAP 529 8460 32768 4096 -1 file://
Linux Mint 14 Nadia (64-Bit), Release: 14 (Ubuntu 12.10)
with xfce4 4.10
preload 0.6.4-2
description: | updated |
I tried to get more informations with 'preload -V 10':
[Tue Dec 11 10:58:42 2012] 625930kb available for preloading, using 62448kb of it preload/ preload. state preload/ preload. state preload/ preload. state.tmp preload/ preload. state.tmp to /var/lib/ preload/ preload. state preload/ preload. state.tmp to /var/lib/ preload/ preload. state preload/ preload. state preload/ preload. state: line 26: invalid syntax
[Tue Dec 11 10:58:42 2012] readahead 15 files
[Tue Dec 11 10:58:42 2012] state predicting end
[Tue Dec 11 10:58:52 2012] state updating begin
[Tue Dec 11 10:58:52 2012] state updating end
[Tue Dec 11 10:59:00 2012] exit requested
[Tue Dec 11 10:59:00 2012] saving state to /var/lib/
[Tue Dec 11 10:59:00 2012] exit requested
[Tue Dec 11 10:59:00 2012] saving state to /var/lib/
[Tue Dec 11 10:59:00 2012] to be honest, saving state to /var/lib/
[Tue Dec 11 10:59:00 2012] successfully renamed /var/lib/
[Tue Dec 11 10:59:00 2012] saving state done
[Tue Dec 11 10:59:00 2012] freeing state memory begin
[Tue Dec 11 10:59:00 2012] failed to rename /var/lib/
[Tue Dec 11 10:59:00 2012] freeing state memory done
[Tue Dec 11 10:59:00 2012] exiting
[Tue Dec 11 10:59:53 2012] loading conf from /etc/preload.conf
[Tue Dec 11 10:59:53 2012] loading state from /var/lib/
[Tue Dec 11 10:59:53 2012] failed reading state from /var/lib/
[Tue Dec 11 10:59:53 2012] Exiting