Hello List, i have been trying for quite some time now to get Oracle 9i to work in a virtual machine and so far have failed every time. I did manage to install it by now but whenever i try to create a database or start the server Oracle complains about an "*ORA-27123:*unable to attach to shared memory segment" error. I do know this error from other oracle installs under debian that i have done and what usually does the trick is /echo 2147483648 > ///proc/sys/kernel///shmmax/ /echo 100 32000 100 100 > ///proc/sys/kernel///sem/ /Unfortunately this does not help in a DomU. The Error remains the same. To find the error I also tried it in the Dom0 and here it works./ /So i guess it must be something either in the kernel (i have a seperate domU kernel) or it wont work because of xen itself./ /Has someone been able to install oracle 9i in a virtual machine or has ideas that i could try out to get this working?/ /Any hints would be greatly appreciated!/ /Thanks,/ /Patrick/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Patrick, This problem is related to SGA size. Set proper SGA size may solve this problem. Can you provide the following information so that I can debug on my machine? 1. Linux Distribution Version 2. Kernel Version 3. Xen Version Thanks. Best Regard, James He Oracle OARDC Hello List,> > i have been trying for quite some time now to get Oracle 9i to work in a > virtual machine and so far have failed every time. I did manage to > install it by now but whenever i try to create a database or start the > server Oracle complains about an "*ORA-27123:*unable to attach to shared > memory segment" error. > I do know this error from other oracle installs under debian that i have > done and what usually does the trick is > /echo 2147483648 > ///proc/sys/kernel///shmmax/ > /echo 100 32000 100 100 > ///proc/sys/kernel///sem/ > > /Unfortunately this does not help in a DomU. The Error remains the same. > To find the error I also tried it in the Dom0 and here it works./ > /So i guess it must be something either in the kernel (i have a seperate > domU kernel) or it wont work because of xen itself./ > > /Has someone been able to install oracle 9i in a virtual machine or has > ideas that i could try out to get this working?/ > /Any hints would be greatly appreciated!/ > > /Thanks,/ > > /Patrick/ > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 7 Nov 2006 at 17:24, Patrick Meisel wrote:> /Has someone been able to install oracle 9i in a virtual machine or has > ideas that i could try out to get this working?/For SLES10 x86_64 I have a SAP application server which deals with around 6GB of RAM. SLES features a "sapinit" for SAP, and there''s also some Oracle "glue package" (which name I can''t remember). As you can get SLES10 at download costs, you might give it a try... Ulrich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello James, thanks for helping. I am using debian sarge both in Dom0 and DomU. Currently i am working with xen 3.0.3 (Kernel 2.6.16.29) but i had the same problem with xen 3.0.0 (Kernel 2.6.12.6). The Problem arises when trying to create the database with dbca. Patrick james he schrieb:> Hello Patrick, > > This problem is related to SGA size. Set proper SGA size may solve > this problem. > Can you provide the following information so that I can debug on my > machine? > 1. Linux Distribution Version > 2. Kernel Version > 3. Xen Version > Thanks. > > Best Regard, > > James He > > Oracle OARDC > > > Hello List, > > i have been trying for quite some time now to get Oracle 9i to > work in a > virtual machine and so far have failed every time. I did manage to > install it by now but whenever i try to create a database or start > the > server Oracle complains about an "*ORA-27123:*unable to attach to > shared > memory segment" error. > I do know this error from other oracle installs under debian that > i have > done and what usually does the trick is > echo 2147483648 > /proc/sys/kernel/shmmax/ > echo 100 32000 100 100 > /proc/sys/kernel/sem/ > > Unfortunately this does not help in a DomU. The Error remains the > same. > To find the error I also tried it in the Dom0 and here it works. > So i guess it must be something either in the kernel (i have a > seperate > domU kernel) or it wont work because of xen itself. > > Has someone been able to install oracle 9i in a virtual machine or has > ideas that i could try out to get this working? > Any hints would be greatly appreciated! > > Thanks, > > Patrick >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Patrick, Have you solved your problem yet? I set up a test environment with debian sarge (Dom0/U) with xen 3.0.3 on a x86 box and install oracle 9i on the domU. I can create database with dbca. Did you check the dbca log? Maybe you can find some hint in the log. Here is the config file and kernel parameters I used. config for guestOS ------------------------- name="debian" kernel="/boot/vmlinuz-2.6-xenU" root="/dev/hda1" memory=512 disk=[''file:/vserver/debian.img,hda1,w'',''file:/vserver/debian-swap.img ,hda2,w'',''file:/vserver/debian-db.img,hda3,w''] vcpu=2 vif=[ '''',''bridge=xenbr0'' ] dhcp="dhcp" extra="3" ------------------------- Kernel parameter ------------------------- kernel.sem=100 32000 100 128 kernel.shmall=2097152 kernel.shmmax=268435456 kernel.shmmni=4096 fs.file-max=65536 ------------------------- Best Regard, James 2006/11/8, Patrick Meisel <meisel@denkformat.de>:> > Hello James, > > thanks for helping. I am using debian sarge both in Dom0 and DomU. > Currently i am working with xen 3.0.3 (Kernel 2.6.16.29) but i had the > same problem with xen 3.0.0 (Kernel 2.6.12.6). > The Problem arises when trying to create the database with dbca. > > Patrick > > > james he schrieb: > > Hello Patrick, > > > > This problem is related to SGA size. Set proper SGA size may solve > > this problem. > > Can you provide the following information so that I can debug on my > > machine? > > 1. Linux Distribution Version > > 2. Kernel Version > > 3. Xen Version > > Thanks. > > > > Best Regard, > > > > James He > > > > Oracle OARDC > > > > > > Hello List, > > > > i have been trying for quite some time now to get Oracle 9i to > > work in a > > virtual machine and so far have failed every time. I did manage to > > install it by now but whenever i try to create a database or start > > the > > server Oracle complains about an "*ORA-27123:*unable to attach to > > shared > > memory segment" error. > > I do know this error from other oracle installs under debian that > > i have > > done and what usually does the trick is > > echo 2147483648 > /proc/sys/kernel/shmmax/ > > echo 100 32000 100 100 > /proc/sys/kernel/sem/ > > > > Unfortunately this does not help in a DomU. The Error remains the > > same. > > To find the error I also tried it in the Dom0 and here it works. > > So i guess it must be something either in the kernel (i have a > > seperate > > domU kernel) or it wont work because of xen itself. > > > > Has someone been able to install oracle 9i in a virtual machine or > has > > ideas that i could try out to get this working? > > Any hints would be greatly appreciated! > > > > Thanks, > > > > Patrick > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users