upgrade from 10 to 11.0.1: The evaluation period ...

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

netphantom
Posts: 15
Joined: Fri Feb 24, 2006 6:00 am

upgrade from 10 to 11.0.1: The evaluation period ...

Postby netphantom » Tue Feb 20, 2007 5:22 am

Hi,
I tried to upgrade to 11.0.1. So I extracted the tarball from the old suse 10.0 server to the new one (10.1). Then I created a user "scalix" with the uid 103 (the same as at the old machine).
The next step was to install scalix 11.0.1. The installation proccess seemed to went fine.
Login to sac works.
Login to webmail shows me the "evaluation" error message.
A restart of tomcat (/etc/init.d/scalix-tomcat restart) does not resolve the problem.

omcheck -i -s shows no need of modification.

omstat -a shows:

Code: Select all

linux:~ # omstat -a
PC Monitor                    Started        NON-STOP       0
Directory Relay Server        Started        09:52:23
Notification Server           Started        09:52:24       0
Shared memory daemon          Started        NON-STOP
Notification Monitor          Started        NON-STOP
Session Monitor               Started        NON-STOP
Indexer                       Started        NON-STOP
Stats Daemon                  Started        NON-STOP
Container Access Monitor      Started        NON-STOP
Item Structure Server         Stopped        09:25:10
Database Monitor              Started        09:52:24
Licence Monitor Daemon        Started        NON-STOP
LDAP Daemon                   Started        09:52:25
Queue Manager                 Started        NON-STOP
Item Delete Daemon            Started        NON-STOP
IMAP Server Daemon            Started        09:52:25
SMTP Relay                    Started        09:52:26
Mime Browser Controller       Started        09:52:27
Event Server                  Started        09:52:27


A difference between old and new server: they have different IP addresses.
/etc/hosts seems to be ok:

Code: Select all

192.168.1.193   linux.site linux


omshowlog shows only some ERRORS and WARININGS:

Code: Select all

WARNING                        Administration(omgetmsg      ) 02.20.07 08:35:09
[OM 23559] An unrecognized line (561) was found when an OMSTDID line was expected.


WARNING                        Administration(omaddent      ) 02.20.07 08:36:28
[OM 29022] Could not generate internet address or part of address
for entry /linux,site using domain XXXXXXX.de and rule "C" <C>


WARNING                        Administration(omaddent      ) 02.20.07 08:36:28
[OM 29022] Could not generate internet address or part of address
for entry /linux,site using domain XXXXXXX.de and rule "C" <G.S>


WARNING                        Shared memory (Shared memory ) 02.20.07 08:36:42
[OM 24142] Conversion from KSC5601 to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 08:36:42
[OM 24142] Conversion from ISO2022CN to UCS2 not found.

WARNING                        Shared memory (Shared memory ) 02.20.07 08:36:42
[OM 24142] Conversion from SJIS to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 08:37:15
[OM 24142] Conversion from KSC5601 to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 08:37:15
[OM 24142] Conversion from ISO2022CN to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 08:37:15
[OM 24142] Conversion from SJIS to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 08:47:47
[OM 24142] Conversion from KSC5601 to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 08:47:49
[OM 24142] Conversion from ISO2022CN to UCS2 not found.

WARNING                        Shared memory (Shared memory ) 02.20.07 08:47:50
[OM 24142] Conversion from SJIS to UCS2 not found.


ERROR                          Omscan Server (Omscan Server ) 02.20.07 09:03:29
[SYS 9] Bad file descriptor
Current errno value: 9
        <- scn_ServerDelayStop
        <- scn_StatusLockArea
        -> scn_StatusUnlockArea
        -> scn_ServerDelayStop
        <- scn_ServerDelayStop
        <- scn_StatusUnlockArea
        <- scn_ServerGetRequest
        <- scn_ServerDoProcessing
        -> scn_StatusUnloadArea
        <- scn_StatusUnloadArea
        <- scn_ServerMain
        -> scn_ServerTrapSignal
        -> scn_ServerDelayStop
        <- scn_ServerDelayStop
        -> scn_StatusUnloadArea
        <- /build/11.0.1/src/lib/ombase/os/os_close.c:45[1,9]
ERROR                          Administration(Scalix Admin C) 02.20.07 09:05:39
[SYS 2] No such file or directory
Current errno value: 2
        <- /build/11.0.1/src/lib/ombase/os/os_stat.c:58[1,2]


WARNING                        Shared memory (Shared memory ) 02.20.07 09:08:49
[OM 24142] Conversion from KSC5601 to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 09:08:49
[OM 24142] Conversion from ISO2022CN to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 09:08:49
[OM 24142] Conversion from SJIS to UCS2 not found.


WARNING                        Shared memory (Shared memory ) 02.20.07 09:26:26
[OM 24142] Conversion from KSC5601 to UCS2 not found.


Do you have an idea, what I did wrong?

netphantom
Posts: 15
Joined: Fri Feb 24, 2006 6:00 am

Postby netphantom » Tue Feb 20, 2007 6:20 am

Some new info:
I changed the permission to group scalix (chown scalix:scalix /var/opt/scalix -R)

Now I can log in with some users. (some login fails with username or password incorrect)

Now omshowlog shows many errors of the types:

Code: Select all

ERROR                          IMAP Server Da(IMAP Server Pr) 02.20.07 11:15:52
[SYS 13] Permission denied
File Name: /var/opt/scalix/lx/s/temp/00012fk.mim


Code: Select all

ERROR                          IMAP Server Da(IMAP Server Pr) 02.20.07 11:15:52
[OM.UI 2203] MSL problem - item MIME structure not produced - see error log
File Name: /var/opt/scalix/lx/s/temp/00012fk.mim

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Feb 20, 2007 8:21 am

Hi!

Can you check the permissions for scalix files using the command "omcheck -i -s"
To actually fix the problem if any of permissions, you should run omcheck to generate
a shell script - on standard output - that, when run, fixes the problem for permission
issues.

Code: Select all

omcheck -i -s >fix_perms.sh
bash ./fix_perms.sh

You might want to review what the script is planning to do before actually executing the second command.

Thanks,
Subir

netphantom
Posts: 15
Joined: Fri Feb 24, 2006 6:00 am

Postby netphantom » Fri Feb 23, 2007 10:35 am

Hi,
I have checked with omcheck, but all seems fine concerning permissions.

I have already tried the upgrade from start, but I still have the same fault.

Is there something else, I can do?

Bye,
NP

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Sat Feb 24, 2007 7:32 am

Hi!

Did you run the shell script generated by the command I suggested in my last post?
If you ran the script and still face the problem, I would suggest you to run the command
below for those users for whom login fails:

Code: Select all

omtidyu -MB -u username/mailnode

This pre-generates the mime data for the messages and should resolve the problem.

If the above step does not help either, then I would request you to perform the steps
below to try and reslove the issue:

Code: Select all

omoff -d0 omscan 
omscan -Z     
omon omscan     

You need to watch the status of the omscan process using the command:

Code: Select all

omscan -t

Wait until you get a message that says "Current server cycle not started;
service reset or delayed".

Now try to fix the mailstore related issues in active mode using the below given
command:

Code: Select all

omscan -Avfx -U <username>/<mailnode> 


Thanks,
Subir

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Feb 24, 2007 11:36 am

As the file ownership under ~/user or ~/data seem to be affected, you will need to run omcheck as

Code: Select all

omcheck -s -d


Florian.
Florian von Kurnatowski, Die Harder!

kanderson

Postby kanderson » Sat Feb 24, 2007 11:59 am

I hit this last night migrating from SLES to RHEL for a client.

omcheck is missing some directories. It SAYS that all is fine, but it isn't. I'll enter a bug into bugzilla shortly.

Kev.

netphantom
Posts: 15
Joined: Fri Feb 24, 2006 6:00 am

Postby netphantom » Mon Feb 26, 2007 1:22 am

Hi,
so there is my next question: ;)
Should I try to solve my problem by executing the hints above or do I have to wait, until a fix is released?

Bye,
NP

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Feb 26, 2007 1:29 am

Well, running omcheck with all possible options will certainly do no harm.

If there is anything omcheck is missing, that would need to be logged as a bug and we can look into it.

However, as there is a very clean "workaround" (which is actually more like a best practice), i.e. to copy the files with a method preserving ownership and permission in the first place, we're not likely to treat this with a very high priority.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

netphantom
Posts: 15
Joined: Fri Feb 24, 2006 6:00 am

Postby netphantom » Mon Feb 26, 2007 4:43 am

So is there a difference to "my" way?
I thought, make a tarball with parameter p, copy it to the new server and extract should be enough ...
Do I have to add the user and group "scalix" before or after the extracting of the tarball?
And the UIDs should be the same as at the old machine?


Bye,
NP

kanderson

Postby kanderson » Mon Feb 26, 2007 7:26 am

The issue I ran into was that the Scalix user had a different ID on the two boxes. Likely due to a distro change.

Kev.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Feb 26, 2007 9:10 am

This can easily be helped by copying over the files using tar. Gnu tar will by default rather go with the symbolic username and adjust file ownership accordingly if he user has a different UID.

Being a Unix guy of 20 years experience with various -x-type operating system that surprised me quite a bit when I learned it (as tar really had never been that way), but i've learned to accept the convenience of it.

So, as long as you create the scalix user and group before unpacking the archive, you're safe when using tar, which is what I would personally always recommend for the very reason that it seems to be the most permission save archiving tool.

Florian.
Florian von Kurnatowski, Die Harder!

kanderson

Postby kanderson » Mon Feb 26, 2007 10:50 am

Good to know.

I used rsync so I could get 99% of it while the server was up and running, and then after I shut the server down, it was just a 5 minute resync to make it current. The initial sync took 12+ hours.

Oh well. I'll know for next time...

Kev.

kanderson

Postby kanderson » Mon Feb 26, 2007 5:34 pm

BTW, my omcheck issues was a problem between the keyboard and the chair I was sitting in... :)

Kev.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 14 guests