Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-06-2007, 05:13 PM
RD1 RD1 is offline
Intermediate Member
 
Posts: 19
Default Cannot determine services

I am having trouble with dns resolve issue, I read other thread on forums but enough differences to not fully translate, and I am a newbie at linux command line.

this is a CentOs box, this is localhost.zone file can anyone make any sense of either of these? When I run zmcontrol stop, systems appear to stop but when I run zmcontrol status I get 'cannot determine services - exiting' these files I edited to insert machines static ip. Not sure if that was the correct thing to do?

$TTL 86400
@ IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

IN NS @
IN A 208.67.250.133
IN AAAA ::1


and localdomain.zone

$TTL 86400
@ IN SOA localhost root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS localhost
localhost IN A 208.67.250.133
Reply With Quote
  #2 (permalink)  
Old 02-06-2007, 06:33 PM
Former Zimbran
 
Posts: 5,606
Default

Well, if you're getting the cannot determine services error, then that means LDAP isn't started or it can't connect.

You should run a zmlocalconfig and look at the configuration.
The master should probably be set to true, and the host should be the name of the box.

Let's start there

john
Reply With Quote
  #3 (permalink)  
Old 02-06-2007, 07:02 PM
RD1 RD1 is offline
Intermediate Member
 
Posts: 19
Default

Master is set to false, how do I change this? Sorry for my ignorance.
Reply With Quote
  #4 (permalink)  
Old 02-06-2007, 07:14 PM
Former Zimbran
 
Posts: 5,606
Default

Hi RD1-
It's not a problem at all! We're here to help!

So the problem is, that i get a feeling that youv'e got bigger problems, but I'll help you along as best as I can.


zmlocalconfig -e ldap_is_master=true

Can you post the output of:
zmlocalconfig | grep ldap

Thanks
john
Reply With Quote
  #5 (permalink)  
Old 02-06-2007, 07:26 PM
RD1 RD1 is offline
Intermediate Member
 
Posts: 19
Smile

John,

Thanks.

[zimbra@marlin zcs]$ zmlocalconfig -e ldap_is_master=true
[zimbra@marlin zcs]$ zmlocalconfig | grep ldap
ldap_cache_account_maxage = 15
ldap_cache_account_maxsize = 5000
ldap_cache_cos_maxage = 15
ldap_cache_cos_maxsize = 100
ldap_cache_domain_maxage = 15
ldap_cache_domain_maxsize = 100
ldap_cache_server_maxage = 15
ldap_cache_server_maxsize = 100
ldap_cache_timezone_maxsize = 100
ldap_cache_zimlet_maxage = 15
ldap_cache_zimlet_maxsize = 100
ldap_connect_pool_debug = false
ldap_connect_pool_initsize = 1
ldap_connect_pool_maxsize = 50
ldap_connect_pool_prefsize = 0
ldap_connect_pool_timeout = 120000
ldap_connect_timeout = 30000
ldap_host =
ldap_is_master = true
ldap_log_level = 0
ldap_master_url =
ldap_port =
ldap_root_password = *
ldap_url =
postfix_sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
postfix_transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
postfix_virtual_alias_domains = ldap://opt/zimbra/conf/ldap-vad.cf
postfix_virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
postfix_virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
postfix_virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
zimbra_ldap_password = *
zimbra_ldap_user = zimbra
zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
zimbra_zmprov_default_to_ldap = false
[zimbra@marlin zcs]$

Last edited by jholder; 02-06-2007 at 07:32 PM..
Reply With Quote
  #6 (permalink)  
Old 02-06-2007, 07:31 PM
Former Zimbran
 
Posts: 5,606
Default

Great!
Now, let's try to start the servers.

Let's see how it goes.

jh
Reply With Quote
  #7 (permalink)  
Old 02-06-2007, 07:36 PM
RD1 RD1 is offline
Intermediate Member
 
Posts: 19
Default

John,

Here is what i got


[zimbra@marlin zcs]$ zmcontrol start
Host marlin.realmarketing.net
Starting ldap...Done.
FAILED
Error: /opt/zimbra/conf/slapd.conf.in does not exist
]nERROR - failed to start slapd



[zimbra@marlin zcs]$
Reply With Quote
  #8 (permalink)  
Old 02-06-2007, 07:38 PM
Former Zimbran
 
Posts: 5,606
Default

Yeah

Run your zmlocalconfig and post it. I'll delete it for ya, I need to see some stuff.

john
Reply With Quote
  #9 (permalink)  
Old 02-06-2007, 07:45 PM
Former Zimbran
 
Posts: 5,606
Default

Here's what I'm going to suggest.
Let's delete zimbra and start from scratch.
Run ./install.sh -u and remove zimbra completely.

Next, we need to take a look at your hosts file. Zimbra uses the hostfile with DNS to talk to itself.

cat /etc/hosts
Reply With Quote
  #10 (permalink)  
Old 02-06-2007, 07:58 PM
RD1 RD1 is offline
Intermediate Member
 
Posts: 19
Default

John,

took me a minute to navigate around.

Removing deployed webapp directories

Removing /opt/zimbra
[root@marlin zcs]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 marlin.realmarketing.net marlin localhost.localdomain
#localhost

127.0.0.1 localhost.localdomain localhost
208.67.250.173 marlin.realmarketing.net
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.