Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm using zimbra 6 (6.0.8_GA_2661.RHEL5_20100820051652 CentOS5) on CentOS 5 server

Zimbra is working fine.

Now I want to host some files on Apache.

I'm referring to this document on how to run Apache and Zimbra webmail on the same host.

But when I run below command gives an error

zmprov ms zimbra.mydomain.com zimbraMailPort 81

Error:

ERROR: account.NO_SUCH_SERVER (no such server: zimbra.mydomain.com)

share|improve this question
    
What is the output of nmap localhost -p80,81 to check if the Apache web server port (80) and the zimbra port (81) are active. –  JakeGould Nov 6 at 22:02

1 Answer 1

up vote 0 down vote accepted

As it's pretty clear from the error, that the command is not able to resolve zimbra.mydomain.com.

To check the same, try this command at your terminal:

# host zimbra.mydomain.com

I believe that it shouldn't work.

To fix the same, open your /etc/hosts file with vi command like this

# vi /etc/hosts

and create a entry like this

ip_address_zimbra  zimbra.mydomain.com

Save file and quit and try the command again.

share|improve this answer
    
i hv tried, domain resolving to ip address. zimbra.mydomain.com has address xx.xx.xxx.xxx –  Kasun Dec 23 '12 at 13:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.