Export Failure

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

PrisonMind
Posts: 308
Joined: Thu Jul 10, 2008 5:00 am
Location: Adua

Export Failure

Postby PrisonMind » Thu Feb 24, 2011 8:58 am

hi,

i use this command to export one mailbox.

Code: Select all

sxmboxexp -a /tmp/aaabc --user "username" --listlevel msg


the output file is very small.
omshowlog reports one error.

omshowlog -p 5
SERIOUS ERROR Administration(sxmboxexp ) 02.24.11 13:53:59
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 11691
Procedure trace follows:
<- tf_InitRecord
-> tf_PutString
<- tf_PutString
-> ct_ReadExtension 3005 len=9373 rec=34
<- ct_ReadExtension
<- ct_ReadExtension 3005 len=9373 rec=34
-> tf_GetINT16
<- tf_GetINT16
-> tf_PutINT16
<- tf_PutINT16
-> pm_tf_AppendRecord
-> tf_GetINT32
<- tf_GetINT32
-> tf_AppendRecord
<- tf_AppendRecord
<- pm_tf_AppendRecord
Last Msg Subject: A scanned image
Last Msg Sender: MAILER-DAEMON////internet///////////RFC-822/MAILER-DAEMON@company.com
Last Ct RecNo: 6


SERIOUS ERROR Administration(sxmboxexp ) 02.24.11 13:53:59
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xb5)[0xf7e49b25]
/opt/scalix/lib/libom_er.so[0xf7e49e13]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xf7e49f9f]
[0xffffe500]
[0x432e5548]
Last Msg Subject: A scanned image
Last Msg Sender: MAILER-DAEMON////internet///////////RFC-822/MAILER-DAEMON@company.com
Last Ct RecNo: 6


how can identify the corrupt email?

Code: Select all

omscan -Afvx -U "username"

found no errors!

thanks in advance!!!

ltward
Posts: 309
Joined: Tue Jan 15, 2008 1:54 pm
Contact:

Re: Export Failure

Postby ltward » Fri Feb 25, 2011 3:27 pm

Hey there PrisonMind,

Try looking at a higher level of logging.
I can't recall offhand if the default of omshowlog is -l 5 or -l 7 so I would try
omshowlog -l 7...
or
omshwolog -l 9...

You have to have logging set to level 7 or level 9 though; omshowlog can't show data that's not being collected.
Check your logging levels with omshowlvl and change them with omconflvl.
I know you know how to check and set logging levels, but other readers might not.

ANYway, when you get a bit more information, look at what precedes the 10270. The 10270 is just where the process is actually dying. Look right before that to get hints about why it dies.

Alternatively, you might try copying out one area of the account at a time, and see which area fails (inbox, filing cabinet, waste basket...) and narrow things down by trial and error.

PrisonMind
Posts: 308
Joined: Thu Jul 10, 2008 5:00 am
Location: Adua

Re: Export Failure

Postby PrisonMind » Mon Feb 28, 2011 9:07 am

hi,

thanks for the tips!

>>omshwolog -l 9

that´s didn´t help me.
i can´t see the dref or the right subject.

Alternatively, you might try copying out one area of the account at a time, and see which area fails (inbox, filing cabinet, waste basket...) and narrow things down by trial and error.


good idea....the problem is that the mailbox have only the intray with over 22000 emails.

i have used strace to identify the last command.

open("/var/opt/scalix/k1/s/data/00000es/04h4r37", O_RDWR|O_LARGEFILE) = 28
fcntl64(28, F_GETFD) = 0
fcntl64(28, F_SETFD, FD_CLOEXEC) = 0
fcntl64(28, 0xe /* F_??? */, 0xffd8dd74) = 0
_llseek(28, 0, [0], SEEK_SET) = 0
read(28, "Na\274\0\20\0\0\0\200\0\0\0\2\0\0\0\5\0\10\0\0\0\0\0\200\0\0\0\200\2\0\0"..., 128) = 128
fcntl64(28, 0xe /* F_??? */, 0xffd8dd74) = 0
_llseek(28, 128, [128], SEEK_SET) = 0
read(28, "Na\274\0\21\0\0\0\1\0\0\0\0\1\0\0\2\0\0\0\26\241DK\200\2\0\0\0\0\0\0"..., 64) = 64
fcntl64(28, 0xe /* F_??? */, 0xffd8dd64) = 0
kill(6371, SIG_0) = 0
msgsnd(0, {8589934602, "\334\1\0\0gl\22\t\0\0\0\0\310\4\0\0\0\0\0\0p\345\323\367"}, 24, 0) = 0
msgrcv(32769, 32769, {1, 0x4c8ffd8dd9c}, 16, -587366756595118092, 0) = 16
fcntl64(28, 0xe /* F_??? */, 0xffd8dd64) = 0
write(16, "\0\0\0'\0\0\275\342\0\0\0\0\0\0\0*A scanned image\0"..., 39) = 39
fcntl64(24, 0xe /* F_??? */, 0xffd86914) = 0
_llseek(24, 2560, [2560], SEEK_SET) = 0
read(24, "Na\274\0\22\0\0\0\0\0\0\0\n\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
_llseek(24, 60800, [60800], SEEK_SET) = 0
read(24, "\35The attached document was sent "..., 137) = 137
fcntl64(24, 0xe /* F_??? */, 0xffd87ee4) = 0
time(NULL) = 1298897014
time(NULL) = 1298897014
write(16, "\0\0\0t\0\0\275\354\0\0\0\0\0\0\0*\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 116) = 116
fcntl64(24, 0xe /* F_??? */, 0xffd86914) = 0
_llseek(24, 2560, [2560], SEEK_SET) = 0
read(24, "Na\274\0\22\0\0\0\0\0\0\0\n\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
_llseek(24, 4096, [4096], SEEK_SET) = 0
read(24, "e200003\0351bb33\36ff40003\0352\03637050003"..., 9373) = 9373
fcntl64(24, 0xe /* F_??? */, 0xffd87ee4) = 0
time(NULL) = 1298897014
time(NULL) = 1298897014
write(16, "\0\0\0\31\0\0\276\17\0\0\0\0\0\0\0*IPM.Note\0", 25) = 25
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGILL, {SIG_DFL, [], 0}, {0xf7e17f80, [], 0}, 8) = 0



i have delete the corrupt email! but after i have delete the email the problem is still exists!

shit.... :?

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Re: Export Failure

Postby mikethebike » Tue Mar 01, 2011 7:35 am

How did you delete the corrupt mail? With cliet or omcontain?
You may need to runa further scan to repair the mailbox.

Also, try setting higher log level:

omconflvl admin 11
run the export, then

omshowlog -p 10 -s admin -l 11 >/tmp/prison.txt
(I think thats the syntax, and try to keep the time option as short as possible, there will be a lot of data)

Mick

PrisonMind
Posts: 308
Joined: Thu Jul 10, 2008 5:00 am
Location: Adua

Re: Export Failure

Postby PrisonMind » Wed Mar 02, 2011 4:32 am

hi,

i have delete the email with webmail.
after this omscan -Avfx -U "<username>" and omtidyu

i can´t use omcontain. because i can´t find the email with omcontain (intray) and also sxsearch.
i have no idea why.

cat /tmp/export.txt

REPORT Administration(sxmboxexp ) 03.02.11 08:42:41
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(sxmboxexp ) 03.02.11 08:42:41
[OM 23735] Client Charset: UTF8
Interchange Charset used: UTF8


REPORT Administration(sxmboxexp ) 03.02.11 08:42:41
[OM 16144] The character set 'UTF8' was recorded as the interchange character set
for attributes and values.


REPORT Administration(sxmboxexp ) 03.02.11 08:42:41
[OM 28521] Mailnode Hosting license not detected or configured to be off.
Running all services in normal mode.


REPORT Administration(sxmboxexp ) 03.02.11 08:42:41
[OM 23735] Client Charset: ISO8859_1
Interchange Charset used: UTF8


REPORT Administration(omisoff ) 03.02.11 08:42:44
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:42:44
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:42:44
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.

REPORT Administration(omisoff ) 03.02.11 08:43:14
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:43:14
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:43:14
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:43:14
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:43:44
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:43:44
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled

REPORT Administration(omisoff ) 03.02.11 08:43:44
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:44:14
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:44:14
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:44:14
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:44:14
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:44:44
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:44:44
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:44:44
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:44:44
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
REPORT Administration(omisoff ) 03.02.11 08:45:14
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:45:14
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:45:14
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:45:44
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:45:44
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
REPORT Administration(omisoff ) 03.02.11 08:47:45
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:47:45
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


SERIOUS ERROR Administration(sxmboxexp ) 03.02.11 08:47:57
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 22172
Procedure trace follows:
-> tf_GetINT16
<- tf_GetINT16
-> tf_PutINT16
<- tf_PutINT16
-> tf_AppendRecord
-> tf_FindOpenEntry
<- tf_FindOpenEntry
-> tf_ActivateTf
-> os_Date
<- os_Date
<- tf_ActivateTf
-> tf_WriteData
<- tf_WriteData
-> tf_DeActivateTf
<- tf_DeActivateTf
<- tf_AppendRecord
Last Msg Subject: A scanned image
Last Msg Sender: MAILER-DAEMON////internet///////////RFC-822/MAILER-DAEMON@comp
Last Ct RecNo: 6


SERIOUS ERROR Administration(sxmboxexp ) 03.02.11 08:47:57
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xb5)[0xf7e53b25]
/opt/scalix/lib/libom_er.so[0xf7e53e13]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xf7e53f9f]
[0xffffe500]
[0x432e5548]
Last Msg Subject: A scanned image
Last Msg Sender: MAILER-DAEMON////internet///////////RFC-822/MAILER-DAEMON@compan
Last Ct RecNo: 6
SERIOUS ERROR Administration(sxmboxexp ) 03.02.11 08:47:57
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xb5)[0xf7e53b25]
/opt/scalix/lib/libom_er.so[0xf7e53e13]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xf7e53f9f]
[0xffffe500]
[0x432e5548]
Last Msg Subject: A scanned image
Last Msg Sender: MAILER-DAEMON////internet///////////RFC-822/MAILER-DAEMON@compan
Last Ct RecNo: 6


REPORT Administration(omisoff ) 03.02.11 08:48:15
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:48:15
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]


REPORT Administration(omisoff ) 03.02.11 08:48:15
[OM 23656] The environment variable LANG was used to set the language
of this process to AMERICAN.


REPORT Administration(omisoff ) 03.02.11 08:48:15
[OM 4972] Scalix is running.


<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
-> ml_IsSubSystemInstalled
-> ml_ReadMember
<- ml_ReadMember
<- ml_IsSubSystemInstalled
<- ml_OmGeneralStatus
<- /build/11.4.6/src/bin/io/io_main.c:71[100,4972]

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Re: Export Failure

Postby mikethebike » Wed Mar 02, 2011 9:47 am

have you tried running an omtidyu on that user, reporting on that mailer-deamon message?
If you use omcontain, what are the first few messages in the inbox (at least the first 6)
Mick

PrisonMind
Posts: 308
Joined: Thu Jul 10, 2008 5:00 am
Location: Adua

Re: Export Failure

Postby PrisonMind » Wed Mar 02, 2011 3:06 pm

yes i use omtidyu.

here the output

Ctr Handle (3002):^M



thanks in advance!!!!!!
beo
Last edited by PrisonMind on Wed Mar 09, 2011 2:17 pm, edited 1 time in total.

PrisonMind
Posts: 308
Joined: Thu Jul 10, 2008 5:00 am
Location: Adua

Re: Export Failure [SOLVED]

Postby PrisonMind » Wed Mar 09, 2011 2:14 pm

hi again,

we solved the problem with the outlook archive function.
oulook debug shows us the defect dref nr!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests