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

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 11-28-2005, 03:57 PM
Advanced Member
 
Posts: 201
Default lost connection after STARTTLS

I have been tring to use an IMAP client to connect to zimbra and send emails but it is broken and i keep getting this in my logs.

This is a fresh install of M2 on fedora core 3 but i forgot to enable https during the initial setup this has caused me some problems one being that i can login from http and https undesirable and this new problem.

Seems there is a certificate missing or something can i create one without doing a reinstall? Or should i reinstall and hopfully fix both problems? If i do reinstall can i select no to upgrade and then yes to save users and mailboxes?



Nov 28 08:43:56 shoemasters postfix/smtpd[14794]: initializing the server-side TLS engine
Nov 28 08:43:56 shoemasters postfix/smtpd[14794]: warning: cannot get certificate from file /opt/zimbra/conf/smtpd.crt
Nov 28 08:43:56 shoemasters postfix/smtpd[14794]: warning: TLS library problem: 14794:error:02001002:system library:fopen:No such file or directory:bss_file.c:259:fopen('/opt/zimbra/conf/smtpd.crt','r'):
Nov 28 08:43:56 shoemasters postfix/smtpd[14794]: warning: TLS library problem: 14794:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:261:
Nov 28 08:43:56 shoemasters postfix/smtpd[14794]: warning: TLS library problem: 14794:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:758:
Nov 28 08:43:56 shoemasters postfix/smtpd[14794]: cannot load RSA certificate and key data
Nov 28 08:43:56 shoemasters postfix/smtpd[14794]: connect from digi.spots.ab.ca[209.115.173.9]
__________________
Computer King

http://www.computerking.ca

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/lin...affiliates.htm
Reply With Quote
  #2 (permalink)  
Old 11-28-2005, 04:57 PM
Zimbra Employee
 
Posts: 4,792
Default

Did you try to just recreate the certs?
Reply With Quote
  #3 (permalink)  
Old 11-28-2005, 06:32 PM
Advanced Member
 
Posts: 201
Default

I recreated the certs it broke some more things and now get this error when trying to start zimbra using zmcontrol start

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException shoemasters.com:389)

Also i got some java errors that according to this post
certs

are ok but one error during about line 47 print or something during the command zmtlsctl https


Kevin if i do an upgrade using the the .install.sh are my chances pretty good? ie do not want to loose users emails again however it has only been a couple of days?

Do you u think upgrade will fix and my http and https prob or is this an error you have come across before?
__________________
Computer King

http://www.computerking.ca

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/lin...affiliates.htm

Last edited by rmvg; 11-28-2005 at 06:39 PM..
Reply With Quote
  #4 (permalink)  
Old 11-28-2005, 06:36 PM
Zimbra Employee
 
Posts: 4,792
Default

install.sh can do an overinstall. You could try that and just let it reinstall the pkgs but keep the data.
Reply With Quote
  #5 (permalink)  
Old 11-28-2005, 07:40 PM
Advanced Member
 
Posts: 201
Default

does that mean click yes or no to upgrade?
__________________
Computer King

http://www.computerking.ca

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/lin...affiliates.htm
Reply With Quote
  #6 (permalink)  
Old 11-28-2005, 07:41 PM
Zimbra Employee
 
Posts: 4,792
Default

yes for upgrade.
Reply With Quote
  #7 (permalink)  
Old 11-28-2005, 08:26 PM
Advanced Member
 
Posts: 201
Default

the setup cannot seem to use port 389 for ldap and will not let me set to 389 which causes me to exit without changes

All this kinda makes sense cause it relates to the error i am getting while tring to start/stop zimbra seems like neither zimbra or ldap are running.

[root@shoemasters zcs]# ps -aux |grep ldap
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
root 10182 0.0 0.1 3728 644 pts/1 S+ 13:18 0:00 grep ldap

[root@shoemasters zcs]# ps -aux |grep zimbra
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
root 10254 0.0 0.1 3728 644 pts/1 S+ 13:24 0:00 grep zimbra
__________________
Computer King

http://www.computerking.ca

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/lin...affiliates.htm
Reply With Quote
  #8 (permalink)  
Old 11-28-2005, 08:38 PM
Advanced Member
 
Posts: 201
Default

I tried using a different port but that doesnt work either

Please enter the ldap server port 10389
Checking ldap on localhost:10389...FAILED
__________________
Computer King

http://www.computerking.ca

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/lin...affiliates.htm
Reply With Quote
  #9 (permalink)  
Old 11-28-2005, 10:48 PM
Zimbra Employee
 
Posts: 2,103
Default upgrade installs

On an upgrade, it attempts to start ldap, and connect to it to verify that your ldap host/passwd/port are correct.

If ldap isn't starting, the re-install won't work. Let me check on the cert creation error, and post another fix.
Reply With Quote
  #10 (permalink)  
Old 11-28-2005, 10:55 PM
Zimbra Employee
 
Posts: 2,103
Default cert recreation

The print error in zmcertinstall is complaining that the certificate file can't be found - so let's try recreating your certs.

Run, as zimbra:
sh -x bin/zmcreatecert

and post the output.
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.