Re: packages installations on HP-UX 11.31 (16995 Views)
Reply
Regular Advisor
Nelson Chamba
Posts: 106
Registered: ‎02-23-2011
Message 1 of 15 (17,419 Views)
Accepted Solution

packages installations on hp-ux 11v3

[ Edited ]

Hi Folks,

 

I received a new server with pre-loaded OS (HP-UX 11 v3) and without the the packages listed above. My questions is where do i get them and how do i install them. Do they come on the DVD pack because I already ordered it or there is a apt-get/ports tools that i can use?

 

# Bundle(s):

ixLsof - A.17.00-4.82.001 - Tool to report a list of all open files and the processes that opened them

ixSudo - A.17.00-1.7.6p1.004 - Super User Do

ixXerces-C - A.04.00-2.6.0.002 - Xerces-C C++ Parser

vParProvider - B.11.31.01.01 - vPar Provider HP-UX

 

# Product(s) not contained in a Bundle:

ITorbix - 3.0.1 - CORBA-compliant Object Request Broker

Curl - 7.21.2 - curl

expect - 5.43 - expect

gettext - 0.17 - gettext

heimdal - 1.0.2 - heimdal

libiconv - 1.13.1 - libiconv

libidn - 1.19 - libidn

openldap - 2.4.23 - openldap

openssl - 1.0.0a - openssl

tcltk - 8.4.11 - tcltk

zlib - 1.2.5 - zlib

 

Regards. 

 

HP Pro
sherinchandy
Posts: 12
Registered: ‎10-28-2005
Message 2 of 15 (17,411 Views)

Re: packages installations on hp-ux 11v3

Check in the application software DVD came with the server.

HP Pro
Euan McMaster
Posts: 3
Registered: ‎04-07-2005
Message 3 of 15 (17,409 Views)

Re: packages installations on hp-ux 11v3

Most, if not all, of these are Open Source packages, not distributed by HP.

You can get them at the following web site:

http://hpux.connect.org.uk/

You can also get bash and other useful stuff.

 

There are versions of lsof, sudo, xerces without the ix in front, don't know if you need a specific version.

I believe vParProvider has been replaced by something different. Check the release notes for whichever version of vPars you plan to use. It is now implemented differently, from OS rather than firmware. (or is it the other way round ?) :)

 

If there are any you can't find there, post again and I'll look for them.

Honored Contributor
Duncan Edmonstone
Posts: 5,684
Registered: ‎08-05-2000
Message 4 of 15 (17,405 Views)

Re: packages installations on hp-ux 11v3

Euan has pretty much pointed you in the right direction at hpux.connect.org.uk

 

If your system is connected to the internet then you can install the depothelper package which will ensure when you download and install packages you get all the dependencies with it - see here for more details: http://hpux.connect.org.uk/hppd/answers/5-9.html

 

Those items starting with "ix" are off the HP-UX Internet Express DVD. If you don't have a copy of that amongs your media pack you can get the individual items you need here:

 

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1131


HTH

Duncan
Regular Advisor
Nelson Chamba
Posts: 106
Registered: ‎02-23-2011
Message 5 of 15 (17,220 Views)

Re: packages installations on hp-ux 11v3

Hi folks,

 

thanks for the help, now the questions is how do I install them? there is not a such way i can do it automatically so it can take all the dependencies like apt-get install or like the way we install using FreeBSD ports?

 

If not how do I proceed with the installation.

 

regards

nelson

Acclaimed Contributor
Dennis Handly
Posts: 25,274
Registered: ‎03-06-2006
Message 6 of 15 (17,213 Views)

Re: packages installations on HP-UX 11.31

[ Edited ]

>how do I install them? there is not a such way I can do it automatically so it can take all the dependencies

 

As Duncan mentioned above, there is a depothelper tool to help with dependencies.  It may just help you download all of the depots you need.

Consult the tag cloud or search:

http://h30499.www3.hp.com/t5/tag/depothelper/tg-p

 

After you get all of the depots, you can either install them one at a time with possible problems or you can use swcopy to copy all of them (one at a time) into one big depot.

Then you install just that one.

Regular Advisor
Nelson Chamba
Posts: 106
Registered: ‎02-23-2011
Message 7 of 15 (17,070 Views)

Re: packages installations on HP-UX 11.31

Hi Folks,

 

thank you for the help, i managed to get all the  files but still missing one from this big list of mine:

ITorbix - 3.0-1 - CORBA - Compliant Object Request Broker.

 

Where do i find it?

 

Regards.

Nelson.

Regular Advisor
Nelson Chamba
Posts: 106
Registered: ‎02-23-2011
Message 8 of 15 (17,046 Views)

Re: packages installations on HP-UX 11.31

Hi dear all,
I can´t install the packages, I don´t know what´s wrong but when i run the swinstall -s xxx.depot it takes me to the SAM and there it gives me this error message:
###
Could not contact host "xxxxx.depot". to Make sure the hostname is correct and an absolute pathname is specified (begining with "/")
###

What can i do?
Regards
Acclaimed Contributor
Dennis Handly
Posts: 25,274
Registered: ‎03-06-2006
Message 9 of 15 (17,023 Views)

Re: packages installations on HP-UX 11.31

[ Edited ]

>swinstall -s xxx.depot

 

As the message says, you must use an absolute path:

swinstall -s $PWD/xxx.depot

 

And if you want to install everything there and not go to the GUI, add to the end: \*

Regular Advisor
Nelson Chamba
Posts: 106
Registered: ‎02-23-2011
Message 10 of 15 (17,017 Views)

Re: packages installations on HP-UX 11.31

[ Edited ]

hi,

so you mean install all the patchs at one command?

Now when i want to install i find this error here.

 

The depot owner, system administrator, or alternate root owner may need to use the
"swreg" or "swacl" command to give you permission.  Or, to manage applications
designed and packaged for nonprivileged mode, see the "run_as_superuser" option in
the "sd" man page.

 

I inserted a line on the run_as_superuser on the /var/adm/sw/defaults but nothing happened. I Also reboot the server but nothing, where do i change these permissions?

 

On my system i just have the 2 home directories, one is /var/home and another is on /home and I´m using a user root for all settings.


regards
nelson

Acclaimed Contributor
Dennis Handly
Posts: 25,274
Registered: ‎03-06-2006
Message 11 of 15 (17,014 Views)

Re: packages installations on HP-UX 11.31

>so you mean install all the patches at one command?

 

You can do this by using a for-loop to swcopy each patch into a big depot:

http://h30499.www3.hp.com/t5/Patches/creating-depots/m-p/2928999

 

>where do I change these permissions?

 

Normally you shouldn't have to do this if you are root, unless the depot is on a remote (NFS) filesystem.

Regular Advisor
Nelson Chamba
Posts: 106
Registered: ‎02-23-2011
Message 12 of 15 (17,009 Views)

Re: packages installations on HP-UX 11.31

Hi all,

that´s the point, i´m root and i can´t install. I added the line you suggested on the /var/adm/sw and rebooted the machine but nothing changed, i still can´t install the packages.

Should i create a new user and give him rights to do swinstall? Please I don´t understand what is the problem, please help.

regards
nelson\
Acclaimed Contributor
Torsten.
Posts: 23,450
Registered: ‎10-02-2001
Message 13 of 15 (17,004 Views)

Re: packages installations on HP-UX 11.31

Let's say your depot file mydepot.depot is currently in /tmp, so if you change to /tmp

# cd /tmp

and run

# swinstall -s mydepot.depot

it will not work, but

# swinstall -s /tmp/mydepot.depot

will do it.

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Acclaimed Contributor
Dennis Handly
Posts: 25,274
Registered: ‎03-06-2006
Message 14 of 15 (17,001 Views)

Re: packages installations on HP-UX 11.31

>I added the line you suggested on the /var/adm/sw

 

I'm not sure I suggested changing that at all.  ???

Regular Advisor
Nelson Chamba
Posts: 106
Registered: ‎02-23-2011
Message 15 of 15 (16,995 Views)

Re: packages installations on HP-UX 11.31

Hi Torsten,

that was my mistake. I all the depots are installed and i also installed and configured the depothelper that works fine, it´s a great tool. I´m going to deploy it on all my hp servers.

thanx for all who helped me.

regards
nelson\
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.