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
Can not wake PC which has no monitor, mouse or keypad
All Domain Users cannot connect to Exchange through the usual Outlook
network Extension
jvm default socket address
UAC Whilelist?
Create table statement inside a procedure
How to dump one MySQL record to put in another database?
sql isnull
there was a smtp communication problem with the recipient's email server
Sort elements after explode in php