09-08-2018
How to switch back from Oracle Kernel to RedHat?
Hello friends,
We have RHEL 7.5 server with latest updates. We needed to install Oracle 12 DB on it so chose "easy method" of installing "oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64.rpm" and then installed oracle DB. Everything went smooth and all OK but later we noticed that it has Oracle Kernel ver 4.14 uek installed instead of using Redhat's 3.10 ver. and using updates from Oracle rep. I managed to configure it back to use updates from Redhat (as we have support from RH) but not sure how to switch the kernel back to Redhat's by keeping all the software (esp Oracle) intact. Redhat is NOT providing any support as this server running Oracle kernel.
We can see both Oracle kernel entries & Redhat entries in grub.conf but not sure If I can simply boot Redhat 3.x kernel with oracle too working fine.
Could anyone please advise how to switch back to RH kernel without breaking anything else? I know rebuilding the server from scratch and not choosing "preinstall rpm" method will fix that but that's a too long process.
Many Thanks!
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need some help from Oracle and UNIX expertise point of view.
I have two tables, METADATA_A and METADATA_B. I need to switch loading these tables. If we load METADATA_A today, the following
week we would have to load METADATA_B.
There is a public synonym "METADATA" that sits on top of... (2 Replies)
Discussion started by: madhunk
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
Please let me know how to compile a linux kernel on redhat. I am relatively new in this area so please be a little patient with me. Here is the file I was consulting with the following details:
Compiling the Linux Kernel on Redhat 7.1
This page describes how to install... (2 Replies)
Discussion started by: bhattbonny
2 Replies
3. Solaris
I know this is probably a dumb question, but all of my Google and forum searches have been coming up empty. I mostly work with SPARC.
How do you switch Solaris on x86 from 32-bit to 64-bit? When I do a uname -a on a newly installed machine I get "SunOS XXXXXXX 5.10 Generic_144489-17 i86pc i386... (8 Replies)
Discussion started by: christr
8 Replies
4. Solaris
Hi,
I am new to Solaris and when i am trying to Switch to root login from user, system throws message saying permissions denied...
Steps I Followed:
Created a user and logged into that user by SU username
tried to come back to root but system throws message "permissions denied"
... (7 Replies)
Discussion started by: VijaySolaris
7 Replies
5. Red Hat
Hello,
I have a problem in my server:
HP ProLiant DL580 G5
My OS is REDHAT 4.6
I have an error when I start the server:
Badness in do_unblank_screen at drivers/char/vt.c:2878
...
Your time source seems to be instable or some driver is hogging interupts
rip __smp_call_function +... (1 Reply)
Discussion started by: markke
1 Replies
6. Red Hat
hello,
I was going through clustering documentation for Redhat, it says "Enable IP Aliasing support in the kernel by setting the CONFIG_IP_ALIAS kernel option to y. When specifying kernel options, under Networking Options, select IP aliasing support", I knew I should update /etc/sysctl.conf with... (1 Reply)
Discussion started by: bobby320
1 Replies
7. Red Hat
Hi expert,
I goes to
# pwd
/usr/src/kernels/2.6.32-279.el6.x86_64
then I make bzImage I meet error
# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make: *** No rule to make target `missing-syscalls'. Stop.
make:... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
8. Red Hat
Hi Folks,
Looking for some assistance here on a Dell server connected to a Dell tape robot with Redhat 5.4 and Netbackup 6.5.
Netbackup thinks the tapes are all present and working, but they are not - we lost the internal encryption keys earlier but think that they are reinstated as the... (0 Replies)
Discussion started by: gull04
0 Replies
LEARN ABOUT PHP
oci_set_module_name
OCI_SET_MODULE_NAME(3) OCI_SET_MODULE_NAME(3)
oci_set_module_name - Sets the module name
SYNOPSIS
bool oci_set_module_name (resource $connection, string $module_name)
DESCRIPTION
Sets the module name for Oracle tracing.
The module name is registered with the database when the next 'roundtrip' from PHP to the database occurs, typically when an SQL statement
is executed.
The name can subsequently be queried from database administration views such as V$SESSION. It can be used for tracing and monitoring such
as with V$SQLAREA and DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE.
The value may be retained across persistent connections.
PARAMETERS
o $connection
-An Oracle connection identifier, returned by oci_connect(3), oci_pconnect(3), or oci_new_connect(3).
o $module_name
- User chosen string up to 48 bytes long.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Note
Oracle version requirement
This function is available when PHP is linked with Oracle Database libraries from version 10 g onwards.
Tip
Performance
With older versions of OCI8 or the Oracle Database, the client information can be set using the Oracle DBMS_APPLICATION_INFO pack-
age. This is less efficient than using oci_set_client_info(3).
Caution
Roundtrip Gotcha
Some but not all OCI8 functions cause roundtrips. Roundtrips to the database may not occur with queries when result caching is
enabled.
EXAMPLES
Example #1
Setting the module name
<?php
$c = oci_connect('hr', 'welcome', 'localhost/XE');
// Record the module
oci_set_module_name($c, 'Home Page');
// Code that causes a roundtrip, for example a query:
$s = oci_parse($c, 'select * from dual');
oci_execute($s);
oci_fetch_all($s, $res);
sleep(30);
?>
// While the script is running, the administrator can see the
// modules in use:
sqlplus system/welcome
SQL> select module from v$session;
SEE ALSO
oci_set_action(3), oci_set_client_info(3), oci_set_client_identifier(3).
PHP Documentation Group OCI_SET_MODULE_NAME(3)