Operating System - HP-UX
1751945 Members
4817 Online
108783 Solutions
New Discussion юеВ

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

 
Henrique Silva_3
Regular Advisor

Problems installing Oracle 8.1.1 on HPUX 11 32 bit system


Hello everyone.

We got a K420 with 512 MB memorty, one CPU, and the firmware only allowed us to install the 32 bit version of HPUX 11 ( we are looking to upgrade it ).

Installed all patches known to us, set up the kernel parameters, the OFA, environments BUT, when trying to install oracle from media or from the /disk1, /disk2 setup, we ALWAYS get the same errors. It does not matter if it is a typycal, minimum,custom install.

"Error in writing to file /opt/apps/oracle/product/8.1.7/javavm/admin/classes.bin
"
after making sure the file exists and is writable by oracle, we retry and get an error. We ignore it and go on, but then, have TONS of errors coming on the linking phase. The install finishes, but the database assistant fails when trying to create a starter database, saying that the ORACLE_HOME environment is not set correctly, which it is !!!!
I have installed every patch I can, free up enough disk space on /tmp ( over 500 MB ) double check kernel parameters, environments, changed source and destination locations on the many disks we have ( hfs file systems BTW ), but ALWAYS have the same problem.
when trying to copying the second oracle disk over to disk, we have a directory under stage that has no permissions and can not be copied.

My question here is. Could this be a media problem ? Why would it not be able to write to the classes.bin file in the drive ????

Any help here is appreciated.

Thanks,

Henrique Silva
"to be or not to be, what was the question ???? "
17 REPLIES 17
jok llamera
Advisor

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

how do you mount the CD?

joks
Excelence is not an act but a hobby
Steven Gillard_2
Honored Contributor

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

Lots of Oracle installation problems occur due to incorrect kernel parameters and/or patch levels. Can you start by posting the output to kmtune? The ones to focus on are maxdsiz, sem* and shm*.

Regards,
Steve
Henrique Silva_3
Regular Advisor

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

The cds were pfs mounted, as per installation instructions. I tried to install it using the cds at first, but after a coupe failures, I copied the contents to /disk1 and /disk2, but continue to get the same errors.

I am attaching the kernel parameters and a list of all patches installed on this server.

The kernel parameters are set as per installation instructions, but since this is a fresh install of hpux 11 32 bit from September 11, 2001 CDs, I am not sure about the patches. I installed a bunch of patches that oracle wants, and a buddy tells me that all the patches he could find regarding hpux 11 are installed, but the puzzle continues to be, WHY the classes.bin file can not be written to during installation. If it was media related, I would think you could not READ from it, as opposed to writing to a disk. BTW, I changed the target disk 4 times, and it always has the same problems.

another thing that leads me to believe that we might still be missing a patch, is that when I put a process on the background, it does not show the name of such process. When you do "jobs", it says "job name not known", but the job is running.

I think the install was the base hpux 11, and other modules were installed afterwards. Swap space is 1 GB and I have just added another 2 GB from a file system.

There are only 512 MB of ram on this server, but I am not getting any messages saying that the installation is failing for lack of disk space or ram. As a matter a fact, the installation finishes, if you ignore all the errors during the linking phase, but the big one is the "not being able to write to the classes.bin file "

Thank you,

Henrique Silva
"to be or not to be, what was the question ???? "
Henrique Silva_3
Regular Advisor

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

these are the patches installed !!!

Henrique Silva
"to be or not to be, what was the question ???? "
Steven Gillard_2
Honored Contributor

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

You look like you're patched fairly well up to date, but I have a couple of suggestions with the kernel parms:

- increase maxdsiz to 256MB at least
- increase maxfiles to 1024, and possibly maxfiles_lim to 2048
- reduce dbc_pct_max to 30 (~150MB buffer cache max), maybe lower depending on what other apps you are running.

Then try the installation again.

Cheers,
Steve
Henrique Silva_3
Regular Advisor

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

Thanks Steven.
I have created a new kernel with the new values and I am running yet another install !!!

If this does not work, we will install hpux 11 , full instead of the base and go from there. The reason we installed the base was the lack of disk space. We did not want to bother with volume groups, so we created a bunch of hfs file systems, and because we only got a 2 GB root file system, we could not fit everything plus the swap space there.

I was thinking of creating a 4 GB /dev/vg00 for installing the full hpux 11, patch it up, and go from there.

One thing I can not understand still, is WHY we get the error that oracle can not write to the classes.bin file during installation ? That is the first error we get and it seems to me that it goes bad from then on. The file exists, is writable by oracle, and we even chmod 777 on it, I moved it and tried the retry and it DOES crteate a new file, but still gives the error message back.
COULD IT BE THE MEDIA ????

Anyways, I will let you know in 45 minutes or so if we got this error again !!!

Cheers,

Henrique Silva
"to be or not to be, what was the question ???? "
Steven Gillard_2
Honored Contributor

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

My guess would be that this error occurs because the installer process hits the soft maxfiles limit of 60 open files when it is trying to write this file.

Hopefully I'm right and it all works for you this time! :)

Regards,
Steve
Henrique Silva_3
Regular Advisor

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

close but no cigar :-((((

The install just failed with the same error message !!!!

I am puzzled here, and since I do not have another media to install from, I will rebuild the OS and order another media now, to see if we get it by early next week and try this again !!!!

ANY MORE IDEAS OUT THERE ????

Thanks,

Henrique

PS.: INSTALLING SYBASE IS MUCH, MUCH EASIER THAN THIS !!!! :-((
"to be or not to be, what was the question ???? "
Erik Trolle
New Member

Re: Problems installing Oracle 8.1.1 on HPUX 11 32 bit system

I remember a problem with the length of the full path names of the files, when installing Oracle from CD-ROM. Have forgotten the details, though, but an idea is to install under /8.1.7 rather than /opt/apps/oracle/product/8.1.7