Trying to install Oracle 10gR2 client
-
- Newbie
- Posts: 4
- Joined: Sat Mar 07, 2009 4:26 pm
Trying to install Oracle 10gR2 client
Well, I have been trying to see if I can get the installer for the Oracle 10gR2 Client to install. (Available from here: http://www.oracle.com/technology/softwa ... nsoft.html )
The first problem I encountered was some kind of JRE DirectDraw problem that I can work around with an extra command line parameter (setup -J-Dsun.java2d.noddraw=true). This gets the installer to run.
But what has me stumped is that when it starts the actual installation process of creating folders and copying files, it modifies the file permissions - in such a way that it can no longer write to the folder! And the installer bombs out.
I think the idea is, when installing under Windows, it is trying to make sure "SYSTEM" has full access, but appears to do that by removing "Everyone" and adding specific groups.
Anyway, I am looking for any possible workaround. Is there some way to tell Wine not to mess with file permissions?
I tried changing the owner of the folder beforehand but since it looks like an NTFS drive, it expects to be able to manipulate the permissions, and promptly bombs out. Same thing when I pointed it to a FAT drive that doesn't have these kinds of permissions - although the drive still reported as NTFS to Wine. A long time ago there used to be a way to specify the file system type for Wine, is there way to tell Wine to report that as a FAT/FAT32 drive currently? The Oracle 10g Client CAN be installed to a FAT drive under Windows and there it doesn't complain about being unable to set permissions.
Any ideas? Thanks.
The first problem I encountered was some kind of JRE DirectDraw problem that I can work around with an extra command line parameter (setup -J-Dsun.java2d.noddraw=true). This gets the installer to run.
But what has me stumped is that when it starts the actual installation process of creating folders and copying files, it modifies the file permissions - in such a way that it can no longer write to the folder! And the installer bombs out.
I think the idea is, when installing under Windows, it is trying to make sure "SYSTEM" has full access, but appears to do that by removing "Everyone" and adding specific groups.
Anyway, I am looking for any possible workaround. Is there some way to tell Wine not to mess with file permissions?
I tried changing the owner of the folder beforehand but since it looks like an NTFS drive, it expects to be able to manipulate the permissions, and promptly bombs out. Same thing when I pointed it to a FAT drive that doesn't have these kinds of permissions - although the drive still reported as NTFS to Wine. A long time ago there used to be a way to specify the file system type for Wine, is there way to tell Wine to report that as a FAT/FAT32 drive currently? The Oracle 10g Client CAN be installed to a FAT drive under Windows and there it doesn't complain about being unable to set permissions.
Any ideas? Thanks.
Trying to install Oracle 10gR2 client
On Sat, 2009-03-07 at 18:46 -0600, JustZisGuy wrote:
It could be on a spare bit of your main drive. If you have no spare
space and can't or don't want to shrink a partition with spare space in
it you could always use an external USB disk to see if that solves the
problem.
Martin
Format a vfat partition and install Oracle there?A long time ago there used to be a way to specify the file system type
for Wine, is there way to tell Wine to report that as a FAT/FAT32
drive currently? The Oracle 10g Client CAN be installed to a FAT drive
under Windows and there it doesn't complain about being unable to set
permissions.
It could be on a spare bit of your main drive. If you have no spare
space and can't or don't want to shrink a partition with spare space in
it you could always use an external USB disk to see if that solves the
problem.
Martin
Re: Trying to install Oracle 10gR2 client
Examples please! On *NIX you can't create directories/files so you yourself won't be able to access at all. You can always change permissions on such files/directories to whatever you need.JustZisGuy wrote:But what has me stumped is that when it starts the actual installation process of creating folders and copying files, it modifies the file permissions - in such a way that it can no longer write to the folder! And the installer bombs out.
-
- Newbie
- Posts: 4
- Joined: Sat Mar 07, 2009 4:26 pm
Re: Trying to install Oracle 10gR2 client
Ok. First from inside Wine just after an attempted install to the destination home directory of "c:\oracle\product\10.2.0\client_1\":Examples please!
Code: Select all
C:\oracle\product\10.2.0>dir
Volume in drive C is
Volume Serial Number is 0000-0000
Directory of C:\oracle\product\10.2.0
3/8/2009 10:56 AM <DIR> .
3/8/2009 10:56 AM <DIR> ..
3/8/2009 10:56 AM <DIR> client_1
0 files 0 bytes
3 directories 6,748,340,224 bytes free
C:\oracle\product\10.2.0>cd client_1
Access denied
C:\oracle\product\10.2.0>copy c:\test.txt c:\oracle\product\10.2.0\client_1\test.txt
Access denied
C:\oracle\product\10.2.0>
Code: Select all
nathan@bignathan:~/.wine/drive_c/oracle/product/10.2.0$ ls -l
total 4
d----wS--- 3 nathan nathan 4096 2009-03-08 10:56 client_1
nathan@bignathan:~/.wine/drive_c/oracle/product/10.2.0$ cp ~/.wine/drive_c/test.txt ~/.wine/drive_c/oracle/product/10.2.0/client_1/test.txt
cp: accessing `/home/nathan/.wine/drive_c/oracle/product/10.2.0/client_1/test.txt': Permission denied
nathan@bignathan:~/.wine/drive_c/oracle/product/10.2.0$
Code: Select all
...
INFO: *** Install Page***
INFO: FastCopy : File Version is Compatible
INFO: Install mode is fastcopy mode for component 'oracle.client' with Install type 'Administrator'.
INFO: HomeSetup JRE files in Scratch :584
INFO: OUI-10125:Unable to write into the Oracle Home you have specified.
And I did try installing it to a FAT partition from Wine, but that didn't help as the installer still thought it was NTFS and tried to set the permissions anyway.
Trying to install Oracle 10gR2 client
On Sun, 2009-03-08 at 11:10 -0500, JustZisGuy wrote:
this.
Oracle itself is available as a Linux port: I've used it there via JBDC
from a Java application running under XP but I don't understand the
structure of the Oracle installation packages or how you want to use it,
so take the following with sa grain of salt.
How about installing Oracle for Linux and configuring it as you would on
a remote server. Then install just the client-side bits under Wine. They
can talk to the Oracle DB server via Linux's internal localhost
network.
If the Client1 package is just the libraries that implement Oracle's
native client interface you should be able to install them on Windows
without the rest of Oracle: after all thats the setup when the client is
a Windows application. So, what happens if you try to install just the
Windows Client1 package under Wine? This should also work if you're
using ODBC rather than the native interface.
Martin
Still thinking slightly out of the box, there might be other ways roundAnd I did try installing it to a FAT partition from Wine, but that
didn't help as the installer still thought it was NTFS and tried to
set the permissions anyway.
this.
Oracle itself is available as a Linux port: I've used it there via JBDC
from a Java application running under XP but I don't understand the
structure of the Oracle installation packages or how you want to use it,
so take the following with sa grain of salt.
How about installing Oracle for Linux and configuring it as you would on
a remote server. Then install just the client-side bits under Wine. They
can talk to the Oracle DB server via Linux's internal localhost
network.
If the Client1 package is just the libraries that implement Oracle's
native client interface you should be able to install them on Windows
without the rest of Oracle: after all thats the setup when the client is
a Windows application. So, what happens if you try to install just the
Windows Client1 package under Wine? This should also work if you're
using ODBC rather than the native interface.
Martin
Re: Trying to install Oracle 10gR2 client
Hm that is messed up... I don't think Wine setting such permissions, unless there is a bug somewhere.JustZisGuy wrote:nathan@bignathan:~/.wine/drive_c/oracle/product/10.2.0$ ls -l
total 4
d----wS--- 3 nathan nathan 4096 2009-03-08 10:56 client_1
I'd say remove your ~/.wine directory (or test with the brand new wineprefix). Run installer as normal user. See what happens. If the problem persist - please file a bug report in Wine's bugzilla.
-
- Newbie
- Posts: 4
- Joined: Sat Mar 07, 2009 4:26 pm
Filed a bug on this: http://bugs.winehq.org/show_bug.cgi?id=17672