› Fóruns › Banco de dados Oracle › inicando o dbconsole Oracle 11g › inicando o dbconsole Oracle 11g
Com qual linha de comando vc á subindo o EM?
Achei algo relacionado no Metalink..:
SymptomsEnterprise Manager, Database Control cannot start.
Getting error:
Unable to determine local host from URL
EMD_URL=http://%EM_SERVLET_PORT%/emd/main/
Note: in the above error will be the correct hostname for the database host.
dbconsole cannot be started from either the command line, using emctl start dbconsole or using the service.
The file emdb.nohup shows the error:
ormi port value <rmi-server port= is erroneous.
CauseThe file emctl.bat, which gets run to start dbconsole, is missing values for the parameters HOST_SID_OFFSET_ENABLED and CONSOLE_CFG.
These parameters tell emctl that this is a dbconsole install and to use the hostname_sid offset for the configuration files.
When these parameters are blank/empty, emctl looks at the standard locations for the configuration files, i.e. /sysman and /oc4j/j2ee/OC4J_DBCONSOLE. This causes
dbconsole to fail.
SolutionTo implement the solution, please execute the following steps:
1.edit the file /bin/emctl.bat and modify the parameters HOST_SID_OFFSET_ENABLED and
CONSOLE_CFG to read:
CONSOLE_CFG=dbconsole
HOST_SID_OFFSET_ENABLED=host_sid
NOTE: The string ‘host_sid’ should be exactly that string, i.e. do not substitute the hostname and sid of the database. This informs dbconsole to run in a certain mode and is not a pointer to a specific _. To be clear, the line should read:
HOST_SID_OFFSET_ENABLED=host_sid
and NOT, for example,
HOST_SID_OFFSET_ENABLED=myserver.mydomain.com_orcl