Hi i have some serious problems with a scaling migration,
My goal is to move a already existing version (11.x) of scaling to a new computer (11.x).. but i have some serious problems... i hope that people can help me.. here is what i have done.. then i dont know if i have made anything wrong... this i what i have read i could do in this forum..
First I better make clear that i have changed the IP-addr, but the hostname is the same..
This is my "recipient":
I will first explain what i do in text, afterwards exactly my scripting, what i have done..
1. i make a clean install
2. i test the new install
3. everything works just perfect
4. i shut down all processes that has to do with scalix
5. i copy my new clean install to a bck dir
6. i override my /var/opt/scalix with my old install
7. i change ownership of my old installed dir, so that scalix owns everything
8. i run ompatchom
9. i start scalix up as it was before
summary:
POP3 - OK
Everything works apparently
IMAP - FAILURE
IMAP recognize my login but drop the connection right away
Webmail - FAILURE
I cannot login with the message wrong password or username
SAC - OK
I can login with the password from the other machine, and watch all users from that system, and see that they have a lot of mails
Thats all.. now my descripting EXEACTLY as i did it.. i really hope that someone can help me out here..
After my install i tested the installation if it did work.. and everything appears to be just fine.. and the webmail/sac works perfect..
hollo@wonder:~$ telnet 10.1.1.82 110
Trying 10.1.1.82...
Connected to 10.1.1.82.
Escape character is '^]'.
+OK Scalix POP3 interface ready on: aalzh.rdsas.com
user sxadmin
+OK sxadmin gets mail here
pass test
+OK User Signed on: sxadmin intray has 0 messages
list
+OK Listing
.
quit
+OK POP3 Server connection terminated
Connection closed by foreign host.
hollo@wonder:~$ telnet 10.1.1.82 143
Trying 10.1.1.82...
Connected to 10.1.1.82.
Escape character is '^]'.
* OK Scalix IMAP server 11.1.0.10849 ready on aalzh.rdsas.com
a login sxadmin test
a OK LOGIN completed, now connected to aalzh.rdsas.com
^]
telnet> Connection closed.
hollo@wonder:~$
Now i wanted to stop the current running scalix..
Connection to 10.1.1.82 closed.
hollo@wonder:~$ ssh root@10.1.1.82
root@10.1.1.82's password:
Last login: Sat Aug 25 16:49:28 2007 from 10.1.1.115
[root@aalzh ~]# omshut
Disabling 14 subsystem(s).
omoff : [OM 4835] Subsystem Item Structure Server is already off.
Disabling 8 subsystem(s).
[root@aalzh ~]# /etc/init.d/scalix stop
[root@aalzh ~]# /etc/init.d/scalix-tomcat stop
Stopping Tomcat service (aalzh): [ OK ]
[root@aalzh ~]# ps aux | grep scalix
root 4675 0.0 0.0 4680 396 ? Ss 16:50 0:00 /opt/scalix/bin/ldapmapper --pidfile /var/run/ldapmapper.pid
postgres 9865 0.0 0.0 20180 2052 ? S 16:54 0:00 /usr/bin/postmaster -i -h aalzh.rdsas.com -p 5733 -D /var/opt/scalix/ah/postgres/data -k /var/opt/scalix/ah/postgres/data
root 10461 0.0 0.0 3912 620 pts/1 S+ 17:09 0:00 grep scalix
[root@aalzh ~]# /etc/init.d/ldapmapper stop
Stopping Scalix LDAP mapper (ldapmapper): [ OK ]
[root@aalzh ~]# /etc/init.d/scalix-postgres stop
Stopping scalix-postgres service (aalzh): [ OK ]
[root@aalzh ~]# ps aux | grep scalix
root 10577 0.0 0.0 4872 620 pts/1 S+ 17:10 0:00 grep scalix
[root@aalzh ~]#
now no processes with the name of scalix seems to be running... so now i want to copy my old install to a bck dir.. and copy my old install to my /var/opt/scalix path:
[root@aalzh ~]# cd /var/opt/
[root@aalzh opt]# cp -r scalix /tmp/scalix_old
[root@aalzh opt]# rm -rf scalix
[root@aalzh opt]# cp -r /root/scalix /var/opt/
[root@aalzh opt]# chown -R scalix:scalix /var/opt/scalix
[root@aalzh opt]# ompatchom
ompatchom: Scalix instance running
[root@aalzh opt]# omshut
Disabling 17 subsystem(s).
omoff : [OM 4835] Subsystem Item Structure Server is already off.
Disabling 8 subsystem(s).
[root@aalzh opt]# ompatchom
ompatchom: Running patch-uninstall scripts ...
ompatchom: Running patch-preinstall scripts ...
###########################################################################
#
# ompatchom: Initializing Scalix components.
#
###########################################################################
ompatchom: Copying Scalix components, please wait
# Uncomment the following lines to enable the Submission and LMTP listeners
#LMTP=ON
# This listener is only active if LMTP=ON is above
[LMTP]
###########################################################################
#
# Check and clear out all old directory change logs if one or more
# directory requires conversion. To initiate a resync request, use:
# omresyncds -d <directory_name>
#
###########################################################################
No directories require conversion
###########################################################################
#
# Convert all hidden directories without password
#
###########################################################################
No directories require conversion
###########################################################################
#
# Convert all shared directories without password
#
###########################################################################
No directories require conversion
###########################################################################
#
# Check any other directory with password not converted.
# Manual conversion instruction using omcnvdirs utility:
# omcnvdirs -d <name> -t <type> -p <password> -a ''
#
###########################################################################
No directories require conversion
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
Updating data for new Scalix version. Please wait ...
About to copy values for some new SYSTEM directory attributes.
Searching for SYSTEM entries with ENTRY-TYPE=1/PRIMARY-S=/(UL-AUTHID= | UL-CAPS= | UL-IL=) ...
No update required for attribute UL-AUTHID/UL-CAPS/UL-IL.
About to generate values for some new SYSTEM directory attributes.
Searching for local entries without attribute GLOBAL-UNIQUE-ID ...
No update required for attribute GLOBAL-UNIQUE-ID.
Searching for local entries without attribute HOST-FQDN ...
No update required for attribute HOST-FQDN.
About to upgrade all Bulletin Board Access Control Lists (BB ACLs).
No upgrade required, file /var/opt/scalix/ah/s/acl/bb/upgrade.fin already exists.
About to update GUIDs in USERLIST to match those in SYSTEM directory.
Update GUID for authid: sxadmin
[OM 16961] Modified 1 entry in the Directory
Update completed, or modification is not required.
###########################################################################
#
# ompatchom: Scalix Initialization Complete
#
###########################################################################
ompatchom: Running patch-postinstall scripts ...
NOTE: The above output is also contained in the
file /var/opt/scalix/ah/s/sys/install/11.1.0.10849.log
[root@aalzh opt]# /etc/init.d/scalix start
Starting Scalix services (aalzh): [ OK ]
[root@aalzh opt]# /etc/init.d/scalix-tomcat start
Starting Tomcat service (aalzh): [ OK ]
[root@aalzh opt]# /etc/init.d/scalix-postgres start
Starting scalix-postgres service (aalzh): [FAILED]
[root@aalzh opt]# /etc/init.d/postgresql start
Starting postgresql service: [ OK ]
[root@aalzh opt]# /etc/init.d/scalix-postgres start
Starting scalix-postgres service (aalzh): [ OK ]
[root@aalzh opt]# omshut
Now things should be back to the old system... so i continue to check the setup... and i do the following:
hollo@wonder:~$ telnet 10.1.1.82 110
Trying 10.1.1.82...
Connected to 10.1.1.82.
Escape character is '^]'.
+OK Scalix POP3 interface ready on: aalzh.rdsas.com
user sxadmin
+OK sxadmin gets mail here
pass <SECRET>
+OK User Signed on: sxadmin intray has 357 messages
^]
telnet> Connection closed.
hollo@wonder:~$ telnet 10.1.1.82 143
Trying 10.1.1.82...
Connected to 10.1.1.82.
Escape character is '^]'.
* OK Scalix IMAP server 11.1.0.10849 ready on aalzh.rdsas.com
a login sxadmin <SECRET>
a NO LOGIN failure, service unavailable
* BYE IMAP Server not available
Connection closed by foreign host.
hollo@wonder:~$ telnet 10.1.1.82 143
Trying 10.1.1.82...
Connected to 10.1.1.82.
Escape character is '^]'.
* OK Scalix IMAP server 11.1.0.10849 ready on aalzh.rdsas.com
a login sxadmin badpassword
a NO LOGIN failure, user name or password rejected
^]
telnet> Connection closed.
hollo@wonder:~$
The Webmail interface still continue to fail login.. but the Admin (SAC) interface is successfull to let me in.
now as you can see what is happening is that when i log in to my mail folder with IMAP, i just get thrown away... i really dont know how to debug on that.. but please somebody help me... i dont even know where i can find any usefull logging.