|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
|
Greetings Tim
The new file worked, (which is great)
However, when i restart the gateway it fails
All other restarts work ok.
I can access the web interface. When I put in the user name and password, it returns an error "Can't connect to the zarafa server."
I'm assuming that there is someting in common between the two issues.
I've checked all the packages, they seem to be installed.
Do you have any hints?
Kind Regards
Vince
|
|
Vince
Junior Boarder
Posts: 29
|
|
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
Hi Vince, are there any clues in /var/log/zarafa/server.log?
EDIT: Also worth checking /var/log/zarafa/gateway.log
EDIT2! D'OH sorry typo, my instructions incorrectly show zarafa-gateway when it should be | Code: |
service zarafa-server restart
|
- sorry! i'll edit my post
|
|
|
|
Last Edit: 2010/04/15 10:29 By timb80.
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
|
Hi Tim
I noticed that the server log indicated that I had an incorrect setting in the ldap.cfg. It looks like it
is now connecting, however i'm now getting "Logon failed, please check your name/password."
The Server log is returning
Thu 15 Apr 2010 10:41:45 AM EDT: Shutting down.
Thu 15 Apr 2010 10:42:46 AM EDT: 1 threads did not exit within timeout.
Thu 15 Apr 2010 10:42:47 AM EDT: Server shutdown complete.
Thu 15 Apr 2010 10:42:47 AM EDT: Starting zarafa-server version 6,30,12,19435 (19435), pid 4748
Thu 15 Apr 2010 10:42:47 AM EDT: Connection to database 'zarafa' succeeded
Thu 15 Apr 2010 10:42:47 AM EDT: Using commercial license serial ''
Thu 15 Apr 2010 10:42:47 AM EDT: Listening for pipe connections on /var/run/zarafa
Thu 15 Apr 2010 10:42:47 AM EDT: Listening for TCP connections on port 236
Thu 15 Apr 2010 10:42:47 AM EDT: Startup succeeded on pid 4753
is there a command in man-admin that lists the users and passwords?
and, The Gateway log is returning
Thu 15 Apr 2010 10:38:46 AM EDT: Unable to bind to port 110.
Thu 15 Apr 2010 10:38:46 AM EDT: Unable to listen on port 110
kind regards
Vince
|
|
Vince
Junior Boarder
Posts: 29
|
|
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
|
Hi Tim
I have it working now.
My Domain and LDAP settings in Clearos are in the following format:
cn=xxxxxx,cn=xxxxxx,dc=xxxxxxxx,dc=xxxxx
therefore i had in ldap.cfg
ldap_bind_user = cn=xxxxxx,cn=xxxxxx,dc=xxxxxxxx,dc=xxxxx
ldap_user_search_base = cn=xxxxxx,cn=xxxxxx,dc=xxxxxxxx,dc=xxxxx
ldap_group_search_base = cn=xxxxxx,cn=xxxxxx,dc=xxxxxxxx,dc=xxxxx
I changed it to
ldap_bind_user = cn=xxxxxx,cn=xxxxxx,dc=xxxxxxxx,dc=xxxxx
ldap_user_search_base = dc=xxxxxxxx,dc=xxxxx
ldap_group_search_base = dc=xxxxxxxx,dc=xxxxx
I'm now able to log into webaccess, send and receive emails.
As I said I'm very new to this, so I do not understand why this works??
anyhow, I hope it keeps on working. Thankyou so much for your pointers. This is a fabulous breakthrough.
Kind Regards
Vince
|
|
Vince
Junior Boarder
Posts: 29
|
|
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
Hi Vince, did you see my edit above? you don't need the gateway service
It appears it may have overwritten your ldap config - can you double check the following fields in /etc/zarafa/ldap.cfg. They should reflect the webconfig output for the LDAP server (substitute yours in place)
| Code: |
ldap_bind_user = cn=manager,cn=internal,dc=starlane,dc=gotdns,dc=org
ldap_bind_passwd = abcdeFGHIJKLMNopqrst
ldap_user_search_base = dc=starlane,dc=gotdns,dc=org
ldap_group_search_base = dc=starlane,dc=gotdns,dc=org
ldap_authentication_method = bind
|
|
|
|
|
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
Ah ok crossed posts  great!
|
|
|
|
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
|
Hi Tim. Really love the work you are doing with Zarafa.
I have built a server doing a fresh install of ClearOS 5.1 SP1, and Zarafa 12-1 did a basic config and now following the procedure you have described. My LDAP.cfg looks like your example, but I got the error "Failed to open LDAP plugin configuration file, using defaults". I think it has something to do with the OpenLDAP-2.3 stuff that you refer to earlier but is no longer available on you FTP site.
Any ideas.
Thanks.
|
|
|
|
Last Edit: 2010/04/17 03:08 By Groveraus.
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
Hi Grant, did you follow step 3 and copy the default ldap.openldap.cfg file to ldap.cfg?
In /etc/zarafa/server.cfg is the path to the config file correct? it should look like below, also check the file name case?
| Code: |
##############################################################
# USER PLUGIN SETTINGS
# Name of the plugin that handles users
# Required, default = ldap
# Values: ldap, unix, db
user_plugin = ldap
# configuration file of the user plugin, examples can be found in /usr/share/zarafa/example-config
user_plugin_config = /etc/zarafa/ldap.cfg
# location of the zarafa plugins
# if you have a 64bit distribution, this probably should be changed to /usr/lib64/zarafa
plugin_path = /usr/lib/zarafa
|
|
|
|
|
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
|
Checked the ldap.cfg file and it is just as it it in step 3.
The server.cfg is the same as above.
I am wondering if there are any prereqs that I have not setup before getting Zarafa installed. What do you suggest as the basic system to have installed before setting up Zarafa correctly?
|
|
|
|
|
|
|
Re:Zarafa Webmail - HOWTO Install, and configure 3 Years, 1 Month ago
|
|
|
Hi, there are no additional requirements - they would have been picked up during the Zarafa RPM install
From a clean install, you do however need mysql to be running (which requires the root mysql password to be set) and a user created with the webconfig
Just tried myself on a clean VM install and although had no ldap related issue, I found a problem with PHP Mapi on default versions of PHP5.1.6 - will fix it and upload a new version aasp
|
|
|
|
Last Edit: 2010/04/18 09:25 By timb80.
|
|
|