EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
438458Sep 10 2008 — edited Sep 12 2008Hi,
I have installed OEM 10.2.0.2 in Redhat Linux 4 and I have this issue.(None of the agents are displayed in the OEM home page). So i tried debugging and when I tried
<AGENT HOME>/bin> ./emctl upload
I get this error.
I tried
# $Agent_home/emctl stop agent
1. rm -r <AGENT_HOME>/sysman/emd/state/*
2. rm -r <AGENT_HOME>/sysman/emd/collection/*
3. rm -r <AGENT_HOME>/sysman/emd/upload/*
4. rm <AGENT_HOME>/sysman/emd/lastupld.xml
5. rm <AGENT_HOME>/sysman/emd/agntstmp.txt
6. rm <AGENT_HOME>/sysman/emd/blackouts.xml
7. rm <AGENT_HOME>/sysman/emd/protocol.ini
# $Agent_home/emctl clearstate agent
Then I did
$OMS_home/bin/emctl secure unlock,
I got
Oracle Enterprise Manager 10g Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Checking the security status of the OMS... Done.
OMS host *:4890 already in unlock mode.
When I started the agent, I ran the status, I get
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
-----
Agent Version : 10.2.0.1.0
OMS Version : 10.2.0.1.0
Protocol Version : 10.2.0.0.0
Agent Home : /u01/app/oracle/OEMSep4th/agent10g
Agent binaries : /u01/app/oracle/OEMSep4th/agent10g
Agent Process ID : 20650
Parent Process ID : 20634
Agent URL : [https://USSLTCSA5025.xxx.com:3872/emd/main/]
Repository URL : [https://ussltcsa5025.xxx.com:4898/em/upload]
Started at : 2008-09-09 08:42:02
Started by user : oracle
Last Reload : 2008-09-09 08:42:02
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 11
Size of XML files pending upload(MB) : 6.85
Available disk space on upload filesystem : 35.82%
Last attempted heartbeat to OMS : 2008-09-09 08:42:07
Last successful heartbeat to OMS : unknown
-----
Agent is Running and Ready.
My questions
1. The repository url port([https://ussltcsa5025.xxx.com:4898/em/upload]) and the oms port is not the same. Do this need to be same?
2. Also the domain name "ussltcsa5025" is in capital in the hosts file, does this matter.
3. I tried changing the repository value in emd.properties in <AGENT HOME>/sysman/config folder to the same port, but when i run the secure agent command, the changes are reverted back.
--------------
I am pasting the emagent.trc file
2008-09-09 08:47:17 Thread-108800928 ERROR upload: Error in uploadXMLFiles. Trying again in 900.00 seconds or earlier.
2008-09-09 08:47:28 Thread-108800928 ERROR upload: Error in uploadXMLFiles. Trying again in 900.00 seconds or earlier.
2008-09-09 08:47:37 Thread-3076520864 ERROR upload: Error in uploadXMLFiles. Trying again in 900.00 seconds or earlier.
2008-09-09 08:47:37 Thread-108800928 ERROR ssl: 18: Common Name = "USSLTCSA5025.xxx.com" Does not Match Hostname = "ussltcsa5025.xxx.com"
2008-09-09 08:47:37 Thread-108800928 ERROR http: 18: Unable to initialize ssl connection with server, aborting connection attempt
2008-09-09 08:47:37 Thread-108800928 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://ussltcsa5025.xxx.com:4898/em/upload: retStatus=-1
2008-09-09 08:47:37 Thread-108800928 ERROR ssl: 17: Common Name = "USSLTCSA5025.xxx.com" Does not Match Hostname = "ussltcsa5025.xxx.com"
2008-09-09 08:47:37 Thread-108800928 ERROR http: 17: Unable to initialize ssl connection with server, aborting connection attempt
2008-09-09 08:47:37 Thread-108800928 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://ussltcsa5025.xxx.com:4898/em/upload: retStatus=-1
2008-09-09 08:47:44 Thread-108800928 ERROR upload: Error in uploadXMLFiles. Trying again in 900.00 seconds or earlier.
2008-09-09 08:48:07 Thread-108800928 ERROR ssl: 7: Common Name = "USSLTCSA5025.xxx.com" Does not Match Hostname = "ussltcsa5025.xxx.com"
2008-09-09 08:48:07 Thread-108800928 ERROR http: 7: Unable to initialize ssl connection with server, aborting connection attempt
2008-09-09 08:48:07 Thread-108800928 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://ussltcsa5025.xxx.com:4898/em/upload: retStatus=-1
2008-09-09 08:48:07 Thread-108800928 ERROR ssl: 7: Common Name = "USSLTCSA5025.xxx.com" Does not Match Hostname = "ussltcsa5025.xxx.com"
2008-09-09 08:48:07 Thread-108800928 ERROR http: 7: Unable to initialize ssl connection with server, aborting connection attempt
-------------
In the same file I also got
2008-09-09 08:35:26 Thread-75430816 WARN vpxoci: OCI Error -- ErrorCode(1017): ORA-01017: invalid username/password; logon denied
SQL = " OCISessionBegin"...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=USSLTCSA5025.xxx.com)(PORT=1521))(CONNECT_DATA=(SID=oemdataN)))
2008-09-09 08:35:26 Thread-75430816 ERROR vpxoci: ORA-01017: invalid username/password; logon denied
2008-09-09 08:35:26 Thread-75430816 WARN vpxoci: Login 0x808ff38 failed, error=ORA-01017: invalid username/password; logon denied
2008-09-09 08:35:26 Thread-75430816 ERROR TargetManager: Exception in computing dynamic properties of {oemdataN_USSLTCSA5025.xxx.com, oracle_database },decideIncludeDB::ORA-01017: invalid username/password; logon denied
- skipping category property
2008-09-09 08:35:26 Thread-75430816 DEBUG TargetManager: Computing dynamic property GetDBVersion of oracle_database,oemdataN_USSLTCSA5025.xxx.com
2008-09-09 08:35:26 Thread-75430816 WARN vpxoci: OCI Error -- ErrorCode(1017): ORA-01017: invalid username/password; logon denied
SQL = " OCISessionBegin"...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=USSLTCSA5025.xxx.com)(PORT=1521))(CONNECT_DATA=(SID=oemdataN)))
2008-09-09 08:35:26 Thread-75430816 ERROR vpxoci: ORA-01017: invalid username/password; logon denied
------------------------------------------
But when I use the sysdba and the password, I am able to connect.
Am I missing some thing? Any help is greatly appreciated.
Thanks.