View Single Post
  #15 (permalink)  
Old 06-06-2007, 03:38 PM
JustinHarlow JustinHarlow is offline
Active Member
 
Posts: 44
Unhappy

Quote:
Originally Posted by jholder View Post
I didn't look to see what OS you're on(if you posted it), but zimbra will pull that from the RPM db or dpkg

You should run(I think it's)

rpm -q Zimbra

or

dpkg -i Zimbra

If data exists, then the system will attempt an upgrade.
Let me recap what is going on. I am running MacOS X 10.4.9 with all of the latest updates. There seem to be 2 issues, possibly unrelated, but I am not sure:

1. Apparently I need to be running a split DNS setup, since I am behind a router that does NAT. I think I have that set up now, but I don't know exactly what to do to verify it.

2. I originally had a 4.0.something intallation that worked fine with no DNS stuff. I tried to do an upgrade to 4.5.5, and it failed. I uninstalled and tried to do a clean install from 4.5.5, but it insists that I am doing an upgrade, not a new installation. I have tried everything short of formatting the disk, but it still seems to have some knowledge of the previous installation. I don't know whether this is an issue or not. I have no idea how it knows about the previous installation.

I just went through the uninstall instructions for OS X in the wiki again, and followed them carefully. I ran install-mac.sh -u, then repaired permissions and rebooted. The zimbra user was not there, and /opt/zimbra was gone. I downloaded a clean copy of the .dmg file and ran the installation; it told me I was upgrading! I then ran the zmsetup.pl script, and it failed on setting up LDAP again. I looked at the log file, and it told me that there was no slapd.conf file in /opt/zimbra/conf. Sure enough, there was a slapd.conf.in file, but no slapd.conf. Taking a wild guess, I made a copy of slapd.conf.in and called it slapd.conf and re-ran the script. This time, it told me the following:

Starting ldap...
*** Running as zimbra user: /opt/zimbra/openldap/sbin/slapindex -f /opt/zimbra/conf/slapd.conf
/opt/zimbra/conf/slapd.conf: line 106: unknown level "@@ldap_log_level@@"
slapindex: bad configuration file!

Probably what I did was invalid, but I think there may be a problem with the configuration files here (although I don't know what the problem might be). Here is what I have in /opt/zimbra/conf:

harlow:/opt/zimbra/libexec root# ls -l /opt/zimbra/conf
total 648
-r--r--r-- 1 zimbra zimbra 28082 May 3 22:50 amavisd.conf.in
drwxr-xr-x 4 zimbra zimbra 136 May 3 22:50 attrs
-r--r--r-- 1 zimbra zimbra 8271 May 3 22:50 clamd.conf.in
-r--r--r-- 1 zimbra zimbra 600 May 3 22:50 com.zimbra.zcs.plist
-r--r--r-- 1 root zimbra 25897 Jun 6 17:01 dspam.conf
-r--r--r-- 1 zimbra zimbra 25885 May 3 22:50 dspam.conf.bak
-r--r--r-- 1 zimbra zimbra 3163 May 3 22:50 freshclam.conf.in
-r--r--r-- 1 zimbra zimbra 35233 May 3 23:11 httpd.conf
-rw-r--r-- 1 zimbra zimbra 191 Jun 6 17:11 localconfig.xml
-rw-r--r-- 1 zimbra zimbra 4130 May 3 22:50 log4j.properties
-r--r--r-- 1 zimbra zimbra 89 May 3 22:50 logswatchrc
drwxr-xr-x 4 zimbra zimbra 136 May 3 22:50 msgs
-r--r--r-- 1 zimbra zimbra 593 May 3 22:50 my.logger.cnf
-r--r--r-- 1 root zimbra 11898 Jun 6 17:01 perdition.conf.in
-r--r--r-- 1 zimbra zimbra 11889 May 3 22:50 perdition.conf.in.bak
-r--r--r-- 1 zimbra zimbra 45523 May 3 23:11 php.ini
-r--r--r-- 1 zimbra zimbra 488 May 3 22:50 postfix_header_checks.in
-r--r--r-- 1 zimbra zimbra 1092 May 3 22:50 postfix_recipient_restrictions.cf
-r--r--r-- 1 zimbra zimbra 1024 May 3 22:50 salocal.cf.in
-rw-r--r-- 1 root zimbra 5465 Jun 6 17:11 slapd.conf
-rw-r--r-- 1 zimbra wheel 5465 Jun 6 17:11 slapd.conf.in
drwxr-xr-x 59 zimbra zimbra 2006 May 3 22:50 spamassassin
-r--r--r-- 1 zimbra zimbra 1900 May 3 22:50 swatchrc.in
-r--r--r-- 1 zimbra zimbra 25491 May 3 22:50 timezones.ics
-r--r--r-- 1 zimbra zimbra 3198 May 3 22:50 wildfire.xml
-r--r--r-- 1 zimbra zimbra 94 May 3 22:50 zimbra.ld.conf
-rw-r--r-- 1 zimbra zimbra 980 Jun 6 17:11 zimbra.ldif
-r--r--r-- 1 zimbra zimbra 664 May 3 22:50 zmlogrotate
-r--r--r-- 1 zimbra zimbra 4298 May 3 22:50 zmmta.cf
-r--r--r-- 1 zimbra zimbra 7650 May 3 22:50 zmssl.cnf.in
harlow:/opt/zimbra/libexec root#


This includes the copied slapd.conf file I created.

So what I need from some guru at zimbra is:
  1. Some advice on how to test my split DNS installation to make sure it is doing the correct things.
  2. Some analysis on the upgrade vs. new installation issue: How does it know about the previous installation, and is this even a problem. I may be chasing a red herring here....
  3. Your opinion or suggestions on the LDAP configuration problem. I am not sure what its issue is, but this seems to be the killer in my attempts to reinstall.
Reply With Quote