Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What needs to be changed if we change hostname in linux

AnjumShehzadSep 19 2007 — edited Sep 20 2007
Dear all,

I have a question and will appreciate for appropriate answer(s).

My machine name was lxcms120.cern.ch and Oracle 10g DB was running fine on it (listener, DB, Enterprise Manager). It is not a production system rather a test system.

Now, i changed its name to docms11.cern.ch

I change hostname in listener.ora & tnsnames.ora and listener started successfully.

I started db from sqlplus and it started without any complaints.

Now, when i tried to start Enterprise Manager (emctl start dbconsole), it didn't and return this error.

OC4J Configuration issue. /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_docms11.cern.ch_oralxcms120 not found.

Now, i know that when the machine name was initially lxcms120, it was /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_lxcms120.cern.ch_oralxcms120

and if i go to that directory, i could see OC4J_DBConsole_lxcms120.cern.ch_oralxcms120 but of course there is no OC4J_DBConsole_docms11.cern.ch_oralxcms120

My dbname instance is oralxcms120 and has nothing to do with hostname.

So, what is the solution to the problem. Moreover, are there any steps to do while changing hostname of the oracle database like in my case which i can follow to make all required changes.

Best regards,
Anjum
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 18 2007
Added on Sep 19 2007
5 comments
848 views