红联Linux门户
Linux帮助

oracle TNS-12560错误

发布时间:2008-06-02 00:04:55来源:红联作者:Juelong
我在linuxAS4上安装了oracle10g数据库,重启后报错

Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
Linux Error: 2: No such file or directory

我在网上仔细搜索了一下。找到了解决办法:

因为我在切换oracle用户的时候使用了su oracle命令:这个命令虽然能进oracle用户,但是真正的oracle环境变量是不起作用的。只能以su - oracle,才可以。我切换过来后,再启动,启动成功了。
文章评论

共有 1 条评论

  1. lanyun001 于 2008-06-04 10:50:48发表:

    老兄,我怎么说这篇文章这么眼熟,原来是从我博客上搬来的啊,下次搬的时候麻烦给润色一下。