Microsoft
Software
Hardware
Network
Question : Failed to allocate port error when configuring EM (Oracle 11g)
Experts,
I'm having some issues when I try to configure EM (see log below)
./emca -config dbcontrol db -repos create
on 11g.
I think part of the problem is that the Oracle instance was created with a host name of <server>.domain.com but this server + domain name does not resolve. The /etc/hosts file contains an entry for IP address - server name.
Any suggestions?
Thanks!
Jun 2, 2010 1:35:02 PM oracle.sysman.emcp.util.Po
rtManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Jun 2, 2010 1:35:02 PM oracle.sysman.emcp.util.Po
rtManager markAllUsedPorts
CONFIG: Marking Agent port: null from /data/disk1/app/oracle/pro
duct/11.2.
0/diagnost
ics_db/sys
man/config
/emd.prope
rties
Jun 2, 2010 1:35:02 PM oracle.sysman.emcp.util.Po
rtManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Jun 2, 2010 1:35:02 PM oracle.sysman.emcp.util.Fi
leUtil getProperties
CONFIG: Error reading file /data/disk1/app/oracle/pro
duct/11.2.
0/diagnost
ics_db/ins
tall/stati
cports.ini
Jun 2, 2010 1:35:03 PM oracle.sysman.emcp.EMConfi
g perform
SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
Refer to the log file at /data/disk1/app/oracle/cfg
toollogs/e
mca/ba/emc
a_2010_06_
02_13_34_3
7.log for more details.
Jun 2, 2010 1:35:03 PM oracle.sysman.emcp.EMConfi
g perform
CONFIG: Stack Trace:
oracle.sysman.emcp.excepti
on.EMConfi
gException
: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
at oracle.sysman.emcp.EMDBPre
Config.che
ckPorts(EM
DBPreConfi
g.java:268
2)
at oracle.sysman.emcp.EMDBPre
Config.per
formConfig
uration(EM
DBPreConfi
g.java:864
)
at oracle.sysman.emcp.EMDBPre
Config.inv
oke(EMDBPr
eConfig.ja
va:282)
at oracle.sysman.emcp.EMDBPre
Config.inv
oke(EMDBPr
eConfig.ja
va:195)
at oracle.sysman.emcp.EMConfi
g.perform(
EMConfig.j
ava:250)
at oracle.sysman.emcp.EMConfi
gAssistant
.invokeEMC
A(EMConfig
Assistant.
java:589)
at oracle.sysman.emcp.EMConfi
gAssistant
.performCo
nfiguratio
n(EMConfig
Assistant.
java:1448)
at oracle.sysman.emcp.EMConfi
gAssistant
.statusMai
n(EMConfig
Assistant.
java:573)
at oracle.sysman.emcp.EMConfi
gAssistant
.main(EMCo
nfigAssist
ant.java:5
21)
Jun 2, 2010 1:35:03 PM oracle.sysman.emcp.EMConfi
g restoreOuiLoc
Answer : Failed to allocate port error when configuring EM (Oracle 11g)
here is one way you can try:
if (Request.Url.ToString().Co
ntains("/d
ocs/"))
{
docsTab.CssClass = "docs";
}
Random Solutions
LINQ DISTINCT LIST<LIST<INT>>
Finding the source of a variable used by a function
A lot of clients are not chown on the console in WSUS. The logs on the clients show the updates are being received and installed and its all installing fine. Just the console cannot see these computer
How to edit pdf in Adobe Pro 9
read pdf from blob column write to file
Best wireless routers 2010 - Linksys E3000 VS Belkin Play Max Wireless Router VS ASUS RT-N16 Wireless-N
Outlook 2007 - export and import signature settings
How to read the last line of a Text file
Access Error Code 2302
Problem with databound ComboxColumn in a Databound DatagridView. HELP :-(