No_Such_Server
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
No_Such_Server
[quote user="vpoorboy"]I have the same problem with Zimbra Binaries for FC4. It showed the same error though "etc/hosts" is "127.0.0.1 localhost.localdomain localhost"[/QUOTE]
Your /etc/hosts should have 2 lines. The 2nd line needs your real IP address and both FQDN and short host name.
Your /etc/hosts should have 2 lines. The 2nd line needs your real IP address and both FQDN and short host name.
No_Such_Server
Anyone have any suggestions on troubleshooting this No_Such_Server error I am recieving on install of M2 on a fresh install of FC3?
My domain name of the zimbra box resolves to the correct IP address on the Zimbra box using nslookup domain.domainname.com.
I was able and am still able to load M1 on a clean install of FC3 and it works without any issues..
My host file is correct and looks like this:
127.0.0.7 localhost.localdomain locahost
xx.xx.xx.xx zmail.domainname.com
anyone know anyting else that I can try in order to troubleshoot this No_Such_Server error that I receive..
My domain name of the zimbra box resolves to the correct IP address on the Zimbra box using nslookup domain.domainname.com.
I was able and am still able to load M1 on a clean install of FC3 and it works without any issues..
My host file is correct and looks like this:
127.0.0.7 localhost.localdomain locahost
xx.xx.xx.xx zmail.domainname.com
anyone know anyting else that I can try in order to troubleshoot this No_Such_Server error that I receive..
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
No_Such_Server
[quote user="chamo"]
127.0.0.7 localhost.localdomain locahost
xx.xx.xx.xx zmail.domainname.com
[/QUOTE]
You last line should look like:
xx.x.x.x zmail.domainname.com zmail
You were missing the local part. Are there any errors in your /tmp/install.log?
127.0.0.7 localhost.localdomain locahost
xx.xx.xx.xx zmail.domainname.com
[/QUOTE]
You last line should look like:
xx.x.x.x zmail.domainname.com zmail
You were missing the local part. Are there any errors in your /tmp/install.log?
No_Such_Server
I left the short name off my post..
/etc/hosts does look like:
xx.xx.xx.xx zmail.domain.com zmail
install log shows the following error:
cat: /opt/zimbra/zimbramon/zimbra.cf . in: No such file or directory
ERROR: service.Failure (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
not sure if this error is becuase of a reinstall after doing several ./install.sh then ./install.sh -u
/etc/hosts does look like:
xx.xx.xx.xx zmail.domain.com zmail
install log shows the following error:
cat: /opt/zimbra/zimbramon/zimbra.cf . in: No such file or directory
ERROR: service.Failure (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
not sure if this error is becuase of a reinstall after doing several ./install.sh then ./install.sh -u
No_Such_Server
Yes, I also have the same problems. Adding the second line in /etc/hosts has no effect. Reinstalling Zimbra I faced "No such server" again. I run "zmcontrol start" and here is the error:
Host mail.test.homedns.org
Starting ldap...Done.
ERROR: account.NO_SUCH_SERVER (no such server: mail.test.homedns.org)
And the content of "/etc/hosts":
127.0.0.1 localhost.localdomain localhost
192.168.1.33 mail.test.homedns.org mail
Note that 192.168.1.33 is the local IP that the modem assigns to my NIC. The modem has an Outside IP: a.b.c.d .But it's not static, so I use dynDNS to map it to test.homedns.org.
I've tried replacing 192.168.1.33 with a.b.c.d, but there's still the problem.
I think in my system, Zimbra doesnot rely much on "/etc/hosts". With a dns system installed maybe the problem will be solved.
Host mail.test.homedns.org
Starting ldap...Done.
ERROR: account.NO_SUCH_SERVER (no such server: mail.test.homedns.org)
And the content of "/etc/hosts":
127.0.0.1 localhost.localdomain localhost
192.168.1.33 mail.test.homedns.org mail
Note that 192.168.1.33 is the local IP that the modem assigns to my NIC. The modem has an Outside IP: a.b.c.d .But it's not static, so I use dynDNS to map it to test.homedns.org.
I've tried replacing 192.168.1.33 with a.b.c.d, but there's still the problem.
I think in my system, Zimbra doesnot rely much on "/etc/hosts". With a dns system installed maybe the problem will be solved.
No_Such_Server
the no such server error, I believe, means the servername isn't configured in ldap - run zmprov gas, and see if the server is listed.
No_Such_Server
When I run zmprov gas, i get the following:
ERROR: service:FAILURE (system failure: unabel to list all servers) (cause: javax.naming.NameNotFoundException [LDAP: error code 32 - No Such Object])
This is on a clean install done last night on a clean install of FC3 with yum uodate run, and all the needed installs before running ./install.sh.
any ideas?
ERROR: service:FAILURE (system failure: unabel to list all servers) (cause: javax.naming.NameNotFoundException [LDAP: error code 32 - No Such Object])
This is on a clean install done last night on a clean install of FC3 with yum uodate run, and all the needed installs before running ./install.sh.
any ideas?
No_Such_Server
I'm not sure what's causing that - were there ldap errors in the install.log in /tmp? Is slapd running? (I assume that it is).
Does
/opt/zimbra/openldap/sbin/slapcat -f conf/slapd.conf | grep dn | grep servers
return a line with your server name in it?
What does zmhostname return?
Does
/opt/zimbra/openldap/sbin/slapcat -f conf/slapd.conf | grep dn | grep servers
return a line with your server name in it?
What does zmhostname return?
No_Such_Server
slapd is running..
running:
/opt/zimbra/openldap/sbin/slapcat -f conf/slapd.conf | grep dn | grep servers
returns 'slapcat: bad configuration file!'
running zmhostname returns my correct FQDN.
here is my install log:
Preparing packages for installation...
zimbra-core-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbra.cf.in: No such file or directory
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
mkdir: cannot create directory `/opt/zimbra/.ssh': File exists
Preparing packages for installation...
zimbra-ldap-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbraldap.cf: No such file or directory
Preparing packages for installation...
zimbra-logger-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbralogger.cf: No such file or directory
Preparing packages for installation...
zimbra-mta-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbramta.cf: No such file or directory
Preparing packages for installation...
zimbra-snmp-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbrasnmp.cf: No such file or directory
Preparing packages for installation...
zimbra-store-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbramail.cf: No such file or directory
Preparing packages for installation...
zimbra-apache-3.0.0_M2_740.FC3-20051114171941
Preparing packages for installation...
zimbra-spell-3.0.0_M2_740.FC3-20051114171941
running:
/opt/zimbra/openldap/sbin/slapcat -f conf/slapd.conf | grep dn | grep servers
returns 'slapcat: bad configuration file!'
running zmhostname returns my correct FQDN.
here is my install log:
Preparing packages for installation...
zimbra-core-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbra.cf.in: No such file or directory
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
mkdir: cannot create directory `/opt/zimbra/.ssh': File exists
Preparing packages for installation...
zimbra-ldap-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbraldap.cf: No such file or directory
Preparing packages for installation...
zimbra-logger-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbralogger.cf: No such file or directory
Preparing packages for installation...
zimbra-mta-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbramta.cf: No such file or directory
Preparing packages for installation...
zimbra-snmp-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbrasnmp.cf: No such file or directory
Preparing packages for installation...
zimbra-store-3.0.0_M2_740.FC3-20051114171941
cat: /opt/zimbra/zimbramon/zimbramail.cf: No such file or directory
Preparing packages for installation...
zimbra-apache-3.0.0_M2_740.FC3-20051114171941
Preparing packages for installation...
zimbra-spell-3.0.0_M2_740.FC3-20051114171941
No_Such_Server
yes, all errors Chamo had with his FC3 box are the same with mine (FC4 box). What's the problem ?