Results 1 to 10 of 10

Thread: installing on gutsy fails

  1. #1
    james-m is offline Member
    Join Date
    Nov 2007
    Posts
    10
    Rep Power
    7

    Angry installing on gutsy fails

    I followed your steps on fooling zimbra into installing on ubuntu gutsy than 6, but I am having problems with lapd. What am I doing wrong. Below is my setup log. Thanks in advance

    ================

    Getting installed packages
    checking isEnabled zimbra-core
    zimbra-core not in enabled cache
    enabled packages
    Newinstall enabling all installed packages
    Enabling zimbra-core
    Enabling zimbra-ldap
    Enabling zimbra-store
    Enabling zimbra-mta
    Enabling zimbra-snmp
    Enabling zimbra-logger
    Enabling zimbra-apache
    Enabling zimbra-spell
    Setting defaults...
    Setting local config zimbra_java_home to /opt/zimbra/java
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled


    DNS ERROR resolving MX for mail.pb.co.za
    It is suggested that the domain name have an MX record configured in DNS
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    MX: mail.pb.co.za (10.0.0.101)

    Interface: 10.0.0.101
    Interface: 127.0.0.1
    Done
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-spell
    zimbra-spell is enabled
    Checking for port conflicts
    checking isEnabled zimbra-store
    zimbra-store is enabled
    Port conflict detected: 80 (zimbra-store)
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-logger
    zimbra-logger is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    Global config attribute retrieved from ldap: zimbraSpamIsSpamAccount=
    Global config attribute retrieved from ldap: zimbraSpamIsNotSpamAccount=
    Global config attribute retrieved from ldap: zimbraNotebookAccount=
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-snmp
    zimbra-snmp is enabled
    checking isEnabled zimbra-spell
    zimbra-spell is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-snmp
    zimbra-snmp is enabled
    checking isEnabled zimbra-spell
    zimbra-spell is enabled
    Saving config in /opt/zimbra/config.9404...
    Done
    Operations logged to /tmp/zmsetup.log.9404
    Setting local config values...
    Setting local config zimbra_server_hostname to mail.pb.co.za
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_server_hostname='mail.pb.co.za'
    Setting local config ldap_master_url to ldap://mail.pb.co.za:389
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_master_url='ldap://mail.pb.co.za:389'
    Setting local config ldap_url to ldap://mail.pb.co.za:389
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_url='ldap://mail.pb.co.za:389'
    Setting local config ldap_port to 389
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_port='389'
    Setting local config ldap_host to mail.pb.co.za
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_host='mail.pb.co.za'
    Setting local config zimbra_uid to 1001
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_uid='1001'
    Setting local config zimbra_gid to 1001
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_gid='1001'
    Setting local config zimbra_user to zimbra
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_user='zimbra'
    Setting local config tomcat_truststore_password to changeit
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_truststore_password='changeit'
    Setting local config tomcat_keystore_password to oxQwUB2M6
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_keystore_password='oxQwUB2M6'
    Setting local config av_notify_user to admin@pb.co.za
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e av_notify_user='admin@pb.co.za'
    Setting local config ssl_allow_untrusted_certs to TRUE
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ssl_allow_untrusted_certs='TRUE'
    Setting local config mysql_memory_percent to 30
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e mysql_memory_percent='30'
    Setting local config tomcat_java_heap_memory_percent to 40
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_java_heap_memory_percent='40'
    Done
    Setting up CA...
    *** Running as zimbra user: cd /opt/zimbra; zmcreateca
    ** Creating CA private key

    Generating a 1024 bit RSA private key
    .............++++++
    ...........................++++++
    unable to write 'random state'
    writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
    -----
    ** Creating CA cert

    Signature ok
    subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
    Getting Private key
    unable to write 'random state'
    Done
    Creating SSL certificate...
    checking isEnabled zimbra-store
    zimbra-store is enabled
    *** Running as zimbra user: cd /opt/zimbra; zmcreatecert
    ** Importing CA

    Certificate was added to keystore
    ** Creating keystore

    ** Creating server cert request

    Generating a 1024 bit RSA private key
    ..........................++++++
    ........++++++
    unable to write 'random state'
    writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
    -----
    ** Signing cert request

    Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
    Check that the request matches the signature
    Signature ok
    Certificate Details:
    Serial Number:
    11:96:14:51:50
    Validity
    Not Before: Nov 27 06:32:32 2007 GMT
    Not After : Nov 26 06:32:32 2008 GMT
    Subject:
    countryName = US
    stateOrProvinceName = N/A
    organizationName = Zimbra Collaboration Suite
    commonName = mail.pb.co.za
    X509v3 extensions:
    X509v3 Basic Constraints:
    CA:FALSE
    Netscape Comment:
    OpenSSL Generated Certificate
    X509v3 Subject Key Identifier:
    33:20:E7:55:F3A:2B6:84:67:36:A0:A8:0B:77:43:A1:38:E7:BD
    X509v3 Authority Key Identifier:
    DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
    serial:E8:26A:9E:71:FE:6C:B3

    X509v3 Key Usage:
    Digital Signature, Non Repudiation, Key Encipherment
    Certificate is to be certified until Nov 26 06:32:32 2008 GMT (365 days)

    Write out database with 1 new entries
    Data Base Updated
    unable to write 'random state'
    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mail.pb.co.za
    Getting CA Private Key
    unable to write 'random state'
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    *** Running as zimbra user: cd /opt/zimbra; zmcreatecert
    ** Importing CA

    Certificate was added to keystore
    ** Creating keystore

    ** Creating server cert request

    Generating a 1024 bit RSA private key
    .......++++++
    ......++++++
    unable to write 'random state'
    writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
    -----
    ** Signing cert request

    Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
    Check that the request matches the signature
    Signature ok
    Certificate Details:
    Serial Number:
    11:96:14:51:53
    Validity
    Not Before: Nov 27 06:32:35 2007 GMT
    Not After : Nov 26 06:32:35 2008 GMT
    Subject:
    countryName = US
    stateOrProvinceName = N/A
    organizationName = Zimbra Collaboration Suite
    commonName = mail.pb.co.za
    X509v3 extensions:
    X509v3 Basic Constraints:
    CA:FALSE
    Netscape Comment:
    OpenSSL Generated Certificate
    X509v3 Subject Key Identifier:
    46:64:74:62:22:E0:19:99:57:E2:C1:10:63:C9:41:8B:98 :ED:4E:46
    X509v3 Authority Key Identifier:
    DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
    serial:E8:26A:9E:71:FE:6C:B3

    X509v3 Key Usage:
    Digital Signature, Non Repudiation, Key Encipherment
    Certificate is to be certified until Nov 26 06:32:35 2008 GMT (365 days)

    Write out database with 1 new entries
    Data Base Updated
    unable to write 'random state'
    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mail.pb.co.za
    Getting CA Private Key
    unable to write 'random state'
    Done
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    Initializing ldap...
    *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
    FAILED (1)


    ERROR



    Configuration failed

    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configuration.

    Errors have been logged to /tmp/zmsetup.log.9404

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Welcome to the forums.

    Quote Originally Posted by james-m View Post
    I followed your steps on fooling zimbra into installing on ubuntu gutsy than 6, but I am having problems with lapd. What am I doing wrong.
    This is likely to be what you're doing wrong:

    Code:
    DNS ERROR resolving MX for mail.pb.co.za
    It is suggested that the domain name have an MX record configured in DNS
    You need a local DNS server with correct A & MX records pointing to the server plus a correct /etc/hosts file.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    james-m is offline Member
    Join Date
    Nov 2007
    Posts
    10
    Rep Power
    7

    Default

    Thanks but now I get this. I doubt this is neither a dns or /etc/hosts problem.
    =================
    Creating SSL certificate...Done
    Initializing ldap...sed: can't read /opt/zimbra/openldap/etc/openldap/slapd.conf: Permission denied
    Failed to start slapd. Attempting debug start to determine error.
    daemon: bind(7) failed errno=98 (Address already in use)
    slap_open_listener: failed on ldap://mail.pb.co.za:389

    FAILED (1)


    ERROR

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by james-m View Post
    Thanks but now I get this. I doubt this is neither a dns or /etc/hosts problem.
    Do you actually have the correct DNS records and hosts file? Confirmation would help determine if this is the case, run these commands on the zimbra server and post the results:
    Code:
    host `hostname`
    dig yourdomain.com mx
    dig yourdomain.com any

    Quote Originally Posted by james-m View Post
    daemon: bind(7) failed errno=98 (Address already in use)
    That indicates there's another process running on that port. Do you have another LDAP server running? Did you kill off all the Zimbra services before running the upgrade again? There's also a Troubleshooting guide in the wiki, have you tried those steps.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    james-m is offline Member
    Join Date
    Nov 2007
    Posts
    10
    Rep Power
    7

    Default

    Thanks! Below is what I was able to query
    ===================
    mailadmin@mail:~/zcs$ host mail
    mail.pb.co.za has address 10.0.0.101
    mail.pb.co.za mail is handled by 10 mail.pb.co.za.
    mailadmin@mail:~/zcs$ clear

    mailadmin@mail:~/zcs$ host mail
    mail.pb.co.za has address 10.0.0.101
    mail.pb.co.za mail is handled by 10 mail.pb.co.za.
    mailadmin@mail:~/zcs$ dig pb.co.za mx

    ; <<>> DiG 9.4.1-P1 <<>> pb.co.za mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33330
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;pb.co.za. IN MX

    ;; ANSWER SECTION:
    pb.co.za. 259200 IN MX 10 mail.pb.co.za.

    ;; AUTHORITY SECTION:
    pb.co.za. 259200 IN NS ubsvr1.pb.co.za.

    ;; ADDITIONAL SECTION:
    mail.pb.co.za. 259200 IN A 10.0.0.101
    ubsvr1.pb.co.za. 259200 IN A 10.0.0.100

    ;; Query time: 1 msec
    ;; SERVER: 10.0.0.100#53(10.0.0.100)
    ;; WHEN: Tue Nov 27 12:50:52 2007
    ;; MSG SIZE rcvd: 100

    mailadmin@mail:~/zcs$ dig pb.co.za any

    ; <<>> DiG 9.4.1-P1 <<>> pb.co.za any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20006
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;pb.co.za. IN ANY

    ;; ANSWER SECTION:
    pb.co.za. 259200 IN MX 10 mail.pb.co.za.
    pb.co.za. 259200 IN SOA ubsvr1.pb.co.za. james.pb.co.za. 200711201 28800 7200 2419200 86400
    pb.co.za. 259200 IN NS ubsvr1.pb.co.za.

    ;; ADDITIONAL SECTION:
    mail.pb.co.za. 259200 IN A 10.0.0.101
    ubsvr1.pb.co.za. 259200 IN A 10.0.0.100

    ;; Query time: 1 msec
    ;; SERVER: 10.0.0.100#53(10.0.0.100)
    ;; WHEN: Tue Nov 27 12:51:10 2007
    ;; MSG SIZE rcvd: 148

    mailadmin@mail:~/zcs$

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    This command:

    Code:
    host `hostname`
    should be typed as-is with backticks not single quotes. How about the other question of an already running process?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    james-m is offline Member
    Join Date
    Nov 2007
    Posts
    10
    Rep Power
    7

    Default

    The output below:
    mailadmin@mail:~/zcs$ host `hostname`
    mail.pb.co.za has address 10.0.0.101
    mail.pb.co.za mail is handled by 10 mail.pb.co.za.
    But this is what I did be attempting the last reinstallation
    1. sudo ./install.sh -u
    2. sudo rm -rf /opt/zimbra
    3. killall -TERM slapd
    4. sudo ./install.sh

    Half-way into the installation I get this:
    Done
    Checking for port conflicts
    Port conflict detected: 80 (zimbra-store)
    Port conflicts detected! - Any key to continue
    And then finally it all ends up like so:
    [TEXTAREA]
    Initializing ldap...sed: can't read /opt/zimbra/openldap/etc/openldap/slapd.conf: Permission denied
    Failed to start slapd. Attempting debug start to determine error.
    daemon: bind(7) failed errno=98 (Address already in use)
    slap_open_listener: failed on ldap://mail.pb.co.za:389

    FAILED (1)


    ERROR



    Configuration failed

    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configuration.

    Errors have been logged to /tmp/zmsetup.log.27910

    [/TEXTAREA]


    Thanks in advance

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    I believe by default Ubuntu server will install as a LAMP server, therefore you will get a lot of port conflicts. IMHO best thing would be to clean out your installation and start again. Prior to this, once all Zimbra services are closed down, run a sudo netstat -an to see what ports are open eg. 80 and Apache instead of killing of the process, like what was done for slapd, actually use the /etc/init.d/apache2 stop functionality as this will tidy up the files, remove any necessary locks, and shut it down cleanly.

  9. #9
    james-m is offline Member
    Join Date
    Nov 2007
    Posts
    10
    Rep Power
    7

    Default

    Ok thanks. Truth is I have in the past successfully installed and ran Zimbra on dapper (Ubuntu v. 6 that is). It's ease of use and rich Ajax interface were compelling reasons I tried it out and bragged about it to my clients. What I don't like is dapper's rather old kernel which I am trying to avoid. Otherwise excellent work on a more than compelling application.

  10. #10
    whiskey6 is offline Active Member
    Join Date
    Nov 2007
    Posts
    26
    Rep Power
    7

    Default

    Quote Originally Posted by james-m View Post
    but I am having problems with lapd.
    they trying to keep a brother down?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Replies: 8
    Last Post: 02-20-2008, 02:24 PM
  3. Replies: 5
    Last Post: 03-01-2007, 03:20 AM
  4. Upgrade from 3.1.4 to 4.0.0 fails
    By freeformz in forum Administrators
    Replies: 2
    Last Post: 08-31-2006, 07:44 PM
  5. Installation Fails on Setting Defaults
    By molson150 in forum Installation
    Replies: 12
    Last Post: 07-29-2006, 08:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •