Popular Posts
DataList paging //利用PageDataSource來做分頁功能 PagedDataSource pds = new PagedDataSource(); //將PageDataSource綁定SqlDataSource pds.DataSource = SqlDataSource1.Selec... ListSelectionListener & ItemListener import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Toolkit; import java.awt.event.ItemEvent; import java.awt.event.ItemL... LogonUser Function : impersonate a windows user // This sample demonstrates the use of the WindowsIdentity class to impersonate a user. // IMPORTANT NOTES:  // This sample can be run only ...
Stats
OracleDBConsole service start failed @ host IP | name changed.
When host ip, or name changes, an error occurs.

It occurs emctl start service error. To solve this error, step by flowing:
set oracle_sid=mes
mes is the sid of oracle.
emctl start dbconsole
Then, a message "OC4J Configuration issue. C:\oracle\product\10.1.0\Db_1/oc4j/j2ee/OC4J_DBConsole_10.1.3.121_mes not found." is displayed. Copy the fold %ORACLE_HOME%\product\10.1.0\Db_1\oc4j\j2ee\OC4J_DBConsole_cci-r3_mes to %ORACLE_HOME%\product\10.1.0\Db_1\oc4j\j2ee\OC4J_DBConsole_10.1.3.121_mes and try start service again.
emctl start dbconsole
Another message "EM Configuration issue. C:\oracle\product\10.1.0\Db_1/10.1.3.121_mes not found." is returned. Copy fold %ORACLE_HOME%\product\10.1.0\Db_1\cci-r3_mes to %ORACLE_HOME%\product\10.1.0\Db_1\10.1.3.121_mes. and restart service again. Service will start successfully.