From: | Scott Lasater |
---|---|
Date: | 10/23/17 12:16 PM |
Topic: | migrate from Windows to Linux not working |
Type: | Installation |
Post a follow up |
Aloha, I am moving a long standing Xeams stand-alone server from a windows platform onto a Debian 8 machine. It is a clean install. I then follow the instructions to migrate. I install Xeams on the new machine and all is working well. I then move the data from the old machine except for the appconfig file. (I have never located the wrapper file.) After moving, the program slows to a dead crawl and the only service I can get working is SMTP after binding to the new IP address. IMAP and POP3 will not come to life. The diagnostic check says everything is fine. What am I missing? |
|
Top |
From: | Synametrics Support |
---|---|
Date: | 10/23/17 1:43 PM |
Topic: | migrate from Windows to Linux not working |
Type: | Installation |
Post a follow up |
Do you see any errors in Xeams.log file? It should be in /opt/Xeams/logs folder. Did you also move the /opt/Xeams/db folder? If this folder is missing or corrupted, Xeams will try to rebuild it. This folder holds an embedded database, which can take some time to rebuild. The log file should have information if this DB is being rebuilt. |
|
Top |
From: | Scott Lasater |
---|---|
Date: | 10/23/17 3:17 PM |
Topic: | migrate from Windows to Linux not working |
Type: | Installation |
Post a follow up |
Yes, the log file shows repeated entries of "unable to get a database connection after waiting for 40 seconds." I don't see anwhere about rebuilding though. What can I do? |
|
Top |
From: | Synametrics Support |
---|---|
Date: | 10/23/17 3:25 PM |
Topic: | migrate from Windows to Linux not working |
Type: | Installation |
Post a follow up |
It is very likely the database is corrupted. Try the following:
When this folder is not found, Xeams will try to recreate and re-populate data. It will run slowly for a few minutes. The actual time depends on how far your emails go in the past. |
|
Top |
From: | Anonymous |
---|---|
Date: | 10/23/17 3:29 PM |
Topic: | migrate from Windows to Linux not working |
Type: | Installation |
Post a follow up |
OK, but before I do that, I noticed it says SQLSTATE: XCL20Catalogs at version level 'null' cannot be upgraded to version level '10.3' |
|
Top |
From: | Synametrics Support |
---|---|
Date: | 10/23/17 4:05 PM |
Topic: | migrate from Windows to Linux not working |
Type: | Installation |
Post a follow up |
Don't worry about the version problem. Let it rebuild. You will NOT be able to merge the two databases. It will be difficult to move them to the older server if the newer server handles new messages. The embedded database is only used to display messages without search. A corrupted database does not affect email flow. In the worst case scenario message won't show when trying to view them without searching, which will get fixed eventually since Xeams only displays messages for last X number of days. There are two ways Xeams display messages through Message Repository:
Therefore, even if you can't get the DB migrated or recreated, the problem will go away in a few days, and it won't affect email flow. |
|
Top |
From: | Scott Lasater |
---|---|
Date: | 10/23/17 7:15 PM |
Topic: | migrate from Windows to Linux not working |
Type: | Installation |
Post a follow up |
So it sounds like the best approach is to NOT copy the db folder to the new server and delete the one that exists there already. When I deleted it intially, it solved all problems in about 15 seconds.
I'm going to have to do this migration again tonight and I'd like it to just go smoothly. This is the only way I can see to make that happen. |
|
Top |