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

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment in the forums, please register and review our posting policy & tips. 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 09-15-2006, 03:42 AM
Junior Member
 
Posts: 7
Default Zimbra 4 dies on reboot

Hi all,

I have Zimbra 4 installed on an IBM eServer with a 2.8GHz P4 and 2GB of RAM running RHEL4.3 (Educational Licence). The machine has an 80GB SATA drive rigged to carry the system and two 160GB SATA disks connected as a RAID 1 array and mounted as /opt.

I Installed Zimbra 4 and configured bind on the same machine to provide DNS as it was destined for our DMZ. Having got Zimbra up and running, we ran the Migration tool to draw the accounts off of our Exchange 5.5 NT Server which worked perfectley apart from 27 messages that were too large but that wasn't a problem. All in all the setup and migration were remarkably easy but having moved it into our server room, LDAP won't start. It really was a case of shutdown -h now, unplug, move to server room, plug in, switch on LDAP Failed and I can't find a reason. Given that it'd been running for 4 days without a hitch I can't see why shutting down and rebooting would hurt it.

Anyway, diagnostic outputs below,

Cheers and thanks for any help,

Jools.

--------- Output from zmcontrol start ------------

[zimbra@zimbra bin]$ /opt/zimbra/bin/zmcontrol start
Host zimbra.bordengrammar.kent.sch.uk
Starting ldap...Done.
FAILED
ERROR - failed to start slapd

--------------------------------------------------


------ End of /var/log/messages after start fails -----

Sep 15 10:50:02 zimbra zimbramon[6736]: 6736:info: 2006-09-15 10:50:01, DISK: zimbra.bordengrammar.kent.sch.uk: dev: /dev/sda8, mp: /admins, tot: 52412, avail: 49665
Sep 15 10:50:02 zimbra zimbramon[6736]: 6736:info: 2006-09-15 10:50:01, DISK: zimbra.bordengrammar.kent.sch.uk: dev: /dev/sda1, mp: /boot, tot: 183, avail: 157
Sep 15 10:50:02 zimbra zimbramon[6736]: 6736:info: 2006-09-15 10:50:01, DISK: zimbra.bordengrammar.kent.sch.uk: dev: /dev/sda7, mp: /home, tot: 9389, avail: 8498
Sep 15 10:50:02 zimbra zimbramon[6736]: 6736:info: 2006-09-15 10:50:01, DISK: zimbra.bordengrammar.kent.sch.uk: dev: /dev/md0, mp: /opt, tot: 150230, avail: 133882
Sep 15 10:50:02 zimbra zimbramon[6736]: 6736:info: 2006-09-15 10:50:01, DISK: zimbra.bordengrammar.kent.sch.uk: dev: /dev/sda3, mp: /tmp, tot: 1406, avail: 1297
Sep 15 10:50:02 zimbra zimbramon[6736]: 6736:info: 2006-09-15 10:50:01, DISK: zimbra.bordengrammar.kent.sch.uk: dev: /dev/sda6, mp: /usr, tot: 4695, avail: 2802
Sep 15 10:50:02 zimbra zimbramon[6733]: 6733:info: 2006-09-15 10:50:01, QUEUE: 0 0
Sep 15 10:50:06 zimbra zimbramon[6738]: 6738:info: 2006-09-15 10:50:01, STATUS: : Cannot: determine
Sep 15 10:50:40 zimbra su(pam_unix)[6829]: session opened for user zimbra by mailadmin(uid=0)
Sep 15 10:50:46 zimbra zimbramon[6846]: 6846:info: Starting services
Sep 15 10:52:05 zimbra zimbramon[6885]: 6885:info: 2006-09-15 10:52:01, STATUS: : Cannot: determine
Sep 15 10:52:20 zimbra zimbramon[6917]: 6917:info: Starting services
Sep 15 10:52:27 zimbra su(pam_unix)[6829]: session closed for user zimbra

-----------------------------------------------------------------------


-------------- Output from sh -x ldap start ----------------------------

++ zimbra_store_directory=/opt/zimbra/store
++ export zimbra_store_sweeper_max_age=480
++ zimbra_store_sweeper_max_age=480
++ export zimbra_throttle_op_concurrency=1000,1000,1000,1000 ,1000
++ zimbra_throttle_op_concurrency=1000,1000,1000,1000 ,1000
++ export zimbra_tmp_directory=/tmp/zimbra
++ zimbra_tmp_directory=/tmp/zimbra
++ export zimbra_uid=501
++ zimbra_uid=501
++ export zimbra_user=zimbra
++ zimbra_user=zimbra
++ export zimbra_zmprov_default_soap_server=localhost
++ zimbra_zmprov_default_soap_server=localhost
++ export zimbra_zmprov_default_to_ldap=false
++ zimbra_zmprov_default_to_ldap=false
++ export zimlet_directory=/opt/zimbra/tomcat/webapps/service/zimlet
++ zimlet_directory=/opt/zimbra/tomcat/webapps/service/zimlet
+ export zmsetvars=true
+ zmsetvars=true
+ '[' xtrue = xfalse ']'
+ case "$1" in
+ start
+ checkrunning
+ getpid
+ '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
+ '[' x = x ']'
+ RUNNING=0
+ '[' 0 = 0 ']'
+ '[' '!' -f /opt/zimbra/openldap-data/DB_CONFIG ']'
++ echo ldap://zimbra.bordengrammar.kent.sch.uk:389
++ awk '{print $1}'
+ my_url=ldap://zimbra.bordengrammar.kent.sch.uk:389
+ /opt/zimbra/libexec/zmconfigure /opt/zimbra/conf/slapd.conf.in /opt/zimbra/conf/slapd.conf
+ sudo /opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://zimbra.bordengrammar.kent.sch.uk:389 -f /opt/zimbra/conf/slapd.conf
+ sleep 2
+ getpid
+ '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
+ '[' x = x ']'
+ echo 'ERROR - failed to start slapd'
ERROR - failed to start slapd
+ echo ''

+ exit 1
[zimbra@zimbra bin]$

------------------------------------------------------------------------

------ Output of ps auxww | grep zimbra | grep slapd -------

zimbra 7106 0.0 0.0 3952 644 pts/3 S+ 10:58 0:00 grep slapd
[zimbra@zimbra bin]$

------------------------------------------------------------------------


----------- Output of nslookup zimbra ---------------------------

[root@zimbra bin]# host zimbra
zimbra.bordengrammar.kent.sch.uk has address 192.168.0.10
[root@zimbra bin]# nslookup zimbra
Server: 192.168.0.2
Address: 192.168.0.2#53

Name: zimbra.bordengrammar.kent.sch.uk
Address: 192.168.0.10

----------------------------------------------------------------

------------------ Output of nslookup 192.168.0.10 -----------------------

[root@zimbra bin]# nslookup 192.168.0.10
Server: 192.168.0.2
Address: 192.168.0.2#53

10.0.168.192.in-addr.arpa name = zimbra.bordengrammar.kent.sch.uk.

--------------------------------------------------------------------------
Reply With Quote
  #2 (permalink)  
Old 09-15-2006, 05:39 AM
Zimbra Contractor
 
Posts: 10,055
Default

Do you have A & MX records pointing to your zimbra server?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-15-2006, 06:39 AM
Junior Member
 
Posts: 7
Default MX Records

Hiya,

Yep, I have the following output from an nslookup of mail.:

jpb@jpb-desktop:~$ nslookup mail
Server: 192.168.0.2
Address: 192.168.0.2#53

mail.bordengrammar.kent.sch.uk canonical name = zimbra.bordengrammar.kent.sch.uk.
Name: zimbra.bordengrammar.kent.sch.uk
Address: 192.168.0.10

Cheers,

Jools
Reply With Quote
  #4 (permalink)  
Old 09-15-2006, 06:43 AM
Zimbra Contractor
 
Posts: 10,055
Default

That doesn't show me any MX record, what does dig show?
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 09-15-2006, 07:52 AM
Junior Member
 
Posts: 7
Default Dig output

Hiya,

dig mx gives the output below:


jpb@jpb-desktop:~$ dig mx bordengrammar.kent.sch.uk

; <<>> DiG 9.3.2 <<>> mx bordengrammar.kent.sch.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53004
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;bordengrammar.kent.sch.uk. IN MX

;; ANSWER SECTION:
bordengrammar.kent.sch.uk. 86400 IN MX 10 mail.bordengrammar.kent.sch.uk.

;; AUTHORITY SECTION:
bordengrammar.kent.sch.uk. 86400 IN NS smb1.bordengrammar.kent.sch.uk.

;; ADDITIONAL SECTION:
smb1.bordengrammar.kent.sch.uk. 86400 IN A 192.168.0.2

;; Query time: 2 msec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN: Fri Sep 15 15:48:59 2006
;; MSG SIZE rcvd: 99


Cheers,

Jools
Reply With Quote
  #6 (permalink)  
Old 09-22-2006, 05:44 PM
Zimbra Employee
 
Posts: 510
Default

what about the installation logs /tmp/install.log* and /tmp/zmsetup.log*
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #7 (permalink)  
Old 09-24-2006, 08:35 AM
Zimbra Employee
 
Posts: 2,073
Default

ldap is trying to bind to the ldap_url value (from zmlocalconfig) which probably no longer resolves to an IP on your local box, right?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't start Zimbra! zibra Administrators 5 03-22-2007 11:34 AM
dspam logrotate errors michaeln Users 7 02-19-2007 11:45 AM
Fedora Core 3, Clean Install - Not working! pcjackson Installation 17 03-05-2006 06:38 PM
Zimbra Processor Output UltraFlux Installation 3 02-01-2006 07:23 AM
Monitoring : Data not yet avalaible s3nz3x Installation 7 11-30-2005 06:18 PM

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

sourceforge.net



 

Search Engine Optimization by vBSEO 3.1.0