[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Raq550os, Openwebmail 2.10 issue after cmu migration.



I have the next problem:

I migrate 2 web sites with mail accounts from one 550 to another. the new 550 have Openwebmail 2.10 already installed. Both machines have same version of openwebmail running.

After do that, i receive and error message when i try to logon to openwebmail using any account on the 2 domains we migrate:

"No pude bloquear para lectura /home/.sites/33/site5/.users/60/royzderich/mbox! " -----> in english will read something like: "I cant lock for read "

Any way, looks like the mbox file is locked and the open webmail engine cannot open the file. These is the first time i see something like that, i dont know what to do as i cant reach an error like that on the net.

New sites created over the new machine work fine. the problem just afffect to the 2 sites we migrate using CMU 2.53



I ran into similar problems recently when I migrated a block of sites from one RAQ550 to another. I'm not 100% certain based on the error message, but I'm 99% sure you are experiencing the same thing I did. It took me a long time to figure it out, and I might create a message for this group describing this issue for anyone migrating between 550s since it is a big problem if you migrate a lot of sites.

Apparently when you use Open Webmail on a user account, Open Web Mail modifies the file structure slightly. It creates a symbolic link from the mbox file to the saved-messages file of the same user. Because of the overall file structure of RAQ550s, the sybmolic link path on the new 550 will likely be different from the symbolic link path on the old 550. (Any user who has not previously used Open Webmail will not run into this problem)

What you have to do is go into the specific user's directory.

If you run the dir -ls command, you will normally see the following:

mail
mbox
Network
Private
web

However, if the user has used webmail in the past, you'll see something like the following with the dir -ls command

mail
mbox ->  /home/.sites/112/site7/.users/108/steve/mail/saved-messages
Network
Private
web

If you see the above, what you need to first do is delete mbox (since it is a symbolic link, it won't delete any data)

rm mbox

Then, copy the saved-messages file, located in the "mail" to become the new mbox:

cp mail/saved-messages mbox

Then all you need to do is chown the new file to the user name, in this case "steve."

chown steve mbox

That's it. When the user uses Open Webmail on the new server for the first time, the symbolic link will be set properly.

I had to go through every single user on the new server and find out which users had used webmail and make the changes. It was a real pain.

_________________________________________________________________
Fast. Reliable. Get MSN 9 Dial-up - 3 months for the price of 1! (Limited-time Offer) http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/