Results 1 to 9 of 9

Thread: Unable to access services

  1. #1
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    7

    Default Unable to access services

    Hello all! Just an FYI, I'm a Linux nub, so if you require files or commands to be done - kinda have to assume I don't know know what to do. If it was Windows, I'd be all over it

    So my problem is this:
    I just did a clean wipe of FC7 and installed Zimbra 5.0.10 on it - installation went without a hitch, no problems, MX record resolved, etc. Great -
    But when trying to access the server via browser, no dice, even if on the server and trying to connect via localhost. Hosts file shows up all entries fine, ping resolves, server can access internet, and not behind a firewall (yet).

    When I run "zmcontrol status", i get the following message:
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or does not exist.
    Upon running "zmcontrol stop" all services successfully stopped. When I try to run "zmcontrol start", it attempts to start ldap, but shows the same error.

    I have this odd feeling that Linux just doesn't want me on any RC, and tries to sabotage all installations on me...

    Oh, and when I did a 5.0.6 install a few months ago, it worked great.

    Help! /tear

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    It is more than likely a DNS issue so please post the following
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomainname mx
    dig yourserverfqdn
    host `hostname` <- note backticks and not double quotes

  3. #3
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    7

    Default

    Code:
    [root@mailtest ~]# 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
    67.88.163.67            mailtest.xxxxxx.com mailtest
    [root@mailtest ~]# cat /etc/resolv.conf
    search getvms.com
    nameserver 65.106.1.196
    nameserver 65.106.7.196
    [root@mailtest ~]# dig mailtest.xxxxxx.com
    
    ; <<>> DiG 9.4.0 <<>> mailtest.xxxxxx.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5598
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mailtest.xxxxxx.com.           IN      A
    
    ;; ANSWER SECTION:
    mailtest.xxxxxx.com.    4285    IN      A       67.88.163.67
    
    ;; Query time: 15 msec
    ;; SERVER: 65.106.1.196#53(65.106.1.196)
    ;; WHEN: Thu Oct 23 10:09:31 2008
    ;; MSG SIZE  rcvd: 53
    
    [root@mailtest ~]# host `hostname`
    mailtest.xxxxxx.com has address 67.88.163.67
    mailtest.xxxxxx.com mail is handled by 10 mailtest.xxxxxx.com.
    [root@mailtest ~]#
    Last edited by RogueSpear00; 10-23-2008 at 08:32 AM.

  4. #4
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    7

    Default

    Obviously xxxxxx has the right domain name - the 'mailtest' is because this is technically my testing MX record for now, my normal mail server points to the current mail server and I don't want to interrupt services.

  5. #5
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    7

    Default

    Any ideas?

  6. #6
    Join Date
    Oct 2008
    Posts
    38
    Rep Power
    7

    Default

    We had similar problems, this is usually due to the zimbra ldap service not running so check if you have a slapd process belonging to the zimbra user.
    Most tiimes we had to restore the whole ldap database from a backup (I mean all files in /opt/zimbra/openldap-data), but this used to happen with ZCS 4.5.x when the system went down ungracefully and zimbra cannot properly stop its services, we no longer had this problem with ZCS 5.0.

  7. #7
    Join Date
    Aug 2007
    Location
    Pune, India
    Posts
    46
    Rep Power
    8

    Default

    Can you check the errors in /var/log/zimbra.log when you start ldap service?
    Also as asked by uxbod, please check your /etc/hosts file, it should have server's IP address and correct server fqdn.
    - Irfan




  8. #8
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    7

    Default

    All right, I'll check into those.

    Irfan:
    Code:
    [root@mailtest ~]# 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
    67.88.163.67            mailtest.xxxxxx.com mailtest

  9. #9
    Join Date
    Aug 2007
    Location
    Pune, India
    Posts
    46
    Rep Power
    8

    Default

    Just to make sure, check if output of following commands is correct

    su -zimbra
    zmhostname -> should give mailtest.xxxxxx.com

    Check if ldap is running:
    ps aux |grep slapd
    If yes, check the servername in ldap, it should be mailtest.xxxxxx.com
    zmprov -l gas

    If still in problem, please post the logs from zimbra.log when you try to start ldap or zmcontrol.
    - Irfan




Similar Threads

  1. Replies: 48
    Last Post: 09-18-2012, 08:49 AM
  2. Installation zimbra Initializing ldap...failed. (28416)
    By farrukh.nadeem in forum Installation
    Replies: 10
    Last Post: 08-14-2009, 06:52 AM
  3. upgrading problem
    By geoffDeGeoffGeoff in forum Installation
    Replies: 1
    Last Post: 09-17-2008, 05:21 AM
  4. Unable to start services.
    By Russellstrei in forum Installation
    Replies: 5
    Last Post: 06-15-2007, 02:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •