Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-23-2006, 06:21 AM
Senior Member
 
Posts: 54
Unhappy Seeming variety of problems on suse-9.1

Hello all. Let me start by congratulating the Zimbra dudes on what looks to be a lovely product...

If only I could get it to work. (Please bear in mind that I am a linux amateur)

I have a P4 3Ghz box with 2Gb RAM 40Gb HDD. I have installed suse-9.1 on it. I have tried default install and failsafe. I tried to install zcs-3.0.0_GA_156.SuSEES9.tgz and it gave me a couple of errors for missing fetchmail and curl(?). Downloaded rpm's for those and installed them. Tried the zimbra install again and all seemed ok apart from it saying that there was no MX record for the domain and that I should change it. I guess this is because (for some reason) zimbra uses suse's host+domain name as a default domain name (in my case: mail.yellodot.co.za). So I changed the domain to yellodot.co.za and the install complete's quite happily (bar setting the admin password).

Onto the problems... First of all I had major problems getting into the admin console. Searched the forum tried a few things, reinstalled zimbra and suse a few times. Eventually (this morning) I managed to get into the admin console where I found that MTA was stopped. Searched the forums again tried a few more things. Nothing seemed to work. All I could find was that postfix was complaining about not being able to load shared ldap libraries. Ended up trying to reinstal zimbra again and no change. I have disabled native postfix and there's no sendmail, no native sql, changed hosts as specified. Really banging my head on the wall here!

Code:
zimbra@mail:~> zmcontrol status
Host mail.yellodot.co.za
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        mta                     Stopped
        snmp                    Running
        spell                   Running
Code:
zimbra@mail:~> zmmtactl status
zimbra@mail:~>
Code:
zimbra@mail:~> zmmtactl reload
Usage: /opt/zimbra/bin/zmmtaconfigctl start|stop|kill|restart|status
/opt/zimbra/postfix-2.2.5/sbin/postsuper: error while loading shared libraries: libldap-2.2.so.7: cannot open shared object file: No such file or directory
/opt/zimbra/postfix-2.2.5/sbin/postalias: error while loading shared libraries: libldap-2.2.so.7: cannot open shared object file: No such file or directory
/opt/zimbra/postfix-2.2.5/sbin/postfix: error while loading shared libraries: libldap-2.2.so.7: cannot open shared object file: No such file or directory
Usage: /opt/zimbra/bin/zmsaslauthdctl start|stop|kill|restart|status
zimbra@mail:~>
Attached all info I thought might be useful. Please let me know if you need something else. Any help/constructive criticism greatly appreciated.
Attached Files
File Type: txt zimbra.log.txt (6.3 KB, 346 views)
File Type: txt install_history.txt (1.5 KB, 362 views)
File Type: txt config.3203.txt (821 Bytes, 357 views)
Reply With Quote
  #2 (permalink)  
Old 02-23-2006, 08:19 AM
Zimbra Employee
 
Posts: 2,073
Default

What's in /etc/ld.so.conf (or /etc/ld.so.conf.d, if it exists)?

Is /opt/zimbra/openldap/lib listed?

ldd /opt/zimbra/postfix/libexec/master - is it finding our ldap lib?

If not - update /etc/ld.so.conf adding:
/opt/zimbra/lib
/opt/zimbra/sleepycat/lib
/opt/zimbra/openldap/lib
/opt/zimbra/cyrus-sasl/lib

then run ldconfig (as root).
Reply With Quote
  #3 (permalink)  
Old 02-23-2006, 08:44 AM
Senior Member
 
Posts: 54
Default

Thanks for the response MarcMac

Wasn't there.

Added it, ran ldd, checked again and it is now finding it.

AND mta now showed active in the admin console.

Decided I'd reboot just to make sure all was hunky-dory but when the server came back up, can't get admin console, can't connect to admin mailbox (pop3), logging into admin mailbox via web gives login screen but on login I get
Quote:
A network error has occurred. Please correct any errors and retry. If the problem persists, please contact your System Administrator
Not really sure where to look first for the problem?

[EDIT]Now that's weird. What do you make of this:
Code:
mail:/opt/zimbra/log # su - zimbra
zimbra@mail:~> zmcontrol status
Cannot determine services - exitingzimbra@mail:~> zmcontrol start
Host mail.yellodot.co.za
        Starting ldap...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting mta...Done.
        Starting snmp...Done.
        Starting spell...Done.
zimbra@mail:~> zmcontrol status
Host mail.yellodot.co.za
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        spell                   Running
zimbra@mail:~>
[/EDIT]
I guess that means something's choking at boot time?

Last edited by Crexis : 02-23-2006 at 08:52 AM.
Reply With Quote
  #4 (permalink)  
Old 02-23-2006, 08:46 AM
Zimbra Employee
 
Posts: 2,073
Default

su - zimbra
zmcontrol status

If you get just the hostname back, or "cannot determine services"

zmlocalconfig -s | grep ldap
zmhostname
Reply With Quote
  #5 (permalink)  
Old 02-23-2006, 08:54 AM
Senior Member
 
Posts: 54
Default Oops!

Sorry, guess I jumped the gun with my edit there.

Should I do another reboot and see if i falls over again and then try what you said? (marcmac)
Reply With Quote
  #6 (permalink)  
Old 02-23-2006, 08:59 AM
Zimbra Employee
 
Posts: 2,073
Default

no, just find out what is and isn't running.
Reply With Quote
  #7 (permalink)  
Old 02-23-2006, 09:02 AM
Senior Member
 
Posts: 54
Default

Is there a good way to do that or should I try sifting through log files? If it's log files which would be the best one to look at?
Reply With Quote
  #8 (permalink)  
Old 02-23-2006, 09:04 AM
Zimbra Employee
 
Posts: 2,073
Default

Read my post and type in the commands I gave you. Then post the output.
Reply With Quote
  #9 (permalink)  
Old 02-23-2006, 12:29 PM
Senior Member
 
Posts: 54
Default

Quote:
Originally Posted by marcmac
Read my post and type in the commands I gave you. Then post the output.
Ok...

After a reboot this is the response I get to your commands:
Code:
mail:~ # su - zimbra
zimbra@mail:~> zmcontrol status
Cannot determine services - exitingzimbra@mail:~>

zimbra@mail:~> zmlocalconfig -s | grep ldap
ldap_connect_pool_debug = false
ldap_connect_pool_initsize = 1
ldap_connect_pool_maxsize = 25
ldap_connect_pool_prefsize = 0
ldap_connect_pool_timeout = 120000
ldap_connect_timeout = 10000
ldap_host =
ldap_is_master = true
ldap_master_url = ldap://mail.yellodot.co.za:389
ldap_port =
ldap_root_password = mPkMlY9MhF
ldap_url = ldap://mail.yellodot.co.za
zimbra_ldap_password = mPkMlY9MhF
zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
zimbra@mail:~>

zimbra@mail:~> zmhostname
mail.yellodot.co.za
zimbra@mail:~>
If I then do a "zmcontrol start" I get:
Code:
zimbra@mail:~> zmcontrol status
Host mail.yellodot.co.za
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        spell                   Running
zimbra@mail:~>

zimbra@mail:~> zmlocalconfig -s | grep ldap
ldap_connect_pool_debug = false
ldap_connect_pool_initsize = 1
ldap_connect_pool_maxsize = 25
ldap_connect_pool_prefsize = 0
ldap_connect_pool_timeout = 120000
ldap_connect_timeout = 10000
ldap_host =
ldap_is_master = true
ldap_master_url = ldap://mail.yellodot.co.za:389
ldap_port =
ldap_root_password = mPkMlY9MhF
ldap_url = ldap://mail.yellodot.co.za
zimbra_ldap_password = mPkMlY9MhF
zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
zimbra@mail:~>

zimbra@mail:~> zmhostname
mail.yellodot.co.za
zimbra@mail:~>
I may be a plonker but I don't see anything different apart from the output from the "zmcontrol status"
Reply With Quote
  #10 (permalink)  
Old 02-23-2006, 12:36 PM
Zimbra Employee
 
Posts: 2,073
Default

Looks like the system wasn't running - then you started it - and now it's running.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0