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
Primary hard drive not showing in computer management in Windows &
Client printing via remote desktop and ts easy print to windows server 2008 document loses left margin
ESXi and Acronis Recovery
Datediff criteria in a query
Is there a way to make “ShellExecuteEx()” work from a Windows Service application?
Looking for a directshow webcam capture sample
% operation in sybase and MSSQL
how to add 2 minutes to timestamp in Oracle
Error while installing Exchange 2007 SP2
Media Manager in Joomla 1.5.18 will not let me browse or upload