Results 1 to 10 of 10

Thread: New Install on Debian Lenny - Java problems when starting

  1. #1
    Nunners is offline Intermediate Member
    Join Date
    Jul 2010
    Posts
    20
    Rep Power
    5

    Default New Install on Debian Lenny - Java problems when starting

    I've just finished doing a new install, with a view to testing then go live as quickly as possible (old exchange server on the verge of falling over a cliff)...

    Got to building the zimbra install, and came across a problem with the java elements (at least that's what I think it is)...

    Here's the verbose stuff from running ./install.sh (/home/public/p4/GNR-607/ZimbraBuild/zcs-6.0.7_GA_2513.DEBIAN5_64.20100808224453)
    Code:
    Installing packages
    
        zimbra-core......zimbra-core_6.0.7_GA_2513.DEBIAN5_64_amd64.deb...done
        zimbra-ldap......zimbra-ldap_6.0.7_GA_2513.DEBIAN5_64_amd64.deb...done
        zimbra-logger......zimbra-logger_6.0.7_GA_2513.DEBIAN5_64_amd64.deb...done
        zimbra-mta......zimbra-mta_6.0.7_GA_2513.DEBIAN5_64_amd64.deb...done
        zimbra-snmp......zimbra-snmp_6.0.7_GA_2513.DEBIAN5_64_amd64.deb...done
        zimbra-store......zimbra-store_6.0.7_GA_2513.DEBIAN5_64_amd64.deb...done
        zimbra-apache......zimbra-apache_6.0.7_GA_2513.DEBIAN5_64_amd64.deb...done
        zimbra-spell......zimbra-spell_6.0.7_GA_2513.DEBIAN5_64_amd64.deb...done
    
    Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
       HOSTNAME=**removed servername**
       LDAPHOST=**removed servername**
       LDAPPORT=389
       SNMPTRAPHOST=**removed servername**
       SMTPSOURCE=admin@**removed domain name**
       SMTPDEST=admin@**removed domain name**
       SNMPNOTIFY=yes
       SMTPNOTIFY=yes
       LDAPROOTPW=**removed**
       LDAPZIMBRAPW=**removed**
       LDAPPOSTPW=**removed**
       LDAPREPPW=**removed**
       LDAPAMAVISPW=**removed**
       LDAPNGINXPW=**removed**
    Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
    Operations logged to /tmp/zmsetup.08092010-094425.log
    Running bdb db_recover...done.
    Running zmldapapplyldif...done.
    Checking ldap status....already running.
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    Setting defaults.../opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    done.
    Setting defaults from existing config...done.
    Checking for port conflicts
    Port conflict detected: 993 (zimbra-store)
    Port conflict detected: 143 (zimbra-store)
    Port conflict detected: 25 (zimbra-mta)
    Port conflict detected: 80 (zimbra-store)
    Port conflict detected: 25 (zimbra-mta)
    Port conflicts detected! - Any key to continue
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or directory
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute: No such file or directory
    Saving config in /opt/zimbra/config.13060...done.
    Operations logged to /tmp/zmsetup.08092010-094425.log
    Setting local config values...done.
    Setting up CA...done.
    Deploying CA to /opt/zimbra/conf/ca ...done.
    Installing mailboxd SSL certificates...done.
    Setting replication password...done.
    Setting Postfix password...done.
    Setting amavis password...done.
    Setting nginx password...done.
    Creating server entry for **removed servername**...failed.
    Saving CA in ldap ...done.
    Saving SSL Certificate in ldap ...done.
    Setting spell check URL...failed.
    Setting service ports on **removed servername**...done.
    Adding **removed servername** to zimbraMailHostPool in default COS...failed. Couldn't find a server entry for **removed servername**
    Installing webclient skins...
            lemongrass...failed.
            waves...failed.
            oasis...failed.
            hotrod...failed.
            lake...failed.
            steel...failed.
            zmail...failed.
            pebble...failed.
            sky...failed.
            smoke...failed.
            lavender...failed.
            bare...failed.
            twilight...failed.
            bones...failed.
            sand...failed.
            beach...failed.
            tree...failed.
            yahoo...failed.
    Finished installing webclient skins.
    Setting Keyboard Shortcut Preferences...failed.
    Setting zimbraFeatureIMEnabled=FALSE...failed.
    Setting zimbraFeatureTasksEnabled=FALSE...failed.
    Setting zimbraFeatureBriefcasesEnabled=FALSE...failed.
    Setting zimbraFeatureNotebookEnabled=TRUE...failed.
    Setting MTA auth host...failed.
    Setting TimeZone Preference...failed.
    /opt/zimbra/bin/zmjava: line 63: /opt/zimbra/java/bin/java: No such file or dire
    /opt/zimbra/bin/zmjava: line 63: exec: /opt/zimbra/java/bin/java: cannot execute
    I've checked `java -version` and get the following (which again I think is correct)...
    Code:
    # java -version
    java version "1.5.0"
    gij (GNU libgcj) version 4.3.2
    
    Copyright (C) 2007 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Can someone point me in the direction of where it might be going wrong, or indeed what to do?!!!

    Thanks
    Nunners

    PS: I know about the port conflicts, and once zimbra is up and running will resolve those accordingly...

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

    Default

    Is this a built version (I see that it is and I'll move this thread to the Developer forum) and if it is why didn't you use the binary download for Debian?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Nunners is offline Intermediate Member
    Join Date
    Jul 2010
    Posts
    20
    Rep Power
    5

    Default

    Not sure to be honest... I think it might be because I'm on an AMD64 machine... but it's been over a month since I started this (been on holiday)... that I'm going to start afresh, and use the binary download for Debian 5....

    I'll update the results here!

  4. #4
    Nunners is offline Intermediate Member
    Join Date
    Jul 2010
    Posts
    20
    Rep Power
    5

    Default

    I think it's cos I searched for how to install zimbra on Debian Lenny, and found... GNR on Debian Lenny - Zimbra :: Wiki

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

    Default

    Quote Originally Posted by Nunners View Post
    I think it's cos I searched for how to install zimbra on Debian Lenny, and found... GNR on Debian Lenny - Zimbra :: Wiki
    Then if you're not actually developing anything for Zimbra how about trying the binary build, it should be less problematic.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,265
    Rep Power
    10

    Default

    The build needs to package the Java it finds at p4/<branch>/ThirdPartyBuilds/<arch>/java/. That package needs to match what was specified in the definition files (jdk1.6.0_16.tar.gz IIRC for 6.0.7). It *must* be the Sun/Oracle java, Debian's self built open java does not work.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  7. #7
    Nunners is offline Intermediate Member
    Join Date
    Jul 2010
    Posts
    20
    Rep Power
    5

    Default

    I've now cleaned everything off, and started again, and it's gone through the install fine this time - must have been a conflict in what I was originally trying to do!... I'm going to amend the instructions on the Wiki to point to the fact that you can install it from the Binary, as it didn't make this completely clear!

    I've now started the services, but mailbox won't stay running without erroring... now looking into this... but think it might be a conflict with apache, as I may not have disabled apache properly... but thought I had!

  8. #8
    Nunners is offline Intermediate Member
    Join Date
    Jul 2010
    Posts
    20
    Rep Power
    5

    Default

    Ok... so we're getting somewhere here....

    Everything is now installed, but still got a few startup problems. I can't view via http/https and I can't get mailbox service to stay running. I think (although I'm only guessing) that if I sort out the mailbox problems, everything else may click into place?!!!

    The problem with the mailbox I thought was related to my poor dns records locally, as there's nat involved etc etc.

    Now if I do a dig it comes out as follows:

    Code:
    zimbra@wales:~$ hostname
    wales.noahsarkdaynurseries.co.uk
    zimbra@wales:~$ zmhostname
    wales.noahsarkdaynurseries.co.uk
    zimbra@wales:~$ dig `zmhostname`
    
    ; <<>> DiG 9.6-ESV-R1 <<>> wales.noahsarkdaynurseries.co.uk
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8465
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;wales.noahsarkdaynurseries.co.uk. IN   A
    
    ;; ANSWER SECTION:
    wales.noahsarkdaynurseries.co.uk. 3600 IN A     192.168.43.254
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.43.252#53(192.168.43.252)
    ;; WHEN: Tue Aug 10 08:49:50 2010
    ;; MSG SIZE  rcvd: 66
    
    zimbra@wales:~$ dig `zmhostname` mx
    
    ; <<>> DiG 9.6-ESV-R1 <<>> wales.noahsarkdaynurseries.co.uk mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37836
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;wales.noahsarkdaynurseries.co.uk. IN   MX
    
    ;; AUTHORITY SECTION:
    noahsarkdaynurseries.co.uk. 3600 IN     SOA     server.noahsarkdaynurseries.co.uk. hostmaster.noahsarkdaynurseries.co.uk. 70 900 600 86400 3600
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.43.252#53(192.168.43.252)
    ;; WHEN: Tue Aug 10 08:50:02 2010
    ;; MSG SIZE  rcvd: 104
    That I think now is correct... so what else could it be?

    zimbra.log doesn't show a lot either, but here is the service I think trying to restart itself (?)
    Code:
    Aug 10 09:06:20 wales zmmailboxdmgr[25827]: status requested
    Aug 10 09:06:20 wales zmmailboxdmgr[25827]: stale pid 8667 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
    Aug 10 09:06:20 wales zmmailboxdmgr[25827]: assuming no other instance is running
    Aug 10 09:06:20 wales zmmailboxdmgr[25827]: file /opt/zimbra/log/zmmailboxd.pid does not exist
    Aug 10 09:06:20 wales zmmailboxdmgr[25827]: assuming no other instance is running
    Aug 10 09:06:20 wales zmmailboxdmgr[25827]: no manager process is running

    Any help gratefully received!!!

    Thanks
    Nunners
    Last edited by Nunners; 08-10-2010 at 01:08 AM. Reason: added log file

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

    Default

    Quote Originally Posted by Nunners View Post
    Now if I do a dig it comes out as follows:

    Code:
    zimbra@wales:~$ hostname
    wales.noahsarkdaynurseries.co.uk
    zimbra@wales:~$ zmhostname
    wales.noahsarkdaynurseries.co.uk
    zimbra@wales:~$ dig `zmhostname`
    
    ; <<>> DiG 9.6-ESV-R1 <<>> wales.noahsarkdaynurseries.co.uk
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8465
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;wales.noahsarkdaynurseries.co.uk. IN   A
    
    ;; ANSWER SECTION:
    wales.noahsarkdaynurseries.co.uk. 3600 IN A     192.168.43.254
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.43.252#53(192.168.43.252)
    ;; WHEN: Tue Aug 10 08:49:50 2010
    ;; MSG SIZE  rcvd: 66
    
    zimbra@wales:~$ dig `zmhostname` mx
    
    ; <<>> DiG 9.6-ESV-R1 <<>> wales.noahsarkdaynurseries.co.uk mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37836
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;wales.noahsarkdaynurseries.co.uk. IN   MX
    
    ;; AUTHORITY SECTION:
    noahsarkdaynurseries.co.uk. 3600 IN     SOA     server.noahsarkdaynurseries.co.uk. hostmaster.noahsarkdaynurseries.co.uk. 70 900 600 86400 3600
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.43.252#53(192.168.43.252)
    ;; WHEN: Tue Aug 10 08:50:02 2010
    ;; MSG SIZE  rcvd: 104
    That I think now is correct... so what else could it be?
    According to the information you've posted here there's no MX record but you actually should use the commands listed in the 'Verify' section of the Split DNS article. What you're doing is using the FQDN in the dig commands when you should actually be using the domain name and that's not correct.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    Nunners is offline Intermediate Member
    Join Date
    Jul 2010
    Posts
    20
    Rep Power
    5

    Default

    Thanks for the reply. I've actually now sorted it... there were a few problems. The DNS was actually ok, jut unfortunately the server was using the wrong local DNS server....

    Also, the main problem was that dovecot was running in the background, without me realising, and thus causing port conflicts... all resolved now and working....

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. [SOLVED] ZCS Install Problems on Mac OS X 10.5
    By new122a in forum Installation
    Replies: 8
    Last Post: 05-13-2010, 06:57 AM
  3. Fresh install on debian lenny broken?
    By rototom in forum Installation
    Replies: 0
    Last Post: 12-20-2009, 11:05 AM
  4. more fedora install problems
    By jlynch3 in forum Installation
    Replies: 13
    Last Post: 09-14-2005, 09:37 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
  •