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.
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:)
INST_DB.Oracle_Home\fs\fssvr\sample or on the CD-ROM.