Operating System - HP-UX
1820256 Members
2623 Online
109622 Solutions
New Discussion юеВ

how to install lsof depot.

 
SOLVED
Go to solution
Prasad Joshi
Regular Advisor

how to install lsof depot.

Hi all,

I have lsof depot in my root directory.
sliam15:/ # ls -l | grep lsof
-rw-r--r-- 1 root sys 378880 May 19 10:36 lsof-4.77-ia64-11.23.depot


I don't know how to install it.

I tried it with swinstall but, it did not worked.

sliam15:/ # swinstall -s / lsof-4.77-ia64-11.23.depot

======= 05/19/06 10:38:38 IST BEGIN swinstall SESSION
(non-interactive) (jobid=sliam15-0026)

* Session started for user "root@sliam15".

* Beginning Selection
* Target connection succeeded for "sliam15:/".
ERROR: There is currently no depot software on host "sliam15" at
location "/". Make sure that an absolute pathname is specified
for location (beginning with "/").
* Source connection failed for "sliam15:/".
WARNING: More information may be found in the daemon logfile on this
target (default location is sliam15:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 05/19/06 10:38:38 IST END swinstall SESSION (non-interactive)
(jobid=sliam15-0026)

Pl. give me steps required to install this depot.

Thanks in advance.

Thanks & regards,
Prasad.
11 REPLIES 11
Arunvijai_4
Honored Contributor

Re: how to install lsof depot.

Hi Prasad,

You can try two things,

1) Giving absolute path to lsof depot.

# swinstall -s lsof

2) swagentd -r

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Prasad Joshi
Regular Advisor

Re: how to install lsof depot.

Hi Arunvijai,

Thanks for your response. I have given absolute path.
I have depot in the root directory only.

sliam15:/ # swinstall -s $PWD lsof-4.77-ia64-11.23.depot

====== 05/19/06 11:06:45 IST BEGIN swinstall SESSION
(non-interactive) (jobid=sliam15-0030)

* Session started for user "root@sliam15".

* Beginning Selection
* Target connection succeeded for "sliam15:/".
ERROR: There is currently no depot software on host "sliam15" at
location "/". Make sure that an absolute pathname is specified
for location (beginning with "/").
* Source connection failed for "sliam15:/".
WARNING: More information may be found in the daemon logfile on this
target (default location is sliam15:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 05/19/06 11:06:45 IST END swinstall SESSION (non-interactive)
(jobid=sliam15-0030)


sliam15:/ # tail -n 18 /var/adm/sw/swagent.log

======= 05/19/06 11:04:01 IST END install AGENT SESSION (Cancelled)
(pid=15099) (jobid=sliam15-0029)


======= 05/19/06 11:06:45 IST BEGIN install AGENT SESSION (pid=15114)
(jobid=sliam15-0030)

* Agent session started for user
"root@sliam15.vxindia.veritas.com". (pid=15114)
ERROR: This Agent session lost the RPC connection to the Controller
or Target Agent that initiated the session. RPC runtime
detected this lost connection. The session is being shut
down. (pid=15114)

======= 05/19/06 11:06:45 IST END install AGENT SESSION (Cancelled)
(pid=15114) (jobid=sliam15-0030)

Thanks & regards.
Prasad
Arunkumar.B
Trusted Contributor

Re: how to install lsof depot.

Hi Prasad,

1)# /sbin/init.d/swagentd stop
2)# /sbin/init.d/swagentd start

To check the softwares in the depot
# swlist -s /lsof-4.77-ia64-11.23.depot

See whether is there any bundle

#swinstall -s /lsof-4.77-ia64-11.23.depot

If its not happening means pls send /var/adm/sw/swagent.log

Necessity breaks iron
Prasad Joshi
Regular Advisor

Re: how to install lsof depot.

Hi Arunkumar,

sliam15:/ # swlist -s /lsof-4.77-ia64-11.23.depot
# Initializing...
# Contacting target "sliam15"...
#
# Target: sliam15:/lsof-4.77-ia64-11.23.depot
#

#
# No Bundle(s) on sliam15:/lsof-4.77-ia64-11.23.depot
# Product(s):
#

lsof 4.77 lsof

I think there is some error, as it is showing "No Bundkes on sliam15:/lsof-4.77-ia64-11.23.depot"

I have downloaded this depot from http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/

Then unzipped it.
Can you analyse the error?

Thanks & regards,
Prasad
Arunkumar.B
Trusted Contributor

Re: how to install lsof depot.

Hi prasad,

What happens if your try to 'swinstall' interactively and not from the command line

Cheers
Arunkumar.B
Necessity breaks iron
Peter Weibbrecht
Occasional Advisor
Solution

Re: how to install lsof depot.

Hi Prasad,

Your error is only a little blank on the wrong place:

sliam15:/ # swinstall -s / lsof-4.77-ia64-11.23.depot

Please remove the blank between / and lsof-xxx.

The Command for the install without startings th gui would be:

swinstall -x autoreboot=false -s /lsof-4.77-ia64-11.23.depot '*'

hope it helps,

Peter
.... not this machine!!!
rariasn
Honored Contributor

Re: how to install lsof depot.

Hi Prasad,


First,

$ cd to

sliam15:/ # swinstall -s $PWD/lsof-4.77-ia64-11.23.depot

rgs,

ran
Arunkumar.B
Trusted Contributor

Re: how to install lsof depot.

Dear prasad ,

I have downloaded the same from the site which u mentioned i tried install in itanium box .It's saying for install.I will tell what i have done

1)ftp the file /tmp/product
2)gunzip /tmp/product/lsof-4.77-ia64-11.23.depot
3)swlist -s /tmp/product/lsof-4.77-ia64-11.23.depot
4)Its shown the same error its saying there is no bundles but in the last line its showing the product called lsof
5)swinstall -s /tmp/product/lsof-4.77-ia64-11.23.depot
6)Its Completed the analysis phase successfully

Cheers
Arunkumar.B
Necessity breaks iron
Prasad Joshi
Regular Advisor

Re: how to install lsof depot.

Thanks Peter Weibbrecht,

As Peter Weibbrecht ponited out, I was giving an unnecessary space.

After removing it, i was able to install lsof.

Thanks for help,
Prasad.
Arunkumar.B
Trusted Contributor

Re: how to install lsof depot.

Hi,

Don't leave space between the / & lsof-4.77-ia64-11.23.depot.So that its throwing error.

Assigning Points are always welcome !!!!


Cheers
Arunkumar.B
Necessity breaks iron
Prasad Joshi
Regular Advisor

Re: how to install lsof depot.

Hi Arunkumar,

Thanks a lot for helping me out.
I think you must be satisfied with the points I have given

Thanks & regards,
Prasad.