| 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.
|  | 
08-09-2010, 02:12 AM
| | Intermediate Member | |
Posts: 19
| | 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... | 
08-09-2010, 03:26 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | 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
| 
08-09-2010, 03:43 AM
| | Intermediate Member | |
Posts: 19
| | 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! | 
08-09-2010, 03:50 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Quote:
Originally Posted by Nunners | Then if you're not actually developing anything for Zimbra how about trying the binary build, it should be less problematic. 
__________________
Regards
Bill
| 
08-09-2010, 08:23 AM
| | Zimbra Employee | |
Posts: 580
| | 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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
08-09-2010, 08:35 AM
| | Intermediate Member | |
Posts: 19
| | 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! | 
08-10-2010, 12:52 AM
| | Intermediate Member | |
Posts: 19
| | 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
| 
08-11-2010, 11:36 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Quote:
Originally Posted by Nunners 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
| 
08-11-2010, 11:56 AM
| | Intermediate Member | |
Posts: 19
| | 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 Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |