1 Firstly,I try to install oracle 11g in Windows XP SP2. Although I setup theloopback adaptor correctly in step #4, the em can’t be configured andstarted successfully. I tried the command in step #2 and #3 so manytimes after installation, but it failed finally. At last I resorted toinstalling oracle 10g in my windows from step #4.
2 Oracle 支持在具有 DHCP 分配的 IP 地址的系统上进行安装
The check result from Oracle installer is like this,
配置dbconsole的步骤
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
重新配置dbconsole的步骤
emca -repos drop
emca -repos create
emca -config dbcontrol db
emctl start dbconsole
3 If the em console service can not be started normally, please try to recreate the EM console,
3.1 emctl status dbconsole
3.2 emca -repos dropemca -repos createemca -config dbcontrol dbemctl start dbconsole
3.3 emctl stop dbconsoleemctl start dbconsole
4 How to install the oracle 10g in XP?
4.1 Install DHCP.
4.1.1 From the Startmenu, select Control Panel.
4.1.2 Double-click Add Hardwareto start the Add Hardware wizard.
4.1.3 On the Welcome screen, click Next.
4.1.4 On the Is the hardware connected? screen, select Yes, I have already connected the hardware, and click Next.
4.1.5 On the The following hardware is already installed on your computer screen, select Add a new hardware device, and click Next.
4.1.6 On the The wizard can help you install other hardware screen, select Install the hardware that I manually select from a list, and click Next.
4.1.7 From the list, select the type of hardware you are installing screen, select Network adapters, and click Next.
4.1.8 On the Select Network Adapter screen, make the following selections:
4.1.8.1 Manufacturer: select Microsoft.
4.1.8.2 Network Adapter: select Microsoft Loopback Adapter.
4.1.9 Click Next.
4.1.10On the The wizard is ready to install your hardware screen, click Next.
4.1.11On the Completing the Add Hardware Wizard screen, click Finish.
4.1.12If you are using Windows 2003, restart your computer.
4.1.13Right-click My Network Placeson the desktop and choose Properties. This displays the Network Connections control panel.
4.1.14Right-click the connection that was just created. This is usually named Local Area Connection 2. Choose Properties.
4.1.15On the Generaltab, select Internet Protocol (TCP/IP), and click Properties
4.1.16In the Properties dialog, do the following:
4.1.16.1 IPAddress: Enter a non-routable IP for the loopback adapter. Oraclerecommends the following non-routable addresses - 10.10.10.1
4.1.16.2 2.Subnet mask: Enter 255.255.255.0.
4.1.16.3 3.Leave all other fields empty.
4.1.16.4 4.Click OK.
4.1.17Click OK.
4.1.18Click OK in the Local Area Connection 2 Properties dialog.
4.1.19Restart the computer.
4.2 Edit file C:\WINDOWS\system32\drivers\etc\host as,
4.2.1 10.10.10.1 robert-cn.cn.oracle.com robert-cn
4.2.2 127.0.0.1 localhost
4.3 Open System Properties, and select the Computer Name tab. In Full computer name, make sure you see the hostname is robert-cn.cn.oracle.com which is the same one with previous step. The short name should be robert-cnwhen you click the change button.
4.4 Then install the oracle.
4.5 The console url is https://localhost:1158/em/console/aboutApplicationyou can get the page by command emctl status dbconsole.
5 Atthis time if you access the em console, you can login correctly. Butwhen you view some information, it blows up with some exception likethis. java.lang.Exception: Exception in sending Request :: null
5.1 Open the file db_1/sysman/admin/supportedtzs.lst.
5.2 Findthe time zone of your OS or the one one hour later than your OS timezone. For example, my OS’s Timezone is (GMT+08:00)Beijing, ChongQing,HongKong, Wulumuqi, so I need to try these with GMT+08:00 or GMT+07:00
5.3 Put their name in file db_1/HOSTNAME_orcl/sysman/config/emd.properties like this.
agentTZRegion=Asia/Shanghai or agentTZRegion= Asia/Jakarta
5.4 Then try these commands.