Oracle PRM与JVM以及OS
PRM(ParnassusData Recovery Manager)基于JAVA语言开发,得益于JVM Java虚拟机,PRM可以无需反复编译就在几乎所有支持JAVA的操作
PRM(ParnassusData Recovery Manager)基于JAVA语言开发,得益于JVM Java虚拟机,PRM可以无需反复编译就在几乎所有支持JAVA的操作平台上运行,包括但不限于:AIX、Solaris、HPUX、Linux和Windows。
PRM在开发过程中充分考虑了老系统平台,最低可以兼容到JAVA 1.4版本,这意味着那些无法安装新JDK/JRE的老操作系统也可以运行PRM。
例如在2003年出品的Red Hat Enterprise Linux AS release 3 (Taroon)上安装了JRE 1.4.2
root@rh3 root]# uname -a
Linux rh3 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
[root@rh3 root]# cat /etc/issue
Red Hat Enterprise Linux AS release 3 (Taroon)
Kernel \r on an \m
[root@rh3 root]# java -version
java version "1.4.2_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_19-b04)
Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)
[root@rh3 root]#
[root@rh3 root]# which java
/usr/bin/java
10年前出品的RHEL 3同样可以正常运行PRM:
java –jar prm.jar
虽然PRM可以正常在JRE 1.4.2上运行,但为了获得最佳性能和最佳体验,诗檀推荐用户安装JDK 1.6以上版本,建议为JDK 1.7。
Linux-6-64下安装Oracle 12C笔记
在CentOS 6.4下安装Oracle 11gR2(x64)
Oracle 11gR2 在VMWare虚拟机中安装步骤
Debian 下 安装 Oracle 11g XE R2
JDK下载
Linux和Windows上的JDK 1.7较为容易下载,而AIX上的JDK由IBM自行提供,下载较为麻烦。这里提供部分JDK 1.7的下载路径:
AIX JAVA SDK 7
Linux JDK 7 64bit
Linux JDK 7 32bit
Solaris JDK 7 x86-64bit
Solaris JDK 7 x86-32bit
Solaris JDK 7 Sparc
都在:
PRM 启动参数
常规情况下PRM使用prm.sh(Unix/Linux) 或 prm.bat(Windows)启动,即:
$ ./prm.sh
[root@rh3 prm_3002]# cat prm.sh
echo "It's recommended that you can use JDK 1.6 or higher version"
echo "Download latest JDK "
java -Xms1024M -jar prm.jar
prm.sh在调用prm.jar JAVA程序包时会加上-Xms1024M参数
但如果用户所运行的JAVA环境不是JDK 1.6以上版本则可能出现如下的一些问题:
1. prm.sh启动遇到 “Incompatible initial and maximum heap sizes specified”问题
[root@rh3 prm_3002]# ./prm.sh
It's recommended that you can use JDK 1.6 or higher version
Download latest JDK
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified
" Incompatible initial and maximum heap sizes specified”该报错是因为当前所运行的JAVA环境不支持-Xms1024M参数,如果不想升级JAVA环境的话,可以执行运行:
$ java –jar prm.jar
2.PRM在RedHat自带的gcj java 1.4.2下运行时遇到如下问题:
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw1
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw2
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw3
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw4
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw5
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw6
Exception when analysing ASM disk header.
Issue for analysing ASM disk header for: /dev/raw/raw7
~
gc warning: Repeated allocation of very large block (appr.size 512000):
May lead to memory leak and poor performance.
这是因为Redhat自带的GCJ 1.4.2的GC垃圾回收存在问题所导致的,建议使用Oracle JDK 1.6或以上版本, 使用redhat free software foundation 的gcj确实可能发生该问题。
3. Prm.bat启动过程中遇到” Error: no `server' JVM at `D:\Program Files (x86)\Java\jre1.5.0_22\bin\server\jvm.dll'.”问题
这是因为用户的JAVA运行环境中仅仅安装了JRE,,因为jRE在1.5中是没有-server选项的所以出现了如上问题。
可以通过升级到JDK 1.6以上版本解决,也可以去掉-server选项来运行,即:
java –jar prm.jar
本文永久更新链接地址:

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Go language is an efficient, concise and easy-to-learn programming language. It is favored by developers because of its advantages in concurrent programming and network programming. In actual development, database operations are an indispensable part. This article will introduce how to use Go language to implement database addition, deletion, modification and query operations. In Go language, we usually use third-party libraries to operate databases, such as commonly used sql packages, gorm, etc. Here we take the sql package as an example to introduce how to implement the addition, deletion, modification and query operations of the database. Assume we are using a MySQL database.

Apple's latest releases of iOS18, iPadOS18 and macOS Sequoia systems have added an important feature to the Photos application, designed to help users easily recover photos and videos lost or damaged due to various reasons. The new feature introduces an album called "Recovered" in the Tools section of the Photos app that will automatically appear when a user has pictures or videos on their device that are not part of their photo library. The emergence of the "Recovered" album provides a solution for photos and videos lost due to database corruption, the camera application not saving to the photo library correctly, or a third-party application managing the photo library. Users only need a few simple steps

Hibernate polymorphic mapping can map inherited classes to the database and provides the following mapping types: joined-subclass: Create a separate table for the subclass, including all columns of the parent class. table-per-class: Create a separate table for subclasses, containing only subclass-specific columns. union-subclass: similar to joined-subclass, but the parent class table unions all subclass columns.

HTML cannot read the database directly, but it can be achieved through JavaScript and AJAX. The steps include establishing a database connection, sending a query, processing the response, and updating the page. This article provides a practical example of using JavaScript, AJAX and PHP to read data from a MySQL database, showing how to dynamically display query results in an HTML page. This example uses XMLHttpRequest to establish a database connection, send a query and process the response, thereby filling data into page elements and realizing the function of HTML reading the database.

How to use MySQLi to establish a database connection in PHP: Include MySQLi extension (require_once) Create connection function (functionconnect_to_db) Call connection function ($conn=connect_to_db()) Execute query ($result=$conn->query()) Close connection ( $conn->close())

To handle database connection errors in PHP, you can use the following steps: Use mysqli_connect_errno() to obtain the error code. Use mysqli_connect_error() to get the error message. By capturing and logging these error messages, database connection issues can be easily identified and resolved, ensuring the smooth running of your application.

PHP is a back-end programming language widely used in website development. It has powerful database operation functions and is often used to interact with databases such as MySQL. However, due to the complexity of Chinese character encoding, problems often arise when dealing with Chinese garbled characters in the database. This article will introduce the skills and practices of PHP in handling Chinese garbled characters in databases, including common causes of garbled characters, solutions and specific code examples. Common reasons for garbled characters are incorrect database character set settings: the correct character set needs to be selected when creating the database, such as utf8 or u

Through the Go standard library database/sql package, you can connect to remote databases such as MySQL, PostgreSQL or SQLite: create a connection string containing database connection information. Use the sql.Open() function to open a database connection. Perform database operations such as SQL queries and insert operations. Use defer to close the database connection to release resources.
