Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Soap call failed: 500 Can't connect to localhost:7777

  1. #1
    Join Date
    Oct 2005
    Posts
    13
    Rep Power
    10

    Default Soap call failed: 500 Can't connect to localhost:7777

    Just installed FC3 and then Zimbra.

    [root@zimbra ~]# su - zimbra
    [zimbra@zimbra ~]$ zmcontrol status
    Calling GetServiceInfoRequest (zimbra.bdsdomain.com)

    Soap call failed: 500 Can't connect to localhost:7777 (connect: Connection refused) at /opt/zimbra/bin/zmcontrol line 230

    Any ideas.

    I am sitting behind a proxy server - will this cause the error?

    what do i need to do to correct it?

    Thanks

    Jaymate (New to linux)

  2. #2
    Join Date
    Oct 2005
    Location
    Harrisburg, Pennsylvania
    Posts
    155
    Rep Power
    10

    Default

    Quote Originally Posted by Jaymate
    Just installed FC3 and then Zimbra.

    [root@zimbra ~]# su - zimbra
    [zimbra@zimbra ~]$ zmcontrol status
    Calling GetServiceInfoRequest (zimbra.bdsdomain.com)

    Soap call failed: 500 Can't connect to localhost:7777 (connect: Connection refused) at /opt/zimbra/bin/zmcontrol line 230
    It looks like Zimbra may not have started up for one reason or another.

    First, just to be on the safe side, lets stop the firewall running on that computer, using the following (you'll need to run these commands as root):

    Code:
    /etc/init.d/iptables stop
    Then, restart the Zimbra server:

    Code:
    /etc/init.d/zimbra restart
    Then, just as you did above, re-run the "zmcontrol status" command (as the zimbra user).

    Does that work any better?

    If not, there's two things that might help.

    First, look at the end of your Zimbra log file, in /var/log/zimbra.log. It may contain useful information for diagnosing problems you've run into.

    If the Zimbra log doesn't make things clear, it may help for us to see a copy of your Zimbra install log. There should be a text file in /tmp named something like install.log.XYZ (where XYZ is a seemingly random set of numbers, but really the process number of the process that installed Zimbra).

    If you could reply to this thread, and attach your install log, and perhaps the zimbra.log while you're at it, that would be helpful in diagnosing your problem.

    Have a good one,
    -Eric

  3. #3
    Join Date
    Oct 2005
    Location
    Harrisburg, Pennsylvania
    Posts
    155
    Rep Power
    10

    Default

    Quote Originally Posted by Jaymate
    Soap call failed: 500 Can't connect to localhost:7777 (connect: Connection refused) at /opt/zimbra/bin/zmcontrol line 230
    Jaymate, I just read through a copy of where you originally posted this problem:

    http://www.zimbra.com/forums/showthread.php?t=480

    There was an error that occurred during the install, that said this:

    Code:
     ERROR: Installation can not proceeed. Please fix your /etc/hosts file
    to contain:
    
    127.0.0.1 localhost.localdomain localhost
    That may or may not be the ultimate cause of the problem, but it's worth looking into. What does your /etc/hosts file look like? You should have entries in there for both 127.0.0.1 as it mentions above, as well as a similar entry using the actual IP and hostname of your machine.
    -Eric

  4. #4
    Join Date
    Oct 2005
    Location
    Marietta, GA
    Posts
    28
    Rep Power
    9

    Default I am having the same install problem

    I looked at my hosts file and there was nothing in it except for the comments stating not to delete these lines. Please advise.

  5. #5
    Join Date
    Oct 2005
    Location
    Marietta, GA
    Posts
    28
    Rep Power
    9

    Default Fixing the /etc/hosts got rid of the error message, however...

    Now when I restarted zimbra the only feedback I receive is the host ip address and name. Also, when I exceuted the zmcontrol status command the only feedback I received was again only the host ip address and name. It seems as no servers were started, but no error messages were displayed either. Please advise, Thanks.

    PS, I don;t know if this is related but when Fedora starts up one of the services failed to start, "smartd".

    Regards,

    Ben
    Last edited by bburgis; 10-26-2005 at 01:42 PM.

  6. #6
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by bburgis
    I looked at my hosts file and there was nothing in it except for the comments stating not to delete these lines. Please advise.
    Do a searh on hosts file. There are lots of examples here. You need two lines one for localhost and one for your real host name. This needs to be there when you install so if it wasn't you should re-install.

  7. #7
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by bburgis
    Now when I restarted zimbra the only feedback I receive is the host ip address and name. Also, when I exceuted the zmcontrol status command the only feedback I received was again only the host ip address and name. It seems as no servers were started, but no error messages were displayed either. Please advise, Thanks.

    PS, I don;t know if this is related but when Fedora starts up one of the services failed to start, "smartd".

    Regards,

    Ben
    Can you post your install log from /tmp?

  8. #8
    Join Date
    Oct 2005
    Location
    Marietta, GA
    Posts
    28
    Rep Power
    9

    Default Here is contents of my zimbra install log

    COMMAND: zmlocalconfig -s | sed -e "s/ = \(.*\)/=\'\1\'/" > /tmp/saveconfig.5035/config.save
    COMMAND: zmcontrol shutdown
    Calling ShutDownRequest (bhburgis.com)

    Preparing packages for installation...
    zimbra-core-3.0.M1_21.FC3-20050920155949_
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
    Preparing packages for installation...
    zimbra-ldap-3.0.M1_21.FC3-20050920155949_
    Preparing packages for installation...
    zimbra-mta-3.0.M1_21.FC3-20050920155949_
    Preparing packages for installation...
    zimbra-snmp-3.0.M1_21.FC3-20050920155949_
    Preparing packages for installation...
    zimbra-store-3.0.M1_21.FC3-20050920155949_
    COMMAND: /opt/zimbra/libexec/zmmyinit
    * Creating required directories
    * Generating mysql config /opt/zimbra/conf/my.cnf
    * Creating database in /opt/zimbra/db/data
    * Starting mysql server
    * Loading schema /opt/zimbra/db/db.sql
    * Loading version from /opt/zimbra/db/versions-init.sql
    * Setting random password for mysql root user in zimbra local config
    * Setting random password for mysql zimbra user in zimbra local config
    * Changing mysql root user password
    * Changing mysql zimbra user password
    * Changed zimbra mysql user password
    COMMAND: zmlocalconfig -e zimbra_server_hostname=bhburgis.com
    COMMAND: zmlocalconfig -e ldap_host=bhburgis.com
    COMMAND: zmlocalconfig -e ldap_port=389
    COMMAND: /opt/zimbra/libexec/zmldapinit
    Started slapd: pid
    ldap_bind: Invalid credentials (49)
    ldap_bind: Invalid credentials (49)
    COMMAND: zmprov cs bhburgis.com
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: zmprov cd bhburgis.com
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: zmprov mcf zimbraDefaultDomainName bhburgis.com
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: zmprov ca admin@bhburgis.com 101096 zimbraIsAdminAccount TRUE
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: zmprov aaa admin@bhburgis.com postmaster@bhburgis.com
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: id=`zmprov gs bhburgis.com | grep zimbraId | awk '{print $2}'`; for i in `zmprov gc default | grep zimbraMailHostPool | sed 's/zimbraMailHostPool: //'`; do host="$host zimbraMailHostPool $i"; done; zmprov mc default $host zimbraMailHostPool $id
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    zmprov [cmd] [args ...]

    CreateAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]]
    DeleteAccount(da) {name@domain|id}
    GetAccount(ga) {name@domain|id}
    GetAllAccounts(gaa) [-v] [{domain}]
    GetAllAdminAccounts(gaaa) [-v]
    ModifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]
    SetPassword(sp) {name@domain|id} {password}
    AddAccountAlias(aaa) {name@domain|id} {alias@domain}
    RemoveAccountAlias(raa) {name@domain|id} {alias@domain}
    SetAccountCos(sac) {name@domain|id} {cos-name|cos-id}
    SearchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1,a2...}] [sortAscending 0|1*] [applyCos [0|1*] [domain {domain}]
    SearchGal(sg) {domain} {name}
    RenameAccount(ra) {name@domain|id} {newName@domain}

    CreateDomain(cd) {domain} [attr1 value1 [attr2 value2...]]
    DeleteDomain(dd) {domain|id}
    GetDomain(gd) {domain|id}
    GetAllDomains(gad) [-v]
    ModifyDomain(md) {domain|id} [attr1 value1 [attr2 value2...]]

    CreateCos(cc) {name} [attr1 value1 [attr2 value2...]]
    DeleteCos(dc) {name|id}
    GetCos(gc) {name|id}
    GetAllCos(gac) [-v]
    ModifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]
    RenameCos(rc) {name|id} {newName}

    CreateServer(cs) {name} [attr1 value1 [attr2 value2...]]
    DeleteServer(ds) {name|id}
    GetServer(gs) {name|id}
    GetAllServers(gas) [-v]
    ModifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]]

    GetAllConfig(gacf)
    GetConfig(gcf) {name}
    ModifyConfig(mcf) attr1 value1 [attr2 value2...]

    CreateDistributionList(cdl) {list@domain}
    GetAllDistributionLists(gadl) [-v]
    GetDistributionList(gdl) {list@domain|id}
    DeleteDistributionList(ddl) {list@domain|id}
    AddDistributionListMember(adlm) {list@domain|id} {member@domain}
    RemoveDistributionListMember(rdlm) {list@domain|id} {member@domain}

    exit (quit)
    help (?)

    COMMAND: /opt/zimbra/libexec/zmmtainit bhburgis.com
    COMMAND: zmlocalconfig -e av_notify_user=notify@bhburgis.com
    COMMAND: zmlocalconfig -e av_notify_domain=bhburgis.com
    COMMAND: zmlocalconfig -e snmp_notify=0
    COMMAND: zmlocalconfig -e smtp_notify=0
    COMMAND: zmlocalconfig -e snmp_trap_host=bhburgis.com
    COMMAND: zmlocalconfig -e smtp_source=none
    COMMAND: zmlocalconfig -e smtp_destination=none
    COMMAND: zmsnmpinit
    creating /opt/zimbra/conf/swatchrc
    COMMAND: zmprov ms bhburgis.com zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: zmprov ms bhburgis.com zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmp
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: zmlocalconfig -e zimbra_services="ldap mailbox mta antivirus antispam snmp"
    COMMAND: zmcreatecert
    ** Creating CA private key

    Generating a 1024 bit RSA private key
    ...........................++++++
    .........++++++
    writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
    -----
    ** Creating CA cert

    Signature ok
    subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=bhburgis.com
    Getting Private key
    ** Importing CA

    Certificate was added to keystore
    keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)
    ** Creating keystore

    ** Creating server cert request

    ** Signing cert request

    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=bhburgis.com
    Getting CA Private Key
    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=bhburgis.com
    Getting Private key
    COMMAND: zmcertinstall mailbox
    ** Importing server cert

    keytool error: java.lang.Exception: Failed to establish chain from reply
    COMMAND: zmtlsctl http
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: zmcertinstall mta /opt/zimbra/ssl/ssl/server/smtpd.crt /opt/zimbra/ssl/ssl/ca/ca.key
    ** Importing server cert

    COMMAND: zmlocalconfig -e ssl_allow_untrusted_certs=true
    COMMAND: zmcontrol startup
    Calling startup (bhburgis.com)

    perl /opt/zimbra/bin/zmmon &

    RESPONSE: (Zimbra::Mon::serviceInfo)
    host
    ip 24.99.70.74
    name bhburgis.com
    COMMAND: zmlocalconfig -s > .localconfig.save.5035
    COMMAND: zmprov gs bhburgis.com > .zmprov.bhburgis.com.save.5035
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)
    COMMAND: zmprov gacf bhburgis.com > .zmprov.gacf.save.5035
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException bhburgis.com:389)

  9. #9
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Ok well on that install slapd was still running. You need to kill it before you try to re-install.

  10. #10
    Join Date
    Oct 2005
    Location
    Marietta, GA
    Posts
    28
    Rep Power
    9

    Default Need some help with killing slapd

    I am still coming up to speed on using Linux. I could not find the slapd service to kill. I tried to do "/etc/init.d/slapd stop" but couldn't find slapd. Could you provide the right way to kill this service or program. Thanks.

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 PM
  3. Can't send or receive mails from Zimbra
    By ppurama in forum Administrators
    Replies: 4
    Last Post: 11-14-2005, 09:17 AM
  4. Replies: 13
    Last Post: 10-31-2005, 03:22 PM
  5. 500 Can't connect to localhost:7777
    By analysis.paralysis in forum Installation
    Replies: 3
    Last Post: 10-22-2005, 03:18 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
  •