Symptom
- While configuring Email server in IQ cockpit ( Cockpit Server 4 SP08 PL01 ) from ( IQ 16 sp08 pl30 ) via General Settings -> Email -> Email server name .... ( Enter SMTP server )
Following error is seen on cockpit window
=========
There was an error updating the e-mail target in the repository.
javax.management.RuntimeOperationsException : Exception invoking method validateSMTPServer abc.def.com
Connection attempt with abc.def.com SMTP Server failed. - Ensure that the SMTP server is up and running. javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client.
=========
In agent.log, following error is seen
=========
2015-05-14 13:55:40,794 [ERROR] [alert.AlertService ] [scc-ui::80639] - smtp://abc.def.com Connection attempt with smtp://abc.def.com SMTP Server failed. Please ensure that the SMTP server is up and running.
2015-05-14 13:55:50,062 [ERROR] [alert.AlertService ] [scc-ui::80687] - abc.def.com Connection attempt with abc.def.com SMTP Server failed. Please ensure that the SMTP server is up and running.
========= - Eliminating cockpit from picture and see whether first user can get email by using command line on cockpit host as shown following example, shows email is received.
---
$ mailx -S smtp=your_smtp_host -S from=CockpitServer@sap.com -s "subject" firstname.lastname@sap.com <<EOM
? Hello , This is an test message using mailx and smtp from command line
? EOM
--- - Why is there an error while adding smtp server when manual attempt to talk to smtp server from same host works fine and email is received ?
Read more...
Environment
SAP IQ 16
Product
SAP IQ 16.0
Keywords
cockpit, validateSMTPServer, authentication, mechansims , KBA , BC-SYB-IQ , Sybase IQ , Bug Filed
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview