Oracle vm 2.2 kernel-debuginfo
I'm trying to get fuse to work in Oracle VM 2.2 server and the kernel panics. I'm trying to analyze the vmcore but i can't find the kernel-debuginfo package anywhere.
Does anyone know where I can get this? I'm using the lastest kernel available on the ULN (2.6.18-128.2.1.4.13.el5xen).
I know this is probably not supported (fuse) but it works everywhere else (non-Oracle VM). Panics when i try to create a loopback device from a file on the fuse(d) filesystem (currently MFS).
-Scoleri
It took a bit of digging, I do not see a convenient link to this but:
http://oss.oracle.com/oraclevm/server/2.1/debuginfo/
http://oss.oracle.com/oraclevm/server/2.2/debuginfo/Cheers
Similar Messages
-
Oracle Linux as Guest OS in Oracle VM (which all kernel are supported.)
Hi,
currently Oracle packages two different kernels with Oracle Linux (Redhat compatible kernel and UEK). so when running Oracle Linux as guest on Oracle VM server which are the kernel are supported???
Thanks,
InbarajThanks for your reply... i understand that Oracle kernel is better than Red Hat compatible kernel, but RHCK is still bundled with OL , that's where my question started whether RHCK is supported as guest in OVM?
-
Oracle Linux 5.7 kernel panic when installing R12
Hi Everyone,
I've a small issue which I like to share and hopefully you are able to help solving it. I've downloaded and installed VMware Player 4 and Oracle Enterprise Linux 5.7 (32 bit) as a guest Virtual Machine on my Window 7 machine. I've also downloaded and extracted all the required zip files and folders for eBusiness released 12 (Oracle E-Business Suite Release 12.1.1 Media Pack for Linux x86 [32bit]) from the eDelivery web site. Then, I shared a Windows folder (containing those extracted folders of the R12 eBusiness files and folders) and mount it in the Oracle Enterprise Linux 5.7 under '/tmp/r12installfiles/'.
I ran the ./rapidwiz and the all the tests were OK and then I confirm installing R12 by hitting the 'Next' button. But for several times now, whenever it passes Step 2 when I navigate to the VM guest (because I was doing something on the main host - Window 7), the Oracle Linux OS was always blinking with 'Cap Locks' and 'Scroll Lock' keys and I believe it must have been linux kernel panic. And I could not proceed any further. I had this problem three times, whether I was installing the VISION database or the Fresh database, I still have the same error. It was very time consuming and frustrating. Does anyone have this problem?
Were there any steps that I've missed? Like patching the Linux OS before installing R12 or other steps or processes. Please provide the appropriate steps and instructions as well as the links where I could download them. Thank you for your assistance.
Regards,
JohnJohn,
Thank you for your reply, can you direct me the link for the Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]) document, please? Thank you.You can get it from MOS website -- Go to https://support.oracle.com and type your username/password then search for "761564.1" and you should get the doc.
If you have no MOS access, please note that we cannot post the contents of MOS docs as this violates Oracle support agreement policy.
Thanks,
Hussein -
I am trying to understand the results I see on an OVM Oracle Linux Guest built from the
Template == OVM_OL5U6_X86_64_PVM_10GB.tgz
When I execute an rpm -qa | grep "^kernel" I obtain
rpm -qa | grep "^kernel"
kernel-uek-headers-2.6.32-100.26.2.el5
kernel-uek-firmware-2.6.32-100.26.2.el5
kernel-xen-devel-2.6.18-238.0.0.0.1.el5
kernel-uek-2.6.32-100.26.2.el5
kernel-xen-2.6.18-238.0.0.0.1.el5
kernel-uek-devel-2.6.32-100.26.2.el5
I expected to see an rpm of kernel-2.6.32-100.26.2.el5 based on the results of a "uname -a"
Linux foobar.local 2.6.32-100.26.2.el5 #1 SMP Tue Jan 18 20:11:49 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
To further confuse matters a listing of the /usr/src/kernels dir lists
ls -l
total 20
drwxr-xr-x 19 root root 4096 Apr 28 2011 2.6.18-238.0.0.0.1.el5-xen-x86_64
lrwxrwxrwx 1 root root 33 Apr 28 2011 2.6.18-238.0.0.0.1.el5xen-x86_64 -> 2.6.18-238.0.0.0.1.el5-xen-x86_64
drwxr-xr-x 22 root root 4096 Apr 28 2011 2.6.32-100.26.2.el5
whereas
rpm -q --whatprovides /boot/vmlinuz-`uname -r`
kernel-uek-2.6.32-100.26.2.el5
I am 99.99 % certain I am not running the UEK kernel but trying to understand the seemingly contradicting information as detailed above.
Thanks987942 wrote:
I welcome any test I can perform to prove empirically whether it is the uek kernel or not.It's definitely the UEK, for the reasons stated above. Oracle Linux 5 Update 6 was the first version of Oracle Linux to ship with the UEK as the default kernel, and we hadn't quite gotten all the naming aspects 100% correct yet. So, the 2.6.32-100 kernel is absolutely a UEK.
So, on a freshly installed Oracle Linux 5 Update 6 box:
# uname -a
Linux localhost.localdomain 2.6.32-100.26.2.el5 #1 SMP Tue Jan 18 20:11:49 EST 2011 x86_64 x86_64 x86_64 GNU/LinuxIf I then upgrade yum (required to get the yum changes to support kernel-uek installs) and then upgrade the box to the latest and reboot:
# yum update yum
# yum update
# rebootWe're now running the latest UEK Release 1 kernel (2.6.32-400.26.2.el5uek) and it identifies itself as such:
# uname -a
Linux localhost.localdomain 2.6.32-400.26.2.el5uek #1 SMP Tue Apr 23 19:04:54 PDT 2013 x86_64 x86_64 x86_64 GNU/LinuxNotice that it now says el5uek in the uname string.
We changed the RPM and kernel identifiers from kernel-uek-2.6.32-100.35.1.el5uek. So, it wasn't in the release of Oracle Linux 5 Update 6, but happened in that update errata cycle. All subsequence releases of the UEK Release 1 (2.6.32) and UEK Release 2 (2.6.39) identify themselves with an el5uek or el6uek marker.
BTW, is there any particular reason you're using a template that has a particularly old version of Oracle Linux 5 instead of using the latest Update 9? You can find Oracle Linux 5 Update 9 templates under the heading "Oracle VM 3 Templates (OVF) for Oracle Linux 5 Media Pack for x86_64 (64 bit)" on the Oracle Software Delivery Cloud. -
Does Oracle Linux Server-uek Kernel support KVM? (OL6)
Hi,
I've installed Oracle Linux 6. Does it support kvm? How do i check if module kvm is running? modprobe kvm does not show me anything, neither in /var/log/messages or dmesg.
Regards
RicardoJust boot with the base kernel... instead of unbreakable enterprise kernel. after that if you modprobe kvm the check dmesg and you'll see something like this:
kvm: 4864: cpu0 unimplemented perfctr wrmsr: 0x186 data 0x530079
Joao -
Oracle Linux Remove Old Kernels
I was just wondering if Oracle Linux by default removes old outdated kernels when I run 'yum update' command? I see new kernels getting installed consistently however I never see any kernels being removed like I expect to see in RHEL as a new kernel is downloaded. Is there a way to see which kernels are installed on my Oracle Linux 6.3 server and how I can remove them so they don't clutter my Grub screen and system?
You can check the grub boot menu, which normally has an entry for all installed kernels:
<pre>
# cat /boot/grub/grub.conf
</pre>
Or query the installed kernel packages:
<pre>
# rpm -qa | grep kernel
</pre>
To remove a kernel, use the YUM utility:
<pre>
# yum remove kernel-package
</pre>
For instance:
<pre>
# rpm -qa | grep kernel
kernel-uek-2.6.32-200.13.1.el5uek
kernel-uek-2.6.32-300.10.1.el5uek
kernel-2.6.18-274.el5
kernel-uek-devel-2.6.32-200.13.1.el5uek
kernel-headers-2.6.18-308.el5
kernel-2.6.18-308.el5
kernel-uek-firmware-2.6.32-300.10.1.el5uek
kernel-uek-devel-2.6.32-300.10.1.el5uek
# uname -r
2.6.32-300.10.1.el5uek
# yum remove kernel-uek-2.6.32-200.13.1.el5uek
</pre>
The example above is for OL 5, but works in OL 6 as well. -
Oracle 9.2.0.6 and kernel 7.0 ?
Can Oracle 9.2.0.6 run with kernel 7.0?
Or does only Oracle 10g run with kernel 7.0?
Can I upgrade the kernel from 640 to 7.0, then later upgrade Oracel from 9.2.0.6 to 10g?Hi William,
"Can Oracle 9.2.0.6 run with kernel 7.0?
Or does only Oracle 10g run with kernel 7.0?
Can I upgrade the kernel from 640 to 7.0, then later upgrade Oracel from 9.2.0.6 to 10g? "
"Can Oracle 9.2.0.6 run with kernel 7.0?
Or does only Oracle 10g run with kernel 7.0?"
From the SAP note:
SAP NetWeaver 2004s and SAP Business Suite 2005
SAP NetWeaver 2004s and the SAP products based on it (for example, ERP 05, SCM 05, SRM 05, CRM 05) will only be released on the basis of Oracle Database 10g. The ramp-up of these products, which began at the end of October 2005, was carried out on the basis of Oracle Version 10.1. The use of Oracle Version 10.1 is also supported for live SAP systems. However, you must use at least Oracle patch release 10.1.0.4.
The 7.0 Kernel is technically NW04s. So the answer to your question is 7.0 only runs on 10g.
"Can I upgrade the kernel from 640 to 7.0, then later upgrade Oracel from 9.2.0.6 to 10g? "
Again I don't think so. What you will have is 7.0 on 9i (which is not supported). What is supported is 6.40 on 10g.
So what you could do is the opposite of the question. Upgrade to 10g then upgrade to 7.0
I guess if I have mis-stated anything others will correct me... -
Installing Oracle Database 11gR2 on Linux with Unbreakable Ente. Kernel
Hello,
I have Oracle Linux 5.5 with Oracle's Unbreakable Enterprise Kernel.
what do I need to have/prepare to install Oracle database 11gR2 on it?
the hardware part and the partitions are done!
1-
Do I need to install/run Oracle Validated Configuration RPM? even if I have Oracle's Unbreakable Enterprise Kernel?
if yes does in means the Oracle's Unbreakable Enterprise Kernel does not prepare/configure the system to host database?
2-
With any of the above
do I still need create or edit the /etc/sysctl.conf file, and add or edit lines similar to the following:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
I saw allot of docs out there, but none answered these questions!
so please do not post docs or links to a general sites!
Thank you for the helpDude wrote:
The intention of Oracle UEK is quite obviously Oracle specific, so I think it is legitimate to ask why not to include the Oracle specific kernel configuration file. The UEK is a drop-in replacement for the existing kernel. Why would we include the oracle-validated configuration options into the kernel package when we already have a perfectly good oracle-validated RPM that can be used with both kernels? Also, the UEK may be Oracle specific, but it's not database specific. Keep in mind that Oracle has thousands and thousands of products. :) I run the UEK on lots and lots of servers, many of which don't run database and many of which have completely different /etc/sysctl.conf configurations.
The list of available packages and add-on's at http://public-yum.oracle.com/repo/OracleLinux/OL5/5/base/x86_64/ is growing. So perhaps it's just a matter of continued development.
Not sure what the point of this statement is: there are no plans to incorporate the oracle-validated configuration into the kernel, as it already exists in oracle-validated. -
Can't install oracle-validated with kernel-PAE
I can't install oracle-validated when using kernel-PAE.... Anyone help?
Take a look at the following actions:
[root@db ~]# up2date -i oracle-validated
Fetching Obsoletes list for channel: el5_i386_latest...
Fetching rpm headers...
Name Version Rel
oracle-validated 1.0.0 18.el5 i386
Testing package set / solving RPM inter-dependencies...
There was a package dependency problem. The message was:
Unresolvable chain of dependencies:
glibc-headers 2.5-34 requires kernel-headers
glibc-headers-2.5-34 requires kernel-headers >= 2.2.1
oracle-validated 1.0.0-18.el5 requires kernel-headers
The following packages were added to your selection to satisfy dependencies:
Package Required by
gcc-4.1.2-44.el5.i386 oracle-validated-1.0.0-18.el5 gcc
gcc-c++-4.1.2-44.el5.i386 oracle-validated-1.0.0-18.el5 gcc-c++
libstdc++-devel-4.1.2-44.el5.i386 oracle-validated-1.0.0-18.el5 libstdc++-devel
[root@db ~]# rpm -q kernel-PAE
kernel-PAE-2.6.18-92.el5
kernel-PAE-2.6.18-128.1.10.0.1.el5
[root@db ~]# Best Regards,
JoaoProblem was that up2date config had marked to not install kernel* packages :)
ran up2date-config and removed that ...
Regards
Joao Oliveira -
Hello,
do Oracle Database 9iR2 and 10g run on Kernel 2.6?
ByeHi William,
"Can Oracle 9.2.0.6 run with kernel 7.0?
Or does only Oracle 10g run with kernel 7.0?
Can I upgrade the kernel from 640 to 7.0, then later upgrade Oracel from 9.2.0.6 to 10g? "
"Can Oracle 9.2.0.6 run with kernel 7.0?
Or does only Oracle 10g run with kernel 7.0?"
From the SAP note:
SAP NetWeaver 2004s and SAP Business Suite 2005
SAP NetWeaver 2004s and the SAP products based on it (for example, ERP 05, SCM 05, SRM 05, CRM 05) will only be released on the basis of Oracle Database 10g. The ramp-up of these products, which began at the end of October 2005, was carried out on the basis of Oracle Version 10.1. The use of Oracle Version 10.1 is also supported for live SAP systems. However, you must use at least Oracle patch release 10.1.0.4.
The 7.0 Kernel is technically NW04s. So the answer to your question is 7.0 only runs on 10g.
"Can I upgrade the kernel from 640 to 7.0, then later upgrade Oracel from 9.2.0.6 to 10g? "
Again I don't think so. What you will have is 7.0 on 9i (which is not supported). What is supported is 6.40 on 10g.
So what you could do is the opposite of the question. Upgrade to 10g then upgrade to 7.0
I guess if I have mis-stated anything others will correct me... -
How do you recompile the kernel for oracle linux 6.3
Hello,
I have installed Oracle linux 6.3 default settings on x86_64 bit pc
I have some questions:
1. What public yum repositories contain the oracle linux 6.3 kernel source code ?
2. Is the oracle linux 6.3 kernel source code on OracleLinux-R6-U3-src-dvd1.iso or OracleLinux-R6-U3-src-dvd2.iso , can I use this to recompile a new kernel ?
3. Do you have the steps/commands needed to set options and compile a installable kernel[rpm] on oracle linux 6.3 x86_64.
4. What gui tools are available in the desktop to manage settings e.g sound/volume or to install additional gui utilities.
5. Is there some documentation help on using the oracle linux desktop ?. If so where is it located .
Thankyou
GlennGlenn D. wrote:
1. What public yum repositories contain the oracle linux 6.3 kernel source code ?None of them. The Oracle Linux kernel source code can be found here:
https://oss.oracle.com/ol6/SRPMS/
https://oss.oracle.com/ol6/SRPMS-updates/
And our git repositories are here:
https://oss.oracle.com/git/
The default kernel in OL6.3 is here:
https://oss.oracle.com/git/?p=linux-uek-2.6.39.git;a=summary
2. Is the oracle linux 6.3 kernel source code on OracleLinux-R6-U3-src-dvd1.iso or OracleLinux-R6-U3-src-dvd2.iso , can I use this to recompile a new kernel ?Actually, I have no idea which DVD the source code is on.
3. Do you have the steps/commands needed to set options and compile a installable kernel[rpm] on oracle linux 6.3 x86_64.No, you'd need to decide that for yourself. The kernel source is complex and can be very tricky to recompile.
4. What gui tools are available in the desktop to manage settings e.g sound/volume or to install additional gui utilities.Wow, topic shift. GNOME Control Center manages settings and installing new utilities is done by Pirut.
5. Is there some documentation help on using the oracle linux desktop ?. If so where is it located .Oracle Linux isn't intended to be used as a desktop. All the documentation is here:
https://linux.oracle.com/documentation/
http://docs.oracle.com/cd/E37670_01/index.html -
Oracle Linux 5.6 - Do I need to keep the xen kernel ?
I am using the Oracle Linux 5.6 kernel 2.6.32-100.26.2.el5 also know as the UEK Release 1 in an OVM x86_64 environment.
Question: Since the Guests are paravirtualized and require Xen specifc I/O drives ( network, disk, etc. ) does that mean I need to keep the Xen kernel rpms, i.e.,
kernel-xen-2.6.18-238.0.0.0.1.el5
kernel-xen-devel-2.6.18-238.0.0.0.1.el5
and this entry in /boot/grub/grub.conf
title Oracle Linux Server (2.6.18-238.0.0.0.1.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.0.0.0.1.el5xen ro root=LABEL=/ numa=off
initrd /initrd-2.6.18-238.0.0.0.1.el5xen.img
The main driver for this question is I am trying to determine if these rpms are accessed in any way when the UEK Release 1 is in use. If so, then I will need
to heed to the Security Scan results against the xen kernel version otherwise I will ignore them and move forward.
Thanks
Mark E. LLoyd
Data Center Technology
AccentureThe following is from the OL 6.5 release notes:
https://oss.oracle.com/el5/docs/RELEASE-NOTES-U6-en.html
Hardware virtualized guest with kernel-uek-2.6.32-100.35.1.el5uek and higher
Unbreakable Enterprise Kernel version kernel-uek-2.6.32-100.35.1 adds support for paravirtualized drivers in a harware virtualized guest on Oracle VM. Starting this kernel version hardware virtualized guests which are not configured to use paravirtualized drivers will need an additional kernel boot parameter "xen_emul_unplug=never" in /etc/grub.conf:
kernel /vmlinuz-2.6.32-100.35.1.el5uek ro root=/dev/VolGroup00/LogVol00 xen_emul_unplug=never
With kernel-uek-2.6.32-100.35.1 and higher, the default is to present only paravirtualized drivers when running in a hardware virtualized guest on Oracle VM. Adding this kernel boot parameter makes the kernel also present the emulated drivers as it did before (e.g. the 8139cp network driver may no longer load if this parameter is not set).
Older version of Unbreakable Enterprise Kernel do not have support for hardware virtualized guest that uses paravirtualized drivers (PVHVM). -
Unbreakable Oracle 5.5 kernel and Lustre 2.0 GA?
Does anyone know if the new Lustre 2.0 GA rpms are compatible with a fully up to date Unbreakable Oracle Linux 5.5 kernel? I'd like to be able to use the most current Lustre on Unbreakable Linux 5.5 for a project I'm working on.
Any feedback is appreciated.Not according to: http://wiki.lustre.org/manual/LustreManual20_HTML/LustreInstallation.html#50548845_pgfId-1291694
-
Hi Gurus
i want to install SAP ECC5.0 IDES version on RHEL 5.2 X86_64 bit Unicode oracle.
so i dowloaded these files...
but i could not able to find SAP Kernel 6.40 Oracle for RHEL 5.2 X86_64.
while entering the path for kernel it is asking :
Found the Label ORACLE:AKK:6.40:KERNEL:SAP Kernel 6.40 ORacle: LINUXIA64_64:CD51030xxx but need the label ORACLE:AKK:6.40:UKERNEL::LINEXX86_64**
1)--51033746_9 Installation Master 6.20/6.40 Linux on x86_64 64bit
2)--51031332_1 DVD IDES SAP ERP 2004 Install. Export 1 of 21
........ to
51031332_9 DVD IDES SAP ERP 2004 Install. Export 21 of 21
3)--51030850 "DVD ORACLE RDBMS 9.2 LINUX/IA64
51030362 "DVD ORACLE RDBMS 9.2 LINUX"
51031017_2 Oracle 9.2.0.5 Patch DVD LINUXIA64
4)--51030763_9 SAP Kernel 6.40 Oracle LINUXIA64_64
Are my downloads are correct..? then where can i get UKERNEL for Linux x86_64.
Thanks in advance
BALAJIhi Balaji,
The installation master and export is ok.
kernel
51031035 - CD NW04 SR1 6.40 Kernel ORACLE LINUXX86
Oracle
51030971_1 - Oracle 9.2 RDBMS Software Disk1 for Linux x86_64
51030971_2 - Oracle 9.2 RDBMS Software Disk2 for Linux x86_64
51030971_3 - Oracle 9.2 RDBMS Software Disk3 for Linux x86_64
51030971_4 - Oracle 9.2 Patchset 6 for Linux x86_64
Oracle 9 is no more supported by SAP.
I gues you can go ahead with oracle 10.2
regards,
chandru. -
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Version: B
Author: Dude, 24. May 2011
The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
Access to the Internet is required.
The instructions cover the following additional topics:
- Converting Red Hat based Oracle XE installer to Ubuntu.
- Work-around for missing /sbin/chkconfig tool.
- Install Oracle XE into a different directory or disk volume.
- Relocate and configure the Oracle user and default login directory.
- Uninstall, reconfigure and perform first database backup.
- Notes and web links.
- Troubleshooting
h3. A) System Setup and Prerequisites
h4. A.1. System Access
You will need terminal command line, root and system console access to perform the setup tasks.
To open a Terminal at the system console:
Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
sudo apt-get install openssh-server
sudo passwd root
Verify:
ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
The following is required in order to install Oracle 11gR2 XE:
sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
sudo apt-get install vimh4. A.3. System Swap space
Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
To analyze current swap space and memory configuration:
sudo cat /proc/meminfo
To install a 1 GB swapfile named swapfile in /, for example:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
(this may take a while)
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.orig
sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
Verify:
sudo swapon -a
sudo swapon -sh4. A.4. Kernel Parameters
Oracle 11g XE requires the following additional kernel parameters:
sudo nano /etc/sysctl.d/60-oracle.conf
(Enter the following)
# Oracle 11g XE kernel parameters
fs.file-max=6815744
net.ipv4.ip_local_port_range=9000 65000
kernel.sem=250 32000 100 128
kernel.shmmax=536870912
(Save the file)
Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
Verify: sudo cat /etc/sysctl.d/60-oracle.conf
Load new kernel parameters:
sudo service procps start
Verify:
sudo sysctl -q fs.file-max
-> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
Install Oracle XE to separate disk volume:
From the system console menu: System > Administration > Disk Utility
Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
Notice the device name e.g. /dev/sdb
Get the drive UUID:
sudo blkid
e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
Modify /etc/fstab to automatically mount the volume at system startup:
sudo cp /etc/fstab /etc/fstab.original
sudo nano /etc/fstab
(Add the following, using determined UUID, for exmple)
UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
(Save the file)
Create the mount-point, mount the new volume and set ownership and privileges:
sudo mkdir /u01
sudo mount -a
sudo chown root:root /u01
sudo chmod 755 /u01
Verify:
df -h
or restart the systemYou can also install Oracle XE into a specific directory:
Create a symbolic link to store the installation into an existing directory, for instance:
sudo mkdir /home/oracle-xe
sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
Please see section E.3. to download the Oracle 11gR2 XE installer.
Select the version listed for Linux x64.
sudo unzip linux.x64_11gR2_OracleXE.zip
sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
(This may take a while)h4. C.2. Create a special chkconfig script
The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
Create /sbin/chconfig:
sudo nano /sbin/chkconfig
(Cut and paste the following)
#!/bin/bash
# Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
file=/etc/init.d/oracle-xe
if [[ ! `tail -n1 $file | grep INIT` ]]; then
echo >> $file
echo '### BEGIN INIT INFO' >> $file
echo '# Provides: OracleXE' >> $file
echo '# Required-Start: $remote_fs $syslog' >> $file
echo '# Required-Stop: $remote_fs $syslog' >> $file
echo '# Default-Start: 2 3 4 5' >> $file
echo '# Default-Stop: 0 1 6' >> $file
echo '# Short-Description: Oracle 11g Express Edition' >> $file
echo '### END INIT INFO' >> $file
fi
update-rc.d oracle-xe defaults 80 01
(Save the file)
Set appropriate execute privileges:
chmod 755 /sbin/chkconfig
Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
h4. C.3. Install and configure Oracle XE
sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
/etc/init.d/oracle-xe configure
(This will take a while)
Remove the /sbin/chkconfig script, which is no longer needed.
sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
Exit all Oracle user sessions:
sudo /etc/init.d/oracle-xe stop
sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
sudo userdel oracle
sudo useradd -s /bin/bash -G dba -g dba -m oracle
sudo passwd oracle
Verify:
sudo id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
It is not essential to allow the Oracle user to use sudo, but it is convenient:
usermod -G admin oracle
Verify:
id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
sudo su -
-> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
The following will correct the problem if necessary:
Login as user Oracle or use:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following command:
EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
exith3. D) Unintstall, Reconfigure and Troubleshooting
h4. D.1. Uninstall Oracle 11g XE
The following will completely uninstall and remove Oracle 11g XE:
Login as user root:
sudo su -
/etc/init.d/oracle-xe stop
dpkg --purge oracle-xe
rm -r /u01/app
rm /etc/default/oracle-xe
update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
Type the following in a terminal window:
/etc/init.d/oracle-xe stop
sudo rm /etc/default/oracle-xe
/etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
Login as user Oracle:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following commands:
shutdown immediate
startup mount
alter database archivelog;
alter database open;
exit
Login to system console of the Oracle user account:
Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
h4. E.1. Oracle 11g XE limitiations overview
- It will consume, at most, processing resources equivalent to one CPU.
- Only one installation of Oracle Database XE can be performed on a single computer.
- The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
- The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
- HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
h4. E.2. Documentation and Links
Official documentation for Oracle 11gR2 XE can be found at:
http://www.oracle.com/pls/xe112/homepage
h4. E.3. Oracle 11g XE downloads
The Installer is available from the Oracle Technology Network at:
http://www.oracle.com/technology/products/database/xe
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
h4. E.4 APEX links and archives
The APEX archives can be found at:
http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
The APEX download site is:
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
h3. F) Troubleshooting
... in progress
Regards and best of luck!
Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
The configuration script tells you "You must be root user to run the configure script. Login as root user and
then run the configure script."
This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems.
Maybe you are looking for
-
Query variable shows up even when "Hide (Can Be Shown)" is checked
BW gurus, When we run a BEX report, a variable needs to be input with value, but when we check the variable property in the BEX design, find under Hide list, there are three list values: 1. Always show 2. Hide (Can Be Shown) 3. Always hide The 2nd on
-
Poor Support for Recovery Media Error.
T'm trying to recovery a Sattelite laptop L675D (part no. PSK3JU-03L02D) for a friend. There was no recovery partion on the machine and it was out of warrenty, so I purchased the recovery media ($29.95). I started the process and it read the 3 CDs an
-
My Macbook Pro is about 4 to 5 years old. I've noticed the last few months that speed was becoming much slower. It slowed to a crawl last week and won't even turn on now. Where can I take my Macbook Pro for service near Jackson, Michigan?.
-
Why i cannot redeem itunes card that i bought from another country
WHY !
-
HT204490 bluetooth connectivity issue - Yosemite10.10.3 update
The bluetooth connectivity issue still remains unresolved even after Yosemite 10.10.3 update. Any help will be appreciated.