- 浏览: 164216 次
- 性别:
- 来自: 福建
文章分类
最新评论
-
guojiew:
只是剪切了一部分代码出来,看的真是脑袋大。
Spring + ActiveMQ 实现 -
2047699523:
spring mvc demo教程源代码下载:http://w ...
Spring MVC 注解配置 -
warldge_:
Mac安装Oracle完整傻瓜式教程 比任何一个教程都好 ht ...
Mac OS X (Intel) 上安装 Oracle 10g -
u010100704:
你的代码对我一点价值都没有。这是我的真实回答;
Spring MVC 注解配置 -
zhzhong18:
Spring MVC 注解配置
首先到 Oracle官方
http://www.oracle.com/technology/tech/macos/index.html
下载
Oracle Database 10g Rel 2 for Mac OS X on Intel x86-64
官方要求Mac OSX版本为10.5.4以上,本文基于10.5.6安装。
安装前准备
1、创建数据库操作Groups
2、创建用户oracle
3、创建用户主目录
4、更改用户oracle密码
5、修改系统内核参数
写入以下参数
然后按 Command(Ctrl) + O 保存,,Command(Ctrl) + X 退出
然后重启机器,以使参数生效。
6、在oracle用户主目录下创建 ".bash_profile"文件,并加入以下内容:
7、接着可以开始安装Oracle了,打终端登录oracle账号:
然后执行解压后oracle安装目录下的.runInstaller文件,如我放在\Users\wusloan\下
接着就可以进行安装了,注意安装选择目录放到oracle用户下面,并且选择数据库用户组时选择oinstall(安装前面增加的)。
安装好后有提示要用root权限运行2个sh文件,新打开一个终端:
然后安装就完成了
8、安装后配置
(1)如果你的网络配置使用的是DHCP
修改\oracle\product\10.2.0\db_1\network\admin目录下的tnsnames.ora文件
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
只需要修改红色部分即可。
(2)通常会出现用sqlplus连接缺少Lib问题,
macbook:~ gorby$ sqlplus "/as sysdba"
dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib
Referenced from: /Volumes/HD2/oracle/product/10.2.0/db_1/bin/sqlplus
Reason: image not found
Trace/BPT trap
编辑oraenv文件
在末尾添加以下内容:
9、运行数据库
(1)终端登录oracle账号
(2)运行
(3)sqlplus连接
(4)启动数据库
可以用命令进行相应管理
(5)关闭数据库
至此安装结束!
参考文章:
这个问题对了 但是装到一半多的时候提示 无法在/usr/bin无法找到 make实用程序 这个真没招了 小弟邮箱anyine@126.com
我在安装过程中也遇到了”OUI-25031“错误,但具体内容是说”一些Configuration Assistant失败。强烈建议您此时重试这些。。。“。解决方法是安装完成后,修改$ORACLE_HOME/jdk/bin/java脚本,将"java -Xbootclasspath…"改成"java -d32 -Xbootclasspath…"。然后执行脚本: “/Users/oracle/oracle/product/10.2.0/cfgtoollogs/configToolFailedCommands”。该脚本信息在当时报OUI-25031错误时,“详细信息(请参阅...”中有提到。
试试“echo $DISPLAY"是不是没有任何输出?无输出值的话,可能是因为当前用户不是oracle用户。oracle用户下$DISPLAY是有值的(步骤6已经设置过了)
http://www.oracle.com/technology/tech/macos/index.html
下载
Oracle Database 10g Rel 2 for Mac OS X on Intel x86-64
官方要求Mac OSX版本为10.5.4以上,本文基于10.5.6安装。
安装前准备
sudo -s
1、创建数据库操作Groups
# dscl . -create /groups/oinstall # dscl . -append /groups/oinstall gid 100 # dscl . -append /groups/oinstall passwd "*"
2、创建用户oracle
# dscl . -create /users/oracle # dscl . -append /users/oracle uid 100 //此处可以更改为其它值 # dscl . -append /users/oracle gid 100 # dscl . -append /users/oracle shell /bin/bash # dscl . -append /users/oracle home /Users/oracle # dscl . -append /users/oracle realname "Oracle software owner"
3、创建用户主目录
# mkdir /Users/oracle # chown oracle:oinstall /Users/oracle
4、更改用户oracle密码
# passwd oracle
5、修改系统内核参数
sudo nano /etc/sysctl.conf
写入以下参数
kern.sysv.semmsl=87381 kern.sysv.semmns=87381 kern.sysv.semmni=87381 kern.sysv.semmnu=87381 kern.sysv.semume=10 kernel.shmall=2097152 kernel.sys.shmmax=2147483648 kernel.sys.shmmni=4096 kern.maxfiles=65536 kern.maxfilesperproc=65536 net.inet.ip.portrange.first=1024 net.inet.ip.portrange.last=65000 kern.corefile=core kern.maxproc=2068 kern.maxprocperuid=2068
然后按 Command(Ctrl) + O 保存,,Command(Ctrl) + X 退出
然后重启机器,以使参数生效。
6、在oracle用户主目录下创建 ".bash_profile"文件,并加入以下内容:
export DISPLAY=:0.0 export ORACLE_BASE=$HOME export ORACLE_SID=orcl umask 022 ulimit -Hn 65536 ulimit -Sn 65536
7、接着可以开始安装Oracle了,打终端登录oracle账号:
su - oracle
然后执行解压后oracle安装目录下的.runInstaller文件,如我放在\Users\wusloan\下
\Users\wusloan\db\Disk1\.runInstaller
接着就可以进行安装了,注意安装选择目录放到oracle用户下面,并且选择数据库用户组时选择oinstall(安装前面增加的)。
安装好后有提示要用root权限运行2个sh文件,新打开一个终端:
sudo \Users\oracle\oraInventory\orainstRoot.sh sudo \Users\oracle\oracle\product\10.2.0\db_1\root.sh
然后安装就完成了
8、安装后配置
(1)如果你的网络配置使用的是DHCP
修改\oracle\product\10.2.0\db_1\network\admin目录下的tnsnames.ora文件
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
只需要修改红色部分即可。
(2)通常会出现用sqlplus连接缺少Lib问题,
macbook:~ gorby$ sqlplus "/as sysdba"
dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib
Referenced from: /Volumes/HD2/oracle/product/10.2.0/db_1/bin/sqlplus
Reason: image not found
Trace/BPT trap
编辑oraenv文件
su - oracle //登录oracle账号 nano /usr/local/bin/oraenv
在末尾添加以下内容:
export DYLD_LIBRARY_PATH=$ORACLE_HOME/lib
9、运行数据库
(1)终端登录oracle账号
(2)运行
#For Bourne, Bash, or Korn shell: $ . /usr/local/bin/oraenv #For C shell: % source /usr/local/bin/coraenv
(3)sqlplus连接
$ sqlplus "/ AS SYSDBA"
(4)启动数据库
SQL> STARTUP
可以用命令进行相应管理
(5)关闭数据库
SQL> SHUTDOWN
至此安装结束!
参考文章:
- How to install Oracle Database 10g R2 on Mac OS X/Intel Arun Gupta
- Quick Install Guide for Oracle 10g Rel 2 on Mac OS X Leopard Alex Gorbachev
- Official Doc: Oracle Database Installation Guide 10g Rel 2 (10.2) for Apple Mac OS X/Intel
评论
16 楼
warldge_
2014-08-11
Mac安装Oracle完整傻瓜式教程 比任何一个教程都好 http://blog.sina.com.cn/s/blog_be59e93c0102uyhu.html
15 楼
hhb19900618
2013-10-19
你好 进去没看到 for mac安装包
只看到 Oracle Database Express Edition 11g Release 2 for Linux x64
只看到 Oracle Database Express Edition 11g Release 2 for Linux x64
14 楼
liang_900503
2013-10-07
博主您好,现在oracle官网已经没有oracle 10g for mac的链接了,但是我们上课要用,能麻烦博主发一个给我么?急需,若能得到帮助就太感谢了!
13 楼
lrh
2013-07-06
每次运行sqlplus 都会报
Segmentation fault: 11
Segmentation fault: 11
12 楼
anyine
2013-06-21
oracle Database configuration assistant一直是正在运行 到后面就失败了
11 楼
anyine
2013-06-21
anyine 写道
在 oraparam.ini 中未找到先决条件检查, 不执行系统先决条件检查。
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2013-06-21_10-09-29AM. 请稍候...bash-3.2$ java.lang.UnsatisfiedLinkError: /private/tmp/OraInstall2013-06-21_10-09-29AM/oui/lib/mac_osx/liboraInstaller.dylib: no suitable image found. Did find: /private/tmp/OraInstall2013-06-21_10-09-29AM/oui/lib/mac_osx/liboraInstaller.dylib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1020)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:404)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:422)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
请问这是什么问题
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2013-06-21_10-09-29AM. 请稍候...bash-3.2$ java.lang.UnsatisfiedLinkError: /private/tmp/OraInstall2013-06-21_10-09-29AM/oui/lib/mac_osx/liboraInstaller.dylib: no suitable image found. Did find: /private/tmp/OraInstall2013-06-21_10-09-29AM/oui/lib/mac_osx/liboraInstaller.dylib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1020)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:404)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:422)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
请问这是什么问题
这个问题对了 但是装到一半多的时候提示 无法在/usr/bin无法找到 make实用程序 这个真没招了 小弟邮箱anyine@126.com
10 楼
anyine
2013-06-21
在 oraparam.ini 中未找到先决条件检查, 不执行系统先决条件检查。
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2013-06-21_10-09-29AM. 请稍候...bash-3.2$ java.lang.UnsatisfiedLinkError: /private/tmp/OraInstall2013-06-21_10-09-29AM/oui/lib/mac_osx/liboraInstaller.dylib: no suitable image found. Did find: /private/tmp/OraInstall2013-06-21_10-09-29AM/oui/lib/mac_osx/liboraInstaller.dylib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1020)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:404)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:422)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
请问这是什么问题
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2013-06-21_10-09-29AM. 请稍候...bash-3.2$ java.lang.UnsatisfiedLinkError: /private/tmp/OraInstall2013-06-21_10-09-29AM/oui/lib/mac_osx/liboraInstaller.dylib: no suitable image found. Did find: /private/tmp/OraInstall2013-06-21_10-09-29AM/oui/lib/mac_osx/liboraInstaller.dylib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1020)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:404)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:422)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
请问这是什么问题
9 楼
0bject
2011-10-29
请问你的 “oracle用户主目录” 是指的什么?
8 楼
yangwn
2011-03-17
按照你说的操作,我在runinstall的时候,怎么出现这样的错误:
在 oraparam.ini 中未找到先决条件检查, 不执行系统先决条件检查。
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2011-03-17_11-21-48PM. 请稍候...wunan-yangmatoMacBook-Pro:Disk1 oracle$ java.lang.UnsatisfiedLinkError: /private/tmp/OraInstall2011-03-17_11-21-48PM/oui/lib/mac_osx/liboraInstaller.dylib: no suitable image found. Did find: /private/tmp/OraInstall2011-03-17_11-21-48PM/oui/lib/mac_osx/liboraInstaller.dylib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1823)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1020)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:404)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1754)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:422)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
在 oraparam.ini 中未找到先决条件检查, 不执行系统先决条件检查。
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2011-03-17_11-21-48PM. 请稍候...wunan-yangmatoMacBook-Pro:Disk1 oracle$ java.lang.UnsatisfiedLinkError: /private/tmp/OraInstall2011-03-17_11-21-48PM/oui/lib/mac_osx/liboraInstaller.dylib: no suitable image found. Did find: /private/tmp/OraInstall2011-03-17_11-21-48PM/oui/lib/mac_osx/liboraInstaller.dylib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1823)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1020)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:404)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1754)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:422)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:127)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:203)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.getEnv(OiixEnvironmentOps.java:62)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.getHomeLoc(OiocOneClickInstaller.java:774)
at oracle.sysman.oio.oioc.OiocOneClickDB.createSubCenterPanel(OiocOneClickDB.java:409)
at oracle.sysman.oio.oioc.OiocOneClickDB.createPanel1(OiocOneClickDB.java:301)
at oracle.sysman.oio.oioc.OiocOneClickDB.createCenterPanel(OiocOneClickDB.java:252)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.init(OiocOneClickInstaller.java:365)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.createFrameElements(OiocOneClickInstaller.java:326)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:1333)
7 楼
myrev
2010-12-02
不需要server版本
6 楼
smalljeff
2010-12-02
oracle 官方要求Apple Mac OS X Server 10.5.4以上,你在非server的机器上装成功了?
5 楼
f_zongjian
2010-10-20
liucuan 写道
直接用oracle帐户登录然后.runInstaller -J-d32运行成功,可是在最后出现oui-25031的错误是什么原因
Command = /Users/oracle/oracle/product/10.2.0/db_1/bin/netca has failed
Execution Error :
java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
Command = /Users/oracle/oracle/product/10.2.0/db_1/bin/netca has failed
Execution Error :
java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
我在安装过程中也遇到了”OUI-25031“错误,但具体内容是说”一些Configuration Assistant失败。强烈建议您此时重试这些。。。“。解决方法是安装完成后,修改$ORACLE_HOME/jdk/bin/java脚本,将"java -Xbootclasspath…"改成"java -d32 -Xbootclasspath…"。然后执行脚本: “/Users/oracle/oracle/product/10.2.0/cfgtoollogs/configToolFailedCommands”。该脚本信息在当时报OUI-25031错误时,“详细信息(请参阅...”中有提到。
4 楼
f_zongjian
2010-10-20
liucuan 写道
到\Users\wusloan\db\Disk1\.runInstaller 这步时出现
DISPLAY not set. Please set the DISPLAY and try again.什么原因
DISPLAY not set. Please set the DISPLAY and try again.什么原因
试试“echo $DISPLAY"是不是没有任何输出?无输出值的话,可能是因为当前用户不是oracle用户。oracle用户下$DISPLAY是有值的(步骤6已经设置过了)
3 楼
liucuan
2010-08-25
直接用oracle帐户登录然后.runInstaller -J-d32运行成功,可是在最后出现oui-25031的错误是什么原因
Command = /Users/oracle/oracle/product/10.2.0/db_1/bin/netca has failed
Execution Error :
java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
Command = /Users/oracle/oracle/product/10.2.0/db_1/bin/netca has failed
Execution Error :
java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
2 楼
myrev
2010-08-19
第6个步骤有做了吗,,,这个操作完最好重启下
1 楼
liucuan
2010-08-18
到\Users\wusloan\db\Disk1\.runInstaller 这步时出现
DISPLAY not set. Please set the DISPLAY and try again.什么原因
DISPLAY not set. Please set the DISPLAY and try again.什么原因
相关推荐
通过以上详细的步骤和说明,用户可以更加顺利地在 VirtualBox 上安装并运行 MacOS X,尤其是在非 Mac 硬件环境下。这不仅为开发人员提供了一个测试 MacOS 应用程序的环境,也为普通用户带来了一种全新的使用体验。
### 苹果系统(macOS 10.6.8)安装详细教程 #### 虚拟机安装 **准备工作** 1. **苹果系统光盘或...通过以上步骤,无论是通过虚拟机还是在真机上,你都可以顺利完成macOS 10.6.8的安装。希望这些信息对你有所帮助!
### Oracle VM VirtualBox安装Mac OS X的详细步骤与注意事项 #### 一、引言 在当前多元化的计算环境中,能够跨平台使用不同的操作系统对于提高工作效率和满足特定需求来说非常重要。Oracle VM VirtualBox作为一款...
用户可以使用VirtualBox在 Windows、Linux、Mac OS X 等多种操作系统平台上安装和运行虚拟机。下面将详细介绍如何使用VirtualBox虚拟机安装Mac OS X。 安装VirtualBox 首先,需要下载并安装VirtualBox软件。用户...
Oracle Database Client 11g Release 2 (11.2) for Apple Mac OS X (Intel) 是Oracle公司为苹果Mac操作系统提供的数据库客户端软件。这个版本的发布注释提供了关于此客户端在Mac OS X平台上的重要信息,这些信息可能...
《Oracle数据库客户端安装指南11g Release 2 (11.2) for Apple Mac OS X (Intel)》是Oracle公司为在苹果Mac OS X(Intel架构)操作系统上安装Oracle数据库客户端提供的详细指导文档。该文档涵盖了从安装前的准备到...
在Mac操作系统上安装Oracle数据库可能涉及一些特有的挑战,因为Oracle主要为Windows和Linux平台设计。以下是一些关键步骤和问题解决策略: 1. **下载Oracle客户端**: - 首先,你需要访问Oracle的官方网站...
准备工作:装有windows 7或xp操作系统且是Intel CPU(上网本除外)的电脑、苹果系统安装光盘或镜像、winpe光盘版或U盘版、bootthink或变色龙、leopard硬盘安装助手、HFS-Explorer、MacDrive、50G可用空间、OSInstall...
Apple Mac OS X、HP OpenVMS、HP Tru64、HP-UX Itanium、HP-UX PA-RISC (32-bit)、HP-UX PA-RISC (64-bit)、IBM AIX on POWER Systems (32-bit)、IBM AIX on POWER Systems (64-bit)、IBM Dynix/Ptx、IBM Linux on ...
标题中的"jdk-8u211-macosx-x64.dmg.zip"指的是Java Development Kit(JDK)的版本8更新211,适用于Mac OS X操作系统且为64位架构的.dmg镜像文件的压缩包。这个文件是Oracle公司提供的用于在苹果Mac系统上开发和运行...
Linux,Macintosh和Solaris主机上运行,并支持大量来宾操作系统,包括但不限于Windows(NT 4.0、2000,XP,Server 2003,Vista,Windows 7,Windows 8,Windows 10 ),DOS / Windows 3.x,Linux(2.4、2.6、3.x...
无论是创建Windows注册表,管理UNIX的daemons,或在Mac OS X Dock中安装光标,InstallAnywhere都是最为直观、功能最强大、最灵活的可选方案。 兼容环境 ";;;Microsoft Visual Studio .NET Microsoft Visual ...
Mac OS X 10.12 或更高版本。 - **处理器**:Intel Core i5 或 AMD 同等性能以上的处理器。 - **内存**:至少 8GB RAM。 - **硬盘空间**:至少 2GB 可用空间。 ##### 3.3 安装步骤 1. **下载安装包**:访问 Oracle...
标题中的"jdk-8u201-macosx-x64.dmg"是一个Java Development Kit (JDK) 的安装文件,适用于苹果Mac OS X操作系统,且是64位版本。这个版本是JDK 8的更新201,通常包含了Java运行时环境(JRE)和开发工具,用于编写、...
虚拟机:Oracle VM VirtualBox Linux版本: Ubuntu4.0 64 解决方法:修改机器中的BIOS配置。 step1:重启计算机,按F2,进入BIOS界面 step2:进入Configure页签,将virtualization参数修改为:enabled step3:按F10...
VirtualBox的一大优势在于它的跨平台特性,支持多种操作系统,包括Windows、Mac OS X、Linux和Solaris。它提供了丰富的功能,如拖放、共享文件夹、网络连接模拟、USB设备支持等。在5.2.22这个版本中,可能会包含一些...