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 Display Modes
  #1 (permalink)  
Old 10-24-2005, 04:11 AM
Member
 
Posts: 13
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)
Reply With Quote
  #2 (permalink)  
Old 10-24-2005, 08:01 AM
Special Member & Volunteer
 
Posts: 155
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
Reply With Quote
  #3 (permalink)  
Old 10-24-2005, 08:10 AM
Special Member & Volunteer
 
Posts: 155
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:

New to Linux - Zimbra Installation trouble on FC3

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
Reply With Quote
  #4 (permalink)  
Old 10-26-2005, 01:48 PM
Active Member
 
Posts: 28
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.
Reply With Quote
  #5 (permalink)  
Old 10-26-2005, 02:25 PM
Active Member
 
Posts: 28
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 02:42 PM.
Reply With Quote
  #6 (permalink)  
Old 10-26-2005, 03:39 PM
Zimbra Employee
 
Posts: 4,784
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.
Reply With Quote
  #7 (permalink)  
Old 10-26-2005, 03:40 PM
Zimbra Employee
 
Posts: 4,784
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?
Reply With Quote
  #8 (permalink)  
Old 10-26-2005, 09:19 PM
Active Member
 
Posts: 28
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)
Reply With Quote
  #9 (permalink)  
Old 10-26-2005, 09:28 PM
Zimbra Employee
 
Posts: 4,784
Default

Ok well on that install slapd was still running. You need to kill it before you try to re-install.
Reply With Quote
  #10 (permalink)  
Old 10-27-2005, 06:37 AM
Active Member
 
Posts: 28
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.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0