Page 1 of 1

Bad magic number in a serialised file

Posted: Mon Oct 01, 2007 11:39 am
by rudi
Hi,
I have a currepted mailbox. I also cannot open the inbox with omcontain. The strace output shows following:

Option?) = 95
read(0, "o\n", 1024) = 2
write(1, "Ctr Handle (3001):", 18Ctr Handle (3001):) = 18
read(0, "\n", 1024) = 1
write(1, "Entry Number:", 13Entry Number:) = 13
read(0, "1\n", 1024) = 2
fcntl64(10, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=956, len=1}) = 0
lseek(10, 1920, SEEK_SET) = 1920
read(10, "Na\274\0\22\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
lseek(10, 3072, SEEK_SET) = 3072
read(10, "\0\0\0\0\0\0\0@User 106 Intray\0\0\0\0\0\0\0\0\0"..., 768) = 768
fcntl64(10, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=956, len=1}) = 0
fcntl64(10, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=956, len=1}) = 0
lseek(10, 1920, SEEK_SET) = 1920
read(10, "Na\274\0\22\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
lseek(10, 3072, SEEK_SET) = 3072
read(10, "\0\0\0\0\0\0\0@User 106 Intray\0\0\0\0\0\0\0\0\0"..., 768) = 768
open("/var/opt/scalix/user/g00003a/0000001", O_RDWR) = 11
fcntl64(11, F_GETFD) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
fcntl64(11, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=128}) = 0
lseek(11, 0, SEEK_SET) = 0
read(11, "ung von Partnern weltweit ausrol"..., 128) = 128
fcntl64(11, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=128}) = 0
close(11) = 0
fcntl64(10, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=956, len=1}) = 0
write(2, "omcontain : ", 12omcontain : ) = 12
write(2, "[OM 28881] ", 11[OM 28881] ) = 11
write(2, "Bad magic number in a serialised"..., 39Bad magic number in a serialised file.
) = 39
write(1, "Option?", 7Option?) = 7
read(0,

So now I need the the index and offset numbers to set the index to zero in the messagestore von omxed. But what are the index and offset numbers in the strace output. Is the index number 3072 and the offset number 0?

Thanks for help!!!

Posted: Mon Oct 01, 2007 11:43 am
by rudi
The Scalix Version is 10.0.5.