Can't fully delete user to restore it!

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

mito
Posts: 194
Joined: Fri Mar 24, 2006 11:33 am

Can't fully delete user to restore it!

Postby mito » Fri Jan 12, 2007 10:38 am

Help!

Ok, so I am at the point of needing to restore a users email account as things got deleted that they need.

So, I use the omcpinu command to restore a backup generated a few days ago with the omcpoutu command. It starts to take forever, and then looks like it just finishes without an error. I then try to login to the account, and it acts like the account is locked, but it's not.

So then I tried to check the status on the mailboxes to see how the restore went, and I get this:

Code: Select all

[root@mail restore]# omtidyu -B -u BackupFile -T ifop
Deletable items for 'Name Removed /mail,mailnode/CN=Removed, Name'

  InTray: 788 messages

  OutTray: 0 messages
A fatal error has occurred - see the system error log
Content Record has not been upgraded to current container format.
This command is not allowed in this context


So, this lead me to believe that the mailbox was corrupted during the restore. So, I opted to delete the mailbox/account entirely and then restore completely. I tried to delete from SAC, and it said it was unable to delete. I then tried to delete using the omdelu command, and it said:

Code: Select all

[OM 8040] The user can't be found, or has been deleted.

omdelu: No users were deleted


BUT, when I try to create a new account, it says I can't because the name and address already exist. When I look in SAC, the account is still there, but it says "Could not retrieve the information for the selected user" when I try to click it.

So, the end result is that I need to get this user opperational with all his old mail, but at this point, I need to finish deleting him first. I have restarted scalix via '/sbin/service scalix restart' in the hopes that something had a file open, but that didn't do any good.

Anyone have any ideas?

mito
Posts: 194
Joined: Fri Mar 24, 2006 11:33 am

Postby mito » Fri Jan 12, 2007 11:18 am

Well, after changing my search criteria on the forums etc I found this post, and it let me finish deleting the user and I now have it recreated and doing the restore again. Hopefully this will not corrupt the user account again.

Does anyone know what could have corrupted it in the first place?

mito
Posts: 194
Joined: Fri Mar 24, 2006 11:33 am

Postby mito » Fri Jan 12, 2007 3:55 pm

Just for the sake of future people who have a similar problem, after I finished deleting the user, I was able to recreate the user and restore the data file (using the same restore command as I used the first time) and everything was restored properly.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron