Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Failed to send test email on oem console

Status
Not open for further replies.

lweng

Technical User
May 18, 2001
113
US
Hi, I'm trying email notification from oem console, but failed. Here is what I did step by step
1) System > Configure SMTP Gateway

SMTP Mail Gateway: mail@yahoo.com
Sender's SMTP Mail Address: xds

2) System > Notification > Email > Email Preferences

Reciver's Email: xxx@yahoo.com
Subject Prefix: dbs

3) press "TEST'

result: Failed to send test email

4) Go to c:\oracle\ora81\sysman\log\oms.nohup check log

OEMCTRL for Windows NT: Version 2.2.0.0.0 Copyright (c) 1998, 2000, Oracle Corporation. All rights reserved. Starting the Oracle Management Server...VXA-3008 : Starting OMS Services, Wait.The OMS is now started and ready.
java.net.SocketException: connect at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:282)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:124)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:111)
at java.net.Socket.(Socket.java:221)
at java.net.Socket.(Socket.java:89)
at oracle.sysman.vdm.VdmSMTPSession.connect(VdmSMTPSession.java:192)
at ...(VdmSMTPSession.java:681)
at ...(VdmEmailService.java:145)
at ...(VdmNotificationManager.java:3163)
at ...(VdmNotificationManager.java:2963)
at ...(VdvUserImpl.java:5839)
at ...(_tie_VdvUser.java:1842)
at ...(_VdvUserImplBase.java:1660)
at ...(_VdvUserImplBase.java:750)
at ...(SkeletonDelegateImpl.java:129)
at ...(GiopProtocolAdapter.java:290)
at ...(GiopProtocolAdapter.java:462)
at ...(ThreadPoolDispatcher.java:155)
at ...(WorkerThread.java:146)
[Thread-25][2001-8-12:20:12:39:268] java.net.SocketException: connect
exception VdmDeliveryException{wstring reason="Notification to the SMTP server failed

\nconnect.";}
at ...(VdmEmailService.java:155)
at ...(VdmNotificationManager.java:3163)
at ...(VdmNotificationManager.java:2963)
at ...(VdvUserImpl.java:5839)
at ...(_tie_VdvUser.java:1842)
at ...(_VdvUserImplBase.java:1660)
at ...(_VdvUserImplBase.java:750)
at ...(SkeletonDelegateImpl.java:129)
at ...(GiopProtocolAdapter.java:290)
at ...(GiopProtocolAdapter.java:462)
at ...(ThreadPoolDispatcher.java:155)
at ...(WorkerThread.java:146)
[Thread-25][2001-8-12:20:12:39:348] exception VdmDeliveryException{wstring reason="Notification to the SMTP server failed \nconnect.";}
oracle.sysman.vdm.VdmEmailServerException: The SMTP Server could not be connected to.
at ...(VdmNotificationManager.java:3182)
at ...(VdmNotificationManager.java:2963)
at ...(VdvUserImpl.java:5839)
at ...(_tie_VdvUser.java:1842)
at ...(_VdvUserImplBase.java:1660)
at ...(_VdvUserImplBase.java:750)
at ...(SkeletonDelegateImpl.java:129)
at ...(GiopProtocolAdapter.java:290)
at ...(GiopProtocolAdapter.java:462)
at ...(ThreadPoolDispatcher.java:155)
at ...(WorkerThread.java:146)

5) Test email outside the Enterprise Manager product to determine if the actual problem is with the SMTP

C:\> telnet mail@yahoo.com
Connecting To mail@yahoo.com...Could not open a connection to host on port 25: Connect failed
Looks the problem is outside of oem.

6) Download patch EM_22_1180760
Unzipped it to c:\temp

7) use OUI to apply it, I switched the soure path to c:\temp\EM_22_1180760\, destination dir

c:\orahome\ but the result is:

'There was a problem opening the staging area. Please make sure the 'Source' you have specified is valid.'

No idea why can't apply the patch and what should do next, please help. Thanks.
 
Yup, when you configure the smtp gateway it usually does not look like an email address, you have xxx"yahoo.com, this is an email address not an smtp gateway.

Cheers,

LotekDBA
 
Thanks for your reply, how to find an smtp gateway for yahoo?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top