Home » RDBMS Server » Enterprise Manager » EM control (10.2.0.3)
EM control [message #283197] Mon, 26 November 2007 06:16 Go to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
setting the PATH=%ORACLE_HOME\bin;%PATH%
ORACLE_SID=orcl

emctl start dbconsole

fails with

the specified service does not exist as an installed service

how do you start the dbconsole.

using service starts but

emctl status dbconsole after 5 minutes show service not running.

any help
Re: EM control [message #283200 is a reply to message #283197] Mon, 26 November 2007 06:19 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

recreate EM repository.
Re: EM control [message #283204 is a reply to message #283200] Mon, 26 November 2007 06:25 Go to previous messageGo to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
How do i know its using a repository.

It is EM database control and created when installing the oracle database using dbca - it did not show that it was using a repository.
Re: EM control [message #283206 is a reply to message #283204] Mon, 26 November 2007 06:28 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

EM database control = EM repository.

Try to recreate EM repository or post exact output when you trying to start em dbconsole.

Re: EM control [message #283212 is a reply to message #283197] Mon, 26 November 2007 06:35 Go to previous messageGo to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
When i start the service from the control panel, the service starts ok

emctl status dbconsole

service is running

after 5 minutes

emctl status dbconsole

service is not running.

why is the service starting and stopping. Checking from the control panel shows its started.
Re: EM control [message #283219 is a reply to message #283212] Mon, 26 November 2007 06:42 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Ok,
Did you check log files ?
1. emagent.trc
2. emomos.trc
Located: $ORACLE_HOME/hostname_sid/sysman/log
Re: EM control [message #283226 is a reply to message #283197] Mon, 26 November 2007 06:56 Go to previous messageGo to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
Yes,

emagent.trc

snmehl_connect: connect failed to (EPPC-PN-01:5500) No connection could be made because the target machive actively refuesd it

(error = 10061) ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://EPPC-PN-01:5500/em/upload/: retstatus=-1


emoms.trc

app.Contextinitializer contextinitialized.272 - Intergration class not found:
oracle.sysman.ocs.mntr.target.OCSWIRELESSINTG 2007-11-26 12:39 856 [orion Luncher] error

--

The dbconsole service starts and you are able to open the EM login page, log in successfull but after 5minutes the service stops and the page erros.


Re: EM control [message #283231 is a reply to message #283226] Mon, 26 November 2007 07:13 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Your log file is correct, nothing is wrong.

check windows event viewer at administrative tools(In windows OS)

otherwise just RECREATE EM repository.
Re: EM control [message #283246 is a reply to message #283197] Mon, 26 November 2007 08:05 Go to previous messageGo to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
I will check event viewer if so try to recreate the EM repository.
Re: EM control [message #283272 is a reply to message #283197] Mon, 26 November 2007 10:18 Go to previous messageGo to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
in the file emdb.nohup

i'm getting the following errors when the dbconsole service starts and after some minutes dies (stops running)
..

EMAgent has exited due to an internal error
EMAgent has exited due to an internal error ---

DBConsole internal stop. NO OC4J admin passwd hence hard stop..
... commiting process death
... Exited due to thrash..

any help..



Re: EM control [message #283274 is a reply to message #283272] Mon, 26 November 2007 10:21 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

EMAgent has exited due to an internal error
That is why i told you just RECREATE EM repository.
Re: EM control [message #283283 is a reply to message #283274] Mon, 26 November 2007 10:36 Go to previous messageGo to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
Hi this is for a RAC database 2 nodes.

do i recreate the repository with the following
commands;

%ORACLE_HOME%\bin\emca -config dbcontrol db -repos recreate

on the one node where dbconsole runs from?
Re: EM control [message #283289 is a reply to message #283283] Mon, 26 November 2007 10:44 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Actually I don't have exprience in RAC but yes your em recreate statement is correct.
If there is separate em repository for each node then you can recreate. and if you have test database then first try on it.

Re: EM control [message #283294 is a reply to message #283197] Mon, 26 November 2007 10:53 Go to previous messageGo to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
Will this command affect the instance on which the dbconsole service is running from? We only have the dbconsole on one node. i.e will it stop the instance services. Cause there is no separate database keeping the repository? im scared this may stop the instance!
Re: EM control [message #283354 is a reply to message #283294] Mon, 26 November 2007 22:33 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

im scared this may stop the instance!
No,
EM dbconsole services and Database Services is separate.

YOu must stop dbconsole services and recreate.
there is no impact on instance/database service.
Re: EM control [message #283455 is a reply to message #283354] Tue, 27 November 2007 03:46 Go to previous messageGo to next message
mwansalovewell
Messages: 71
Registered: October 2007
Location: uk
Member
What about recreating the repository? is the EM repository in the instance. dbconsole is a separate service but what about the repository.
Re: EM control [message #283504 is a reply to message #283455] Tue, 27 November 2007 06:03 Go to previous message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

dbconsole service and repository is not separate.

whenever you want to create/recreate/drop EM repository you have to first stop their services and that is "dbconsole" services
Previous Topic: what is sysman default password?
Next Topic: Export/Import using OEM in 10g
Goto Forum:
  


Current Time: Tue Apr 16 07:57:22 CDT 2024