| 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.
|  | | 
09-23-2007, 02:28 PM
| | | [SOLVED] Error Installing Zimbra on RHEL 5 After installing Zimbra, everything seemed to be just fine. I changed the admin password and saved the configuration. When I tried to apply it and load it, I get the following error. I tried uninstalling and installing again, but to no avail. Any help would be much appreciated. Thanks!
below is the error log.
----------------------------------------------------------------------------------
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
checking isEnabled zimbra-mta
zimbra-mta is enabled
MX: mailhost.lcsyb.com (68.54.153.163)
Interface: 10.1.1.30
Interface: 68.54.153.163
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-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
Note
The previous configuration appears to have failed to complete
Saving config in /opt/zimbra/config.3440...
Done
Operations logged to /tmp/zmsetup.log.3440
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.3440 | 
09-23-2007, 02:44 PM
| | Zimbra-Yahoo Consultant | |
Posts: 5,608
| | Hi and welcome to the zimbra forums.
Did you update your hosts file per the quick start guide?
If not, you can find more information here: http://www.zimbra.com/community/documentation.html
If so, try:
su - zimbra
cd /opt/zimbra/libexec
./zmldapinit
and let's see what happens. | 
09-23-2007, 03:09 PM
| | | I did make sure the hosts file was correct and it is. When i run the commands you gave me, i get this error:
Failed to start slapd. Attempting debut start to determine error.
daemon: bind(7) failed errno=99 (cannot assign requested address)
slap_open_listener: failed on ldap://mailhost.lcsyb.com:369
Thanks for the quick reply! | 
09-23-2007, 03:15 PM
| | Zimbra-Yahoo Consultant | |
Posts: 5,608
| | Quote:
Originally Posted by harris7139 I did make sure the hosts file was correct and it is. When i run the commands you gave me, i get this error:
Failed to start slapd. Attempting debut start to determine error.
daemon: bind(7) failed errno=99 (cannot assign requested address)
slap_open_listener: failed on ldap://mailhost.lcsyb.com:369
Thanks for the quick reply! | Well, why is it trying to connect on port 369? Usually it tries on 389. Is that just a typo?
Also, an error 99 means that the address associated with the name cannot be assigned. This is often because when the computer performs a lookup, the ip of the name isn't local, therefore it can't assign it.
what does
hostname `hostname`
return? It should be the IP of your network card. If it's not, then you need to change your dns and hostsfile to reflect that.
john | 
09-23-2007, 03:52 PM
| | | Sorry.. it is port 389. When i run the hostname, it returns the correct host and ip address. Not sure where to go from here. Any suggestions? | 
09-23-2007, 03:57 PM
| | Zimbra-Yahoo Consultant | |
Posts: 5,608
| | Well, somethin's not right?
Please post the following:
cat /etc/hosts
ifconfig
su - zimbra
zmdumpenv
Be sure to use the code tag on zmdumpenv as there's a lot in there. | 
09-23-2007, 03:58 PM
| | | Not sure if it matters or not, but the machine has two NIC's in it, one assigned to my local network with an ip address of 10.1.1.30 and another one with a WAN address of 68.53.153.163. By dns server points to the WAN network address, so the hostname of mailhost.lcsyb.com resolves to 68.53.153.163. | 
09-23-2007, 04:04 PM
| | | /etc/hosts: Code: [root@mailhost ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
208.69.32.130 mailhost.lcsyb.com mailhost
::1 localhost6.localdomain6 localhost6 ifconfig: Code: [root@mailhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:B0:D0:78:48:20
inet addr:10.1.1.30 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::2b0:d0ff:fe78:4820/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:323 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:55259 (53.9 KiB) TX bytes:8404 (8.2 KiB)
eth1 Link encap:Ethernet HWaddr 00:01:02:EA:F3:51
inet addr:68.54.153.163 Bcast:255.255.255.255 Mask:255.255.255.128
inet6 addr: fe80::201:2ff:feea:f351/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47823 errors:0 dropped:0 overruns:0 frame:0
TX packets:1814 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4206869 (4.0 MiB) TX bytes:570374 (557.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2709 errors:0 dropped:0 overruns:0 frame:0
TX packets:2709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3192204 (3.0 MiB) TX bytes:3192204 (3.0 MiB)
peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:48015 errors:0 dropped:0 overruns:0 frame:0
TX packets:1865 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4219582 (4.0 MiB) TX bytes:580632 (567.0 KiB)
Interrupt:18 Base address:0xa000
vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:1814 errors:0 dropped:0 overruns:0 frame:0
TX packets:47823 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:570374 (557.0 KiB) TX bytes:4206869 (4.0 MiB)
xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:46184 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2167746 (2.0 MiB) TX bytes:0 (0.0 b) zmdumpenv: Code: [zimbra@mailhost ~]$ zmdumpenv
----------------
20070923180046
----------------
uid=501(zimbra) gid=501(zimbra) groups=4(adm),5(tty),501(zimbra),502(postfix)
----------------
Linux mailhost.lcsyb.com 2.6.18-8.el5xen #1 SMP Fri Jan 26 14:42:21 EST 2007 i686 i686 i386 GNU/Linux
----------------
mailhost.lcsyb.com
----------------
mailhost.lcsyb.com
----------------
mailhost.lcsyb.com has address 68.54.153.163
mailhost.lcsyb.com mail is handled by 0 mailhost.lcsyb.com.
----------------
RHEL5
----------------
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
15G 3.4G 11G 25% /
/dev/sda1 99M 12M 82M 13% /boot
tmpfs 471M 0 471M 0% /dev/shm
----------------
eth0 Link encap:Ethernet HWaddr 00:B0:D0:78:48:20
inet addr:10.1.1.30 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::2b0:d0ff:fe78:4820/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:324 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:55319 (54.0 KiB) TX bytes:8404 (8.2 KiB)
eth1 Link encap:Ethernet HWaddr 00:01:02:EA:F3:51
inet addr:68.54.153.163 Bcast:255.255.255.255 Mask:255.255.255.128
inet6 addr: fe80::201:2ff:feea:f351/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:48007 errors:0 dropped:0 overruns:0 frame:0
TX packets:1818 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4217995 (4.0 MiB) TX bytes:570662 (557.2 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2709 errors:0 dropped:0 overruns:0 frame:0
TX packets:2709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3192204 (3.0 MiB) TX bytes:3192204 (3.0 MiB)
peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:48199 errors:0 dropped:0 overruns:0 frame:0
TX packets:1869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4230708 (4.0 MiB) TX bytes:580926 (567.3 KiB)
Interrupt:18 Base address:0xa000
vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:1818 errors:0 dropped:0 overruns:0 frame:0
TX packets:48007 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:570662 (557.2 KiB) TX bytes:4217995 (4.0 MiB)
xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:46364 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2176026 (2.0 MiB) TX bytes:0 (0.0 b)
----------------
Name : zimbra-core Relocations: (not relocatable)
Version : 4.5.7_GA_1319.RHEL5 Vendor: Zimbra, Inc.
Release : 20070914214018 Build Date: Sat 15 Sep 2007 12:43:29 AM EDT
Install Date: Sun 23 Sep 2007 04:04:43 PM EDT Build Host: build-rhel5.liquidsys.com
Group : Applications/Messaging Source RPM: zimbra-core-4.5.7_GA_1319.RHEL5-20070914214018.src.rpm
Size : 221892316 License: Various
Signature : (none)
Packager : Zimbra, Inc.
URL : http://www.zimbra.com
Summary : Zimbra Core
Description :
Best email money can buy
----------------
total 160
lrwxrwxrwx 1 zimbra zimbra 29 Sep 23 16:05 amavisd -> /opt/zimbra/amavisd-new-2.5.2
drwxrwxr-x 8 zimbra zimbra 4096 Sep 23 16:05 amavisd-new-2.5.2
drwxrwxr-x 11 root root 4096 Sep 23 16:05 apache-tomcat-5.5.15
drwxr-xr-x 8 zimbra zimbra 4096 Sep 23 16:06 aspell-0.60.3
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:04 backup
drwxr-xr-x 2 root root 4096 Sep 23 16:04 bin
lrwxrwxrwx 1 zimbra zimbra 25 Sep 23 16:05 clamav -> /opt/zimbra/clamav-0.91.1
drwxr-xr-x 9 root root 4096 Sep 23 16:05 clamav-0.91.1
drwxrwxr-x 6 zimbra zimbra 4096 Sep 23 17:03 conf
-rw------- 1 root root 1201 Sep 23 16:07 config.29642
-rw------- 1 root root 1205 Sep 23 16:16 config.3440
-rw------- 1 root root 1205 Sep 23 17:02 config.5556
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:04 contrib
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:06 convertd
lrwxrwxrwx 1 zimbra zimbra 31 Sep 23 16:04 cyrus-sasl -> /opt/zimbra/cyrus-sasl-2.1.22.3
drwxrwxr-x 8 root zimbra 4096 Sep 23 16:04 cyrus-sasl-2.1.22.3
drwxrwxr-x 2 zimbra zimbra 4096 Sep 23 16:06 db
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:04 doc
lrwxrwxrwx 1 zimbra zimbra 23 Sep 23 16:05 dspam -> /opt/zimbra/dspam-3.6.2
drwxr-xr-x 7 root root 4096 Sep 23 16:05 dspam-3.6.2
lrwxrwxrwx 1 root root 24 Sep 23 16:06 httpd -> /opt/zimbra/httpd-2.0.54
drwxr-xr-x 15 zimbra zimbra 4096 Sep 23 16:06 httpd-2.0.54
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:06 index
lrwxrwxrwx 1 zimbra zimbra 23 Sep 23 16:04 java -> /opt/zimbra/jdk1.6.0_02
drwxr-xr-x 7 root root 4096 Sep 23 16:04 jdk1.6.0_02
drwxrwxr-x 5 zimbra zimbra 4096 Sep 15 00:52 lib
drwxr-xr-x 4 root root 4096 Sep 23 16:04 libexec
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:13 log
drwxrwxr-x 4 zimbra zimbra 4096 Sep 23 16:05 logger
lrwxrwxrwx 1 root root 59 Sep 23 16:06 mysql -> /opt/zimbra/mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23
drwxr-xr-x 9 zimbra zimbra 4096 Sep 23 16:05 mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23
drwxr-xr-x 10 zimbra zimbra 4096 Sep 23 16:05 net-snmp-5.4
lrwxrwxrwx 1 zimbra zimbra 29 Sep 23 16:04 openldap -> /opt/zimbra/openldap-2.3.37.7
drwxr-xr-x 10 root root 4096 Sep 23 16:04 openldap-2.3.37.7
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:07 openldap-data
drwxr-xr-x 2 root root 4096 Sep 23 16:04 openldap-replica
lrwxrwxrwx 1 root root 28 Sep 23 16:06 perdition -> /opt/zimbra/perdition-1.17.1
drwxr-xr-x 9 zimbra zimbra 4096 Sep 23 16:06 perdition-1.17.1
lrwxrwxrwx 1 root root 25 Sep 23 16:05 postfix -> /opt/zimbra/postfix-2.2.9
drwxr-xr-x 7 root root 4096 Sep 23 16:05 postfix-2.2.9
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:06 redolog
lrwxrwxrwx 1 zimbra zimbra 30 Sep 23 16:04 sleepycat -> /opt/zimbra/sleepycat-4.2.52.6
drwxrwxr-x 6 root root 4096 Sep 23 16:04 sleepycat-4.2.52.6
lrwxrwxrwx 1 root root 24 Sep 23 16:05 snmp -> /opt/zimbra/net-snmp-5.4
drwx------ 3 zimbra zimbra 4096 Sep 23 16:07 ssl
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:06 store
lrwxrwxrwx 1 root root 32 Sep 23 16:06 tomcat -> /opt/zimbra/apache-tomcat-5.5.15
drwxrwxr-x 3 zimbra zimbra 4096 Sep 23 16:05 wiki
drwxrwxr-x 6 root root 4096 Sep 23 16:04 zimbramon
drwxrwxr-x 2 zimbra zimbra 4096 Sep 23 16:05 zimlets
drwxrwxr-x 2 zimbra zimbra 4096 Sep 23 16:05 zimlets-admin-extra
drwxrwxr-x 2 zimbra zimbra 4096 Sep 23 16:05 zimlets-extra
drwxr-xr-x 2 zimbra zimbra 4096 Sep 23 16:04 zmstat
----------------
18:00:49 up 1:49, 1 user, load average: 1.26, 0.58, 0.22
----------------
962552 KB
----------------
----------------
FREE total used free shared buffers cached Mem: 939 576 363 0 43 359 -/+ buffers/cache: 174 765 Swap: 1983 0 1983 KB
----------------
----------------
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
208.69.32.130 mailhost.lcsyb.com mailhost
::1 localhost6.localdomain6 localhost6
----------------
search lcsyb.com
nameserver 208.67.222.222
nameserver 208.67.220.220
----------------
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files
shadow: files
group: files
#hosts: db files nisplus nis dns
hosts: files dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
----------------
----------------
-rwxr-xr-x 1 root root 259532 Aug 21 2006 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
lrwxrwxrwx 1 root root 31 Sep 23 14:53 /usr/lib/libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
lrwxrwxrwx 1 root root 18 Sep 23 14:53 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x 1 root root 733456 Aug 21 2006 /usr/lib/libstdc++.so.5.0.7
lrwxrwxrwx 1 root root 18 Sep 23 13:46 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8
-rwxr-xr-x 1 root root 939500 Jan 17 2007 /usr/lib/libstdc++.so.6.0.8
---------------- | 
09-23-2007, 04:06 PM
| | Zimbra-Yahoo Consultant | |
Posts: 5,608
| | Try changing your hosts file to: Code: # Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.1.1.30 mailhost.lcsyb.com mailhost
#::1 localhost6.localdomain6 localhost6 | 
09-23-2007, 04:14 PM
| | | looks like that may have done it. i had just skimmed thru the hosts file and didn't even notice the wrong Ip for the FQDN. Will let you guys know if I have any more problems. Thanks a bunch! | | Thread Tools | | | | 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.  |