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

Thread: no connection vi https

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

    Default no connection vi https

    i think i have a successful install but i cant seem to connect to the ADMIN console. when i try to read the catalina.out it is empty.
    this is the only thing i can find and i dont have a clue what to do with it
    Code:
    [root@savag123 ~]# [root@savag123 ~]# /etc/init.d/zimbra restart
    Calling ShutDownRequest (savag123.homeftp.org)
    
    Calling startup (savag123.homeftp.org)
    
    perl /opt/zimbra/bin/zmmon &
    
    Soap call failed: 500 Can't connect to localhost:7777 (connect: Connection refused) at /opt/zimbra/bin/zmcontrol line 230
    
    [root@savag123 ~]# java.net.UnknownHostException: savag123.homeftp.org: savag123.homeftp.org
            at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
            at com.zimbra.cs.localconfig.LC.(LC.java:138)
            at com.zimbra.cs.localconfig.KnownKey.(KnownKey.java:39)
            at com.zimbra.cs.localconfig.LocalConfig.verify(LocalConfig.java:331)
            at com.zimbra.cs.localconfig.LocalConfig.(LocalConfig.java:186)
            at com.zimbra.cs.localconfig.LocalConfig.readConfig(LocalConfig.java:354)
            at com.zimbra.cs.localconfig.LocalConfig.(LocalConfig.java:359)
            at com.zimbra.cs.localconfig.Main.main(Main.java:115)
    t

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

    Default

    Anything in /opt/zimbra/log/zimbra.log ?

  3. #3
    Join Date
    Oct 2005
    Posts
    7
    Rep Power
    10

    Default

    this is the closest thing i could find to a definate error. zimbra.log does not exist

    ./zimbra start
    Calling startup (savag123.homeftp.org)

    perl /opt/zimbra/bin/zmmon &

    Soap call failed: 500 read timeout at /opt/zimbra/bin/zmcontrol line 230

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

    Default

    What OS are you on? Can you check /tmp for the install log and post it here?

  5. #5
    Join Date
    Oct 2005
    Posts
    7
    Rep Power
    10

    Default

    i'm doing an updaet and re-install of zimbra
    fedora 3

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

    Default

    Quote Originally Posted by bigkeith
    i'm doing an updaet and re-install of zimbra
    fedora 3
    Ok make sure that there are no zimbra processes running and post the result of your /tmp/install.log if there are problems.

  7. #7
    Join Date
    Oct 2005
    Posts
    7
    Rep Power
    10

    Default

    here is my install log is there a problem with my domain name, how do i make it a local mail server if thats the case
    edited*****
    Code:
    Preparing packages for installation...
    zimbra-core-3.0.M1_21.FC3-20050920155949_
    ldconfig: File /usr/lib/libkabc_slox.so.0.0.0.#prelink#.BDGzUZ is empty, not checked.
    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_
    ldconfig: File /usr/lib/libkabc_slox.so.0.0.0.#prelink#.BDGzUZ is empty, not checked.
    Preparing packages for installation...
    zimbra-mta-3.0.M1_21.FC3-20050920155949_
    ldconfig: File /usr/lib/libkabc_slox.so.0.0.0.#prelink#.BDGzUZ is empty, not checked.
    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
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
    * Loading version from /opt/zimbra/db/versions-init.sql
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
    * 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
    /opt/zimbra/mysql/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/opt/zimbra/db/mysql.sock' exists!
    * Changing mysql zimbra user password
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
    **** PASSWORD CHANGE FAILED
    COMMAND: zmlocalconfig -e zimbra_server_hostname=savag123.homeftp.org
    java.net.UnknownHostException: savag123.homeftp.org: savag123.homeftp.org
    	at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
    	at com.zimbra.cs.localconfig.LC.(LC.java:138)
    	at com.zimbra.cs.localconfig.KnownKey.(KnownKey.java:39)
    	at com.zimbra.cs.localconfig.LocalConfig.verify(LocalConfig.java:331)
    	at com.zimbra.cs.localconfig.LocalConfig.(LocalConfig.java:186)
    	at com.zimbra.cs.localconfig.LocalConfig.readConfig(LocalConfig.java:354)
    	at com.zimbra.cs.localconfig.LocalConfig.(LocalConfig.java:359)
    	at com.zimbra.cs.localconfig.Main.main(Main.java:115)
    COMMAND: zmlocalconfig -e ldap_host=savag123.homeftp.org
    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 savag123.homeftp.org
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException Request: 1 cancelled)
    COMMAND: zmprov cd savag123.homeftp.org
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException Request: 1 cancelled)
    COMMAND: zmprov mcf zimbraDefaultDomainName savag123.homeftp.org
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException Request: 1 cancelled)
    COMMAND: zmprov ca admin@savag123.homeftp.org mywife zimbraIsAdminAccount TRUE
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException Request: 1 cancelled)
    COMMAND: zmprov aaa admin@savag123.homeftp.org postmaster@savag123.homeftp.org
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException Request: 1 cancelled)
    COMMAND: id=`zmprov gs savag123.homeftp.org | 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 Request: 1 cancelled)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException Request: 1 cancelled)
    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 savag123.homeftp.org
    COMMAND: zmlocalconfig -e av_notify_user=admin.savag123.homeftp.org
    COMMAND: zmlocalconfig -e av_notify_domain=
    COMMAND: zmlocalconfig -e snmp_notify=0
    COMMAND: zmlocalconfig -e smtp_notify=0
    COMMAND: zmlocalconfig -e snmp_trap_host=savag123.homeftp.org
    COMMAND: zmlocalconfig -e smtp_source=none
    java.net.UnknownHostException: savag123.homeftp.org: savag123.homeftp.org
    	at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
    	at com.zimbra.cs.localconfig.LC.(LC.java:138)
    	at com.zimbra.cs.localconfig.KnownKey.(KnownKey.java:39)
    	at com.zimbra.cs.localconfig.LocalConfig.verify(LocalConfig.java:331)
    	at com.zimbra.cs.localconfig.LocalConfig.(LocalConfig.java:186)
    	at com.zimbra.cs.localconfig.LocalConfig.readConfig(LocalConfig.java:354)
    	at com.zimbra.cs.localconfig.LocalConfig.(LocalConfig.java:359)
    	at com.zimbra.cs.localconfig.Main.main(Main.java:115)
    COMMAND: zmlocalconfig -e smtp_destination=none
    COMMAND: zmsnmpinit
    creating /opt/zimbra/conf/swatchrc
    COMMAND: zmprov ms savag123.homeftp.org zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException simple bind failed: savag123.homeftp.org:389)
    COMMAND: zmprov ms savag123.homeftp.org zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmp
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException Request: 1 cancelled)
    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=savag123.homeftp.org
    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=savag123.homeftp.org
    Getting CA Private Key
    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=savag123.homeftp.org
    Getting Private key
    COMMAND: zmcertinstall mailbox
    ** Importing server cert
    
    keytool error: java.lang.Exception: Failed to establish chain from reply
    COMMAND: zmtlsctl https
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException simple bind failed: savag123.homeftp.org: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 (savag123.homeftp.org)
    
    perl /opt/zimbra/bin/zmmon &
    
    RESPONSE: (Zimbra::Mon::serviceInfo)
    	host
    		ip                  141.158.32.121
    		name                savag123.homeftp.org
    java.net.UnknownHostException: savag123.homeftp.org: savag123.homeftp.org
    	at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
    	at com.zimbra.cs.localconfig.LC.(LC.java:138)
    	at com.zimbra.cs.localconfig.KnownKey.(KnownKey.java:39)
    	at com.zimbra.cs.localconfig.LocalConfig.verify(LocalConfig.java:331)
    	at com.zimbra.cs.localconfig.LocalConfig.(LocalConfig.java:186)
    	at com.zimbra.cs.localconfig.LocalConfig.readConfig(LocalConfig.java:354)
    	at com.zimbra.cs.localconfig.LocalConfig.(LocalConfig.java:359)
    	at com.zimbra.cs.localconfig.Main.main(Main.java:115)
    COMMAND: zmlocalconfig -s > .localconfig.save.11326
    COMMAND: zmprov gs savag123.homeftp.org > .zmprov.savag123.homeftp.org.save.11326
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException Request: 1 cancelled)
    COMMAND: zmprov gacf savag123.homeftp.org > .zmprov.gacf.save.11326
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException null)
    Last edited by bigkeith; 10-11-2005 at 01:26 PM.

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

    Default

    Looks like after you did install.sh -u LDAP was still running. Can you do a kill -9 on all zimbra processes after you do install.sh -u

    Also what does your /etc/hosts file look like?

  9. #9
    Join Date
    Oct 2005
    Posts
    7
    Rep Power
    10

    Default

    i had something going for a while but it seems i broke it i think i've narrowd it down to the hostname configuration for some reason my dyndns hostname wont work but when i used localhost.localdomain it worked. while i was in the web interface i tried to change some thing to savag123.homeftp.org and i restarted zimbra now its broke again.

    btw. i did stop all the processes and reinstalled like i mentioned above, so i will try to get my settings back to what i had when it was working.

    should zimbra be able to work with dyndns(dynamic dns services) or should i go get a static ip and host name before i go any further

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

    Default

    Zimbra should work as long as you have a valid /etc/hosts file set up. We've never tested this way in house but folks here in the community have reported it to work.

    We expect to see a real IP in the /etc/hosts file so if you host is dynamic itself and not at your router you may have trouble. Can you post your /etc/hosts file?

Similar Threads

  1. zmprov mc default zimbraFeatureNotebookEnabled TRUE
    By nbhanji in forum Installation
    Replies: 11
    Last Post: 04-29-2008, 11:39 AM
  2. Replies: 3
    Last Post: 07-19-2007, 03:00 AM
  3. Can not reach https://example.com:7017/zimbraAdmin
    By Max Ma in forum Installation
    Replies: 14
    Last Post: 03-31-2007, 10:14 AM
  4. SMTP SSL Problem
    By nexus in forum Installation
    Replies: 8
    Last Post: 03-15-2007, 08:26 AM
  5. Replies: 26
    Last Post: 02-12-2007, 07:23 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
  •