无法使用“imp”导入转储
我正在尝试使用 imp
命令导入到 oracle 中,该命令的输出如下。
invincible:/home/invincible# imp
Import: Release 10.2.0.1.0 - Production on Thu Aug 12 22:19:00 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username: n_data
Password:
IMP-00058: ORACLE error 1034 encountered
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Linux Error: 13: Permission denied
IMP-00005: all allowable logon attempts failed
IMP-00000: Import terminated unsuccessfully
invincible:/home/invincible#
用户名和密码正确(我可以使用 sqldeveloper 连接)。我已授予 dba
对 n_data
的访问权限。所有环境变量均已设置(我在运行 env
之前运行了 oracle_env.sh
)。那么可能是什么问题呢?我在 debian 上运行 oracle。
I am trying to import into oracle using imp
command and the output of the command is as below.
invincible:/home/invincible# imp
Import: Release 10.2.0.1.0 - Production on Thu Aug 12 22:19:00 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username: n_data
Password:
IMP-00058: ORACLE error 1034 encountered
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Linux Error: 13: Permission denied
IMP-00005: all allowable logon attempts failed
IMP-00000: Import terminated unsuccessfully
invincible:/home/invincible#
user name and password are correct(I am able to connect using sqldeveloper). I have granted dba
access to n_data
. All the environment variables are set (I ran oracle_env.sh
before running env
). So what might be the problem? I am running oracle on debian.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看此博客文章:ORA-27123 : 无法附加到共享内存段。
它描述了与您相同的错误,并且问题是由于 oracle 可执行文件的权限设置不正确引起的。
这是上述博客文章的摘录:
阅读博客文章了解详细信息。
Check this blog post: ORA-27123: unable to attach to shared memory segment.
It describes same error as you have and problem was caused with incorrectly set permissions on oracle executable.
This is excerpt from the above blog post:
Read blog post for detailed information.
该错误表明它正在尝试连接到同一主机上不存在的实例。一般来说,我会说数据库实际上并未启动并运行,但如果您可以连接到 SQL Developer,则表明数据库已启动并运行。但请检查您是否在正确的机器上。
也可以尝试
SID 中可能存在一些杂散字符。如果你使用的是XE,你想看到
:XE:(大写,不混合或小写)
你尝试过吗
The error suggests it is trying to connect to an instance on the same host that isn't there. Generally I'd say the database isn't actually up and running, but if you can connect with SQL Developer, it suggests it is. But check you are on the correct machine.
Also try
There may be some stray character in the SID. If you are using XE, you want to see
:XE:
(in upper case, not mixed or lower)Have you tried