Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: OEM Managenet Server autostart on W2K
That's the only way...
Enterprise Manager Service Startup Fix
By default Enterprise Manager service starts before Oracle service
starts. This causes EM not to restart when the machine is started. To
fix this problem we need to add dependencies to the EM service, so that
it waits for Oracle services to initialize.
Use “regedt32”, regedit will not work!
Create new value DependOnService data type REG_MULTI_SZ in
HKLM\System\CurrentControlSet\Service\OracleManagementServer.
Enter the following services as dependents:
OracleServiceSID OracleOraHome81TNSListener OracleOraHome81Agent OracleServiceSID
The actual values will look like this:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleoemManagemen
tServer]
"DependOnService"=hex
(7):4f,72,61,63,6c,65,53,65,72,76,69,63,65,53,43,4f,52,45,\
00,4f,72,61,63,6c,65,4f,72,61,48,6f,6d,65,38,31,54,4e,53,4c,69,73,74,65, 6e,\
65,72,00,4f,72,61,63,6c,65,4f,72,61,48,6f,6d,65,38,31,41,67,65,6e,74,00,
4f,\
72,61,63,6c,65,53,65,72,76,69,63,65,53,43,4f,52,45,00,00
In article <nzUVOngHTOz7=RIlYE30YRW1uMXY_at_4ax.com>,
Paul Moore <paul.moore_at_uk.origin-it.com> wrote:
> I'd like to set my OEM Management server to autostart on Windows 2000.
> However, if I do so, the service fails to start because it cannot find
> the repository. The reason for this is easy - the repository is on a
> database on the same machine, which is also set to autostart. The OEM
> server starts more quickly than the database, so the database isn't
> ready when the management server needs it.
>
> Is there a way of setting this up to work? I understand that it is
> possible to set services up with dependencies on one another. However,
> for some reason this is not done for the OEM server and its
> repository. I'd really like to get this set up properly, as at the
> moment I have to start the management server manually after each
> reboot :-(
>
> Thanks,
> Paul Moore
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Nov 17 2000 - 15:20:03 CST