Operating System - HP-UX
1831237 Members
2756 Online
110021 Solutions
New Discussion

Steps to install software in /opt

 
mohd hashimi
Occasional Contributor

Steps to install software in /opt

hi all ...

I really need help from the masters ...

recently i recover my hpux 11.11i system using make_tape_recovery ... unfortunately cause of the lacking of knowledge in recovery i just left the server unattended while the single user mode is booting to the tape ...

after the recovery .. it automatically reboot and it manages to boot on init 3.
i felt relief but when executing the bdf command .. on the /opt is was only 1%.

can some one pls show me how i can install back all my software from the dvd that i got from hpux ..
this is the docomentation from my previus running well server ....

# Bundle(s):
#

B5725AA B.3.6.82 HP-UX Installation Utilities (Ign
ite-UX)
B9788AA 1.3.1.02.00 Java 2 SDK 1.3 for HP-UX (700/800
), PA1.1 + PA2.0 Add On
BUNDLE B.11.11 Patch Bundle
BUNDLE11i B.11.11.0102.2 Required Patch Bundle for HP-UX 1
1i, February 2001
Base-VXVM B.03.20.1 Base VERITAS Volume Manager 3.2 f
or HP-UX
CDE-English B.11.11 English CDE Environment
FDDI-00 B.11.11.02 PCI FDDI;Supptd HW=A3739A/A3739B;
SW=J3626AA
FibrChanl-00 B.11.11.09 PCI/HSC FibreChannel;Supptd HW=A6
684A,A6685A,A5158A,A6795A
GOLDAPPS11i B.11.11.0112.6 Gold Applications Patches for HP-
UX 11i, December 2001
GOLDBASE11i B.11.11.0112.6 Gold Base Patches for HP-UX 11i,
December 2001
GigEther-00 B.11.11.14 PCI/HSC GigEther;Supptd HW=A4926A
/A4929A/A4924A/A4925A;SW=J1642AA
GigEther-01 B.11.11.02 PCI/PCI-X GigEther;Supptd HW=A679
4A
HPUX11i-OE B.11.11.0203 HP-UX 11i Operating Environment C
omponent
HPUXBase64 B.11.11 HP-UX 64-bit Base OS
HPUXBaseAux B.11.11.0203 HP-UX Base OS Auxiliary
HWEnable11i B.11.11.0203.4 Hardware Enablement Patches for H
P-UX 11i, March 2002
Ignite-UX-11-11 B.3.6.82 HP-UX Installation Utilities for
Installing 11.11 Systems
OnlineDiag B.11.11.06.09 HPUX 11.11 Support Tools Bundle,
Mar 2002
RAID-00 B.11.11.01 PCI RAID; Supptd HW=A5856A
T1456AA 1.4.2.09.02 Java2 1.4 SDK for HP-UX
T1457AA 1.4.2.10.00 Java2 1.4 RTE for HP-UX
ixNet-SNMP A.08.00-5.3.1 Simple Network Monitoring protoco
l
perl B.5.6.1.C Perl Programming Language
#

I have tried using the dvd packages i got when puchsing the server. I installed using diagnose and tested installed patch dvd but the result is unpromissing ...

as attached this is the log from swinstall.log

tq sooo much for the cooperation in reading my problem and tring to diagnose it ...

pls show the way for me to install my sw back ...
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Steps to install software in /opt

Shalom,

Unless you plan on trying to alter the install location, just swinstall.

Perl for example will by default install into /opt

swinstall -s \*

Nothing really to do there.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: Steps to install software in /opt

What command did you use to make your recovery tape (exact syntax, please). Depending on the command you use, all of /opt should be on the tape and should be recovered.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Steps to install software in /opt

Hi:

So what software (if any) do you find in '/opt'. Perl and Ignite should be there. The majority of what you show otherwise lives in '/usr'.

Post the EXACT syntax of the Ignite make_tape_recovery command that you used to create your recovery tape.

Regards!

...JRF...
Geoff Wild
Honored Contributor

Re: Steps to install software in /opt

Unless for some reason, /opt wasn't in vg00???

Course, you also have an OS backup as well right? You could recover /opt from your OS backup.


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
A. Clay Stephenson
Acclaimed Contributor

Re: Steps to install software in /opt

One of the things that might have happened is that all the software actually did get installed in /opt and then the filesystem was mounted on /opt and everything disappeared. I would reboot in single-user and see if /opt is now populated.

I could not open your attachment.
If it ain't broke, I can fix that.
mohd hashimi
Occasional Contributor

Re: Steps to install software in /opt

hi all ..

thanks for replying

first of all ..
my server rp5470 suffered this problem
"crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000013"

i try to reboot the server and hoping that it runs as it is ..
but the unfortunately ..
every line in booting in init 3 prompt the error message ...

then i tried to boot using single user mode
i tried to change the permission of the file dld.sl but when evecuting command it prompt the message again ..

in the single mode (bo pri)i manage to mount the /opt. every sw installed is there ..
but when i tried to ls -lisa it prompted again the error message ...

its kind of hard trying to execute command the message keep prompting out .. my vendors tried to solve this but they arent getting any solution ..

the only thing i had is my make_tape_recovery ... to all the masters i will get the command tomorrow at my office..

so i tried to boot on the tape (BO P0) and i managed to get the server booting init 3.

the question i keep asking my mind is the hpux OS installed ...?

after booting in init 3 ..
i have to re set the PATH env;
re set the term; which i got for the same server using .profile

i can ftp, telnet from remote;

then i come-up with this question ..
how do i install the Bundle11i, FDDI, HWEnable11i, and etc as before ..

i tried use the DVD given but i dont know which of which DVD should i put into and which DVD should i start with ..

im planning on doing patching of the server this saturday but the patch i got using swainv is for the previous one ..

on the backup i just backup a part of the opt that is /opt/tomcat ...

as what left in the /opt i will get back the soonest as possible tomorrow morning

thanks again for the good response.
mohd hashimi
Occasional Contributor

Re: Steps to install software in /opt

hi ..

results from bdf

/dev/vg00/lvol6 933888 7064 868961 1% /opt

results from ls -lisa /opt

/-> ls -lisa /opt
total 4
2 2 dr-xrwxr-x 12 bin bin 1024 May 12 22:01 .
2 2 drwxr-xr-x 19 root root 1024 May 16 19:41 ..
95 0 dr-xr-xr-x 4 bin bin 96 May 15 2002 Migration
40 0 dr-xr-xr-x 3 bin bin 96 May 15 2002 audio
27 0 drwxr-xr-x 5 root users 96 May 15 2002 cifsclient
4 0 dr-xr-xr-x 6 bin bin 96 Nov 16 2000 dce
265 0 drwxr-xr-x 3 root root 96 May 12 22:01 dcelocal
50 0 dr-xr-xr-x 3 bin bin 96 May 15 2002 fcms
57 0 dr-xr-xr-x 3 bin bin 96 Nov 16 2000 image
3 0 drwxr-xr-x 2 root root 96 May 12 21:37 lost+found
46 0 dr-xr-xr-x 3 bin bin 96 May 15 2002 snia
267 0 drwxr-xr-x 3 root root 96 May 12 22:01 webadmin

the command i use for make_tape_recovery;

make_tape_recovery -A -d /dev/rmt/0m