I created listener name called mohan with port 1528 and map the database services click add database ,and assigns the global database name is instance name (demo),sid is instance name (demo),corrosponding home directory and save the network configuration.
when start the listener from command prompt,i got the below message.I was surprising thing where i made mistake because i never faced this type of error.Any one what cause might could be.And giving my listener.ora file configuration file below
TNSLSNR for 32-bit Windows: Version 22.214.171.124.0 - Production
System parameter file is D:\Oracle\Ora81\network\admin\listener.ora
Log messages written to D:\Oracle\Ora81\network\log\mohan.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mohan-2k.nirbeeja.com)(P
TNS-01101: Could not find service name
NNC-00405: network failure
i don't see much problem with your listener.ora.
Below is the sample listener.ora for one of my test database.
My listener name is test.
in u'r file under the sid_list_mohan i don't see th Oracle_home parameter.
Anyawy i don't think that is the only problem.
Just check if u can loginto the database using the service name demo from sql plus.also try giving th ip address in the host parameter.
let me know if this doen't work