By ask Surachart for help
Test: Flash Cache on 11gR2 + RHEL
A Flash Cache (11gR2) is supported by OEL or Solaris. If Want To use RHEL(Example: RHEL 5.3)
Patched 8974084 before
SQL> startup
ORA-00439: feature not enabled: Server Flash Cache
ORA-01078: failure in processing system parameters
TEST: ***use "strace" commnad to trace system & signals***
$ strace -o /tmp/file01.txt -f sqlplus '/ as sysdba' <<EOF
startup
EOF
Find 2 points:
1. about /etc/*-release files.
3884 open("/etc/enterprise-release", O_RDONLY) = 8
3884 read(8, "Enterprise Linux Enterprise Linu"..., 255) = 64
2. about "rpm" cammand
32278 execve("/bin/rpm", ["/bin/rpm", "-qi", "--info", "enterprise-release"], [/* 25 vars */] <unfinished ...>
Next, it greps for “66ced3de1e5e0159” from the following output…
try to check on Enterprise Linux.
$ rpm -qi --info "enterprise-release"
Name : enterprise-release Relocations: (not relocatable)
Version : 5 Vendor: Oracle USA
Release : 0.0.17 Build Date: Wed 21 Jan 2009 06:00:33 PM PST
Install Date: Mon 11 May 2009 11:19:45 AM PDT Build Host: ca-build10.us.oracle.com
Group : System Environment/Base Source RPM: enterprise-release-5-0.0.17.src.rpm
Size : 59030 License: GPL
Signature : DSA/SHA1, Wed 21 Jan 2009 06:56:48 PM PST, Key ID 66ced3de1e5e0159
Summary : Enterprise Linux release file
Description :
System release and information files
Name : enterprise-release Relocations: (not relocatable)
Version : 5 Vendor: Oracle USA
Release : 0.0.17 Build Date: Wed 21 Jan 2009 06:00:33 PM PST
Install Date: Mon 11 May 2009 11:19:45 AM PDT Build Host: ca-build10.us.oracle.com
Group : System Environment/Base Source RPM: enterprise-release-5-0.0.17.src.rpm
Size : 59030 License: GPL
Signature : DSA/SHA1, Wed 21 Jan 2009 06:56:48 PM PST, Key ID 66ced3de1e5e0159
Summary : Enterprise Linux release file
Description :
System release and information files
Fixed:
1. FAKE *-release file (don't forgot backup before)
- Modify /etc/redhat-release + /etc/enterprise-release files.
$ cat /etc/redhat-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
$ cat /etc/enterprise-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
2. FAKE rpm to check "enterprise-release" package.
- Modify /bin/rpm
# mv /bin/rpm /bin/rpm.bin
# vi /bin/rpm
#!/bin/sh
if [ "$3" = "enterprise-release" ]
then
echo 66ced3de1e5e0159
else
exec /bin/rpm.bin "$*"
fi
# chmod 755 /bin/rpm
Try... Again -> startup database.
SQL> startup
