Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: jmvelez on April 13, 2017, 11:33:09 PM
-
I installed Zarafa 7.1.14 on SME 9.1. I get an error at login to the webmail of
Please logon.
Cannot connect to the Zarafa Server.
I have Zarafa running on SME 8 and need to move it to 9.1
-
It seems that one of the zarafa services is not running. Can you provide more details/logs? And how you installed it on 9.1?
-
Thank You for your response. The installation was done following the how to. I am out of the office today but which log you want me to post. At boot I had errors of ssl2 and commented the lines in several cfg. All starts without error but one is giving an error uft8. I think is zarafa-monitor but it goes to fast at boot
-
service zarafa-xxx status will show you if the zarafa service is running, where xxxx is the zarafa service name.
-
zarafa-licensed service is not running. All others are running (Gateway, Server, Monitor, search,ical, spooler etc)
-
Zarafa services write warnings and errors to log files in /var/log/zarafa/*.log
cat /var/log/zarafa/server.log
to find out why the zarafa-server is not running.
-
Thank You, I contacted the author of the of the contribution and he entered to the server and found the problem. This is his response so it could help other.
There were a couple things wrong with the server.
1) Something triggered user_safe_mode during installation. This is usually due to an existing database or if you try and install more than once. It is a precaution so that existing users and data are not deleted…
zarafa-server=service
DbPassword=9$n4d&1_ynqqXIUe!x2MWdR_UT_#ObQi0oa8d$9fWwJBvBZLVBZTzHB$DsNN89fn
GlobalForward=enabled
IncludeAdmin=disabled
Plugin=unix
TCPPort=236
UserSafeMode=yes
access=private
status=enabled
[root@vcs9 zarafa]#
If you are sure your installation is safe and will not lose any users or data you will need to issue the following. Since this is a test install, I did it and all the test users were created.
Config setprop zarafa-server UserSafeMode no
2) My templates no longer work with newer 7.1 or 7.2. they changed some of the ssl settings so you will need to replace this in both TEMPLATES for /etc/e-smith/templates/zarafa/server.cfg/server.cfg AND /etc/e-smith/templates/zarafa/gateway.cfg/gateway.cfg
In /etc/e-smith/templates/zarafa/server.cfg/server.cfg replace this…
# Accept SSLv2 only connections. Normally v3 connections are used.
server_ssl_enable_v2 = no
With this…
# Accept SSLv2 only connections. Normally v3 connections are used.
server_ssl_protocols = !SSLv2
server_ssl_ciphers = ALL:!LOW:!SSLv2:!EXP:!aNULL
In /etc/e-smith/templates/zarafa/gateway.cfg/gateway.cfg replace this…
# Accept SSLv2 only connections. Normally v3 connections are used.
ssl_enable_v2 = no
With this…
# Accept SSLv2 only connections. Normally v3 connections are used.
ssl_protocols = !SSLv2
ssl_ciphers = ALL:!LOW:!SSLv2:!EXP:!aNULL
-
Great! So it solved all your problems now?
-
Well now I have to migrate Zarafa the 8.X server to 9.1. I am planning to use AFFA 3.0 since both versions of Zarafa are 7.X. Any idea how to do it
-
I would ask the help of Arnaud or Stefano to help you with this. I am sure they are willing to help realising the situation you are in.
-
I don't use Zarafa since a long time and, more, never had the necessity of restoring/moving its data
BTW, jmvelez, I'd create a test setup following the wiki page and try to restore following this howto:
https://wiki.contribs.org/Zarafa_on_SME_9#Backup_and_restore
if everything will work as expected, then re-do it on the production server.. if not, come here with some evidences and will try to help you
P.S. if you want to test something full OOSS, try the zarafa fork at www.kopano.org
-
I restored the backup with AFFA with the RISE command. The restore was perfect. All emails, notes, ibays, users etc. The mysql server took over 15 hours to boot. Know I need a new server with a faster CPU.
Thank You
-
Well.. Before thinking about CPU, I'd think about RAM and faster disks
-
The test server is a Supermicro motherboard with a J1900 4 core CPU and 8GB of RAM with a single 1TB SATA Drive. I am planning RAID 1 and 16GB and a faster CPU. J1900 is nice for Asterisk, NAS4Free and plain SME. Our Present Zarafa install in RAID 5 is too slow.