清理注册表后导致Oracle listener起不来
a.现象
LSNRCTL> start
启动tnslsnr:请稍候...
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/6810355c2f78c12e91b7997a8e8c583a.gif)
检查windows的services发现OracleOraHome92TNSListener中“可执行文件的路
径”内容为空。
-->运行regedit,发现HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001
/Services/OracleOraHome92TNSListener比
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/OracleServiceLIU
(SID)少了一个可扩充字符串值ImagePath
-->添加可扩充字符串值ImagePath,数值数据:e:/oracle/ora92/bin/TNSLSNR
($oracle_home/bin/TNSLSNR)
再启动lsnrctl start就可以了。