Stop the existing TNS listener.
Move the entries for the default listener in the existing listener.ora file to the listener.ora file in the Oracle Database 10g home.
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\Failsafe\SampleDB
The string value located in the preceding registry tree is:
Name: FS_sid
_DB
Value: ”sid,service_name,
database_name,parameter_file, disk_drive
”
Where:
sid
is the database instance (Example: OFS1)
service_name
is the database service name (Example: Sample.world)
database_name
is the name of the database (Example: OFS1DB)
parameter_file
is the name of the database parameter file (Example: S:\OFSDB\OFS1\PARAM\FS_INIT.ORA)
disk_drive
is the drive used by the sample database (Example S:)
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\Failsafe\SampleDB
for the standalone database is invalid.INST
_DB.Oracle_Home
\fs\fssvr\sample
or on the CD-ROM.