Oracle 11GR1进行创建数据库时出错解决一例
来源:互联网 发布:苹果手机端口号 编辑:程序博客网 时间:2024/05/09 01:00
今天在as3上安装oracle11GR1,在进行到创造数据库时出现了如下图所示错误:
用dbca多次删除数据库再重次创建都不行。只好求百度了,查到如下:
---------------网上有如下描述---------------
报错:
SEVERE: Failed to allocate port(s) in the specified range for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM agent [1830-1849]
google搜的:
check the /etc/sysctl.conf file and check if contains following line:
net.ipv4.ip_local_port_range = 1024 65000
If not, then add that line save the file and reboot the system.
Also check the wheter some service is not running on required ports that was mentioned in the error messages.
You can check this issuing the "netstat -an | grep tcp | grep LISTEN" command.
上面的是10g, 不过oracle 11G上是port_range = 9000 65000
另一个网站上找的:
There can be number of reasons EMCA is not able to bind respective ports.
1. Network restrictions/firewall blocking the ports
2. Incorrectly configured hostname or the hosts file
3. Incorrect entry for loopback adapter in hosts file
4. Any other application using the port in the same range.
最后查的原因是 /etc/hosts 文件, 添加正确的主机名与IP即可。
---------------网上描述结束---------------
如网上描述的,检查/etc/sysctl.conf,没问题,网上描述最后一句提醒我,查看/etc/hosts发现ip与主机名没对,这时才想起我对这台机器改过ip,但没有修改/etc/hosts。把hosts文件修改后再运行dbca进行创建数据库,一切正常。
记下来,以防忘记了。
- Oracle 11GR1进行创建数据库时出错解决一例
- 在Linux上安装Oracle数据库11gR1
- Oracle 11gr1打开数据库的闪回flashback
- Oracle 11gR1 on Win7
- Oracle 11gR1 默认设置调整
- Oracle JDBC 11gR1的一些特性
- Oracle 11gR1中表压缩增强
- WebLogic11g|Oracle WebLogic Server 11gR1|下载
- Oracle 11gR1/R2 PSU安装参考
- 卸载oracle 11gR1软件 --- for Linux Server
- Oracle WebLogic Server 11gR1 (10.3.2) + OEPE意思
- Oracle 11gR1 dbca – maximum number of sessions exceeded
- Oracle 11gR1 OLTP table压缩初体验
- Oracle 11Gr1监听报错TNS-12542 12560 00512
- Oracle Service Bus 11gR1开发环境安装文档
- Oracle GridControl 11gR1 for Linux 安装和配置指南
- Oracle GridControl 11gR1 for Linux 安装和配置指南
- Oracle 刚安装,用SQLDeveloper创建数据库出错
- C++ 虚基类简单使用
- C中的符号表
- 句柄和指针 三
- hdu1996
- 2013 New Year’s Resolutions
- Oracle 11GR1进行创建数据库时出错解决一例
- C++ 智能指针
- linux程序分析工具介绍(二)—-ldd,nm
- opncv2.4.3 SIFT编译出错
- QWidget,QMainWindow和QDialog的区别 .
- 解决linux停在starting automount无法启动
- ecos kernel 分析
- 设置Flex在加载应用的时候获取焦点
- 字符编码和中文乱码