| 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.
|  | | 
03-26-2009, 11:26 PM
| | | [SOLVED] Installing ZCS on CentOS 5 Hi,
We have tried installing RHEL 4 & RHEL 5 (tried both versions hoping it might work!!) on our CentOS 5.0 environment but have ran into a few problems.
The installation finishes like a charm. We have installed all the pre-requisites fine, disabled the sendmail server, firewall, SELinux, iptables & removed the US Lang entry from /etc/sysconfig/i18n.
With RHEL 4, the LDAP is unable to start giving the error 'ldap_url & ldap_master_url cannot be the same' when tried starting ldap manually giving 'ldap start'.
With RHEL 5, the command 'zmcontrol start' gives the hostname but just stalls after that i.e. no 'service started ok' messages.
Plz note that we have already setup the DNS / MX configurations.
The zimbra.log file has the following entries: Mar 27 06:15:02 uranium sendmail[8264]: n2R6A1hK008264: timeout waiting for input from [127.0.0.1] during client greeting
Mar 27 06:15:02 uranium sendmail[8264]: n2R6A1hK008264: to=tech, ctladdr=tech (513/513), delay=00:05:01, xdelay=00:05:00, mailer=relay, pri=30525, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
Mar 27 06:15:05 uranium sendmail[8142]: n2R6A16n008142: timeout waiting for input from [127.0.0.1] during client greeting
Mar 27 06:15:05 uranium sendmail[8142]: n2R6A16n008142: to=zimbra, ctladdr=zimbra (520/521), delay=00:05:04, xdelay=00:05:03, mailer=relay, pri=30537, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
haroon khan: Mar 27 06:12:02 uranium zimbramon[8396]: 8396:info: 2009-03-27 06:12:01, STATUS: : Unable: to messages
The messages.log has the following entries: uranium zimbramon[8396]: 8396:info: 2009-03-27 06:12:01, STATUS: : Unable: to
The /tmp/zmsetup.51117.log has the following entries: DNS ERROR resolving MX for uranium.*****.com
It is suggested that the domain name have an MX record configured in DNS
Done.
Our /etc/hosts file is: # Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
#10.0.0.201 polonium
10.0.0.202 uranium.******.com uranium
The /etc/resolv.conf is: search uranium.******.com
nameserver 202.56.***.**
nameserver 202.56.***.**
Any help will be appretiated.
Regards,
Sumit | 
03-27-2009, 12:27 AM
| | | Welcome to the forums
Your DNS is not setup correctly as a valid MX is not found. As you appear to be on a private LAN then you will need to setup a Wiki :: Split DNS architecture. Once that is done please post the following Code: cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
__________________ | 
03-27-2009, 12:41 AM
| | | Hi uxbod,
Thanks for the quick reply. I did think that its a problem of wrongly configured DNS but as per our IT guy, there shouldn't be a problem with it!!
Anyways, below is the output from the commands that you asked me to run with my current configuration: 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
::1 localhost6.localdomain6 localhost6
#10.0.0.201 polonium
10.0.0.202 uranium.*****.com uranium cat /etc/resolv.conf
search uranium.*****.com
nameserver 202.56.***.**
nameserver 202.56.***.** dig yourdomain mx
; <<>> DiG 9.3.4-P1 <<>> uranium.*****.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59665
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;uranium.*****.com. IN MX
;; AUTHORITY SECTION:
*****.com. 3663 IN SOA ns19.domaincontrol.com. dns.jomax.net. 2007121400 28800 7200 604800 86400
;; Query time: 20 msec
;; SERVER: 202.56.215.54#53(202.56.215.54)
;; WHEN: Fri Mar 27 07:33:52 2009
;; MSG SIZE rcvd: 108 dig yourdomain any
; <<>> DiG 9.3.4-P1 <<>> uranium.*****.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7788
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;uranium.*****.com. IN ANY
;; ANSWER SECTION:
uranium.*****.com. 1800 IN A 10.0.0.202
uranium.*****.com. 1800 IN MX 0 10.0.0.202.
;; AUTHORITY SECTION:
*****.com. 3600 IN NS ns20.domaincontrol.com.
*****.com. 3600 IN NS ns19.domaincontrol.com.
;; ADDITIONAL SECTION:
ns19.domaincontrol.com. 76906 IN A 216.69.185.10
ns20.domaincontrol.com. 137361 IN A 208.109.255.10
;; Query time: 328 msec
;; SERVER: 202.56.215.54#53(202.56.215.54)
;; WHEN: Fri Mar 27 07:34:08 2009
;; MSG SIZE rcvd: 166 host `hostname` <- note backticks and not single quotes
Host uranium not found: 3(NXDOMAIN)
Plz suggest solutions incase the configurations are actually faulty.
Regards,
Sumit | 
03-27-2009, 12:52 AM
| | | Couple of things; I presume your domain is *****.com and the actual hostname is uranium ? If so then your /etc/resolv.conf should be Code: search search *****.com
nameserver 202.56.***.**
nameserver 202.56.***.** And your digs should be against *****.com and not uranium.*****.com
__________________ | 
03-27-2009, 01:46 AM
| | | Hi uxbod,
Again thanks a lot for the quick response.
We are trying to host uranium.*****.com on our server. So, as per your comments, our digs are pointing in the right direction. right?
Will pointing to uranium.*****.com be problematic? We are unable to use *****.com as its already in use with gmail for our employee mails and we dont want to use the same for our customer mails.
BTW.. we are trying to use the OpenSource version!! Should have conveyed that in my 1st post itself
Also plz note from my 1st post, zimbra.log contains the following entries: Mar 27 06:15:02 uranium sendmail[8264]: n2R6A1hK008264: timeout waiting for input from [127.0.0.1] during client greeting
Mar 27 06:15:02 uranium sendmail[8264]: n2R6A1hK008264: to=tech, ctladdr=tech (513/513), delay=00:05:01, xdelay=00:05:00, mailer=relay, pri=30525, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
Mar 27 06:15:05 uranium sendmail[8142]: n2R6A16n008142: timeout waiting for input from [127.0.0.1] during client greeting
Mar 27 06:15:05 uranium sendmail[8142]: n2R6A16n008142: to=zimbra, ctladdr=zimbra (520/521), delay=00:05:04, xdelay=00:05:03, mailer=relay, pri=30537, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
And the messages.log contains: Mar 27 06:12:02 uranium zimbramon[8396]: 8396:info: 2009-03-27 06:12:01, STATUS: : Unable: to
Why are there sendmail logs??? Zimbra uses postfix right? During installation sendmail was stopped! Can this be an indicator to the reason for the problem?
Regards,
Sumit | 
03-27-2009, 01:50 AM
| | | Code: su - zimbra
zmcontrol status
zmcontrol stop ; zmcontrol start and then check /var/log/zimbra.log for any Postfix error messages. If your domain is uranium.*****.com then why in /etc/hosts do you have Code: 10.0.0.202 uranium.*****.com uranium that is say that your server name is uranium.*****.com and a non FQDN of uranium. Would be better to call your server zimbra.uranium.****.com or something like that.
__________________ | 
03-27-2009, 05:27 AM
| | | hi,
Now change the host file
now /etc/host file
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
10.0.0.202 mail.tech.com mail
/etc/resolv.conf file
search mail.tech.com
nameserver 202.56.215.54
nameserver 202.56.215.55
hostname
mail.tech.com
cofigured the dns uranium.servertech.com to 10.0.0.202
error in /var/log/zimbra.log
Mar 27 11:09:01 mail sendmail[6142]: n2RB91Ji006142: to=tech, ctladdr=tech (513/513), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30522, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Mar 27 11:10:02 mail postfix/postqueue[6252]: fatal: chdir /var/spool/postfix: No such file or directory
Mar 27 11:10:02 mail sendmail[6221]: n2RBA1qC006221: from=root, size=328, class=0, nrcpts=1, msgid=<200903271110.n2RBA1qC006221@mail.tech.com>, relay=root@localhost
pls help
with regards
Haroon | 
03-28-2009, 12:53 AM
| | | hi,
installed the zcs-4.5.11 on centos 5.
when browse the url asks to submit the query.. http://uranium.*****.com:7780/aspell.php
htttp:/10.0.*.***
ask for username and passwod
so what username & passwd to put
i have only set the passwd for admin
with regards
Haroon | 
03-28-2009, 01:10 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Quote:
Originally Posted by curium installed the zcs-4.5.11 on centos 5. | The current version is 5.0.x, why are you using an old version of Zimbra?
The problem you're experiencing is likely to be a DNS problem especially as you've now changed your domain name and server name.
__________________
Regards
Bill
| | 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.  |