Operating System - HP-UX
1836380 Members
2659 Online
110100 Solutions
New Discussion

Re: swinstall fails to install emc powerpath on hpux 11.00

 
ecorban
Frequent Advisor

swinstall fails to install emc powerpath on hpux 11.00


i'm trying to install PP s/w for HPUX 11.00
but get the following error message

hostname:/drivers/PP cannot establish a lock on this target because of an external error(for example the lock file could not be created.
source coonnection failed for the above dir.

i use swinstall -s /drivers/PP (packae name)

the dir is on the root hard disk

please help out
8 REPLIES 8
Martin Johnson
Honored Contributor

Re: swinstall fails to install emc powerpath on hpux 11.00

Have you checked for for errors in the /var/adm/s*.log files?

HTH
Marty
ecorban
Frequent Advisor

Re: swinstall fails to install emc powerpath on hpux 11.00


these are not .depot format packages.

i get the follow errors below.

ERROR: Cannot lock depot/root at "/drivers/PP" because the lock file
"/drivers/PP/catalog/swlock" is not there and cannot be
created. This lock file should always exist. The lock file
is probably missing due to manual changes to the depot/root,
or due to a problem with one of the tools that created or
modified the depot/root.
ERROR: The target "/drivers/PP" could not be opened. pid=7420
09/09/02 11:07:32 PDT
* Agent pid=7420 completed. 09/09/02 11:07:32 PDT
* Agent pid=7417 completed. 09/09/02 11:07:32 PDT
* Started install agent on "/" for root@ec117136, pid=7450,
09/09/02 11:08:44 PDT
* Started source agent on "/drivers/PP" for root@ec117136,
pid=7453, 09/09/02 11:08:44 PDT
ERROR: Cannot lock depot/root at "/drivers/PP" because the lock file
"/drivers/PP/catalog/swlock" is not there and cannot be
created. This lock file should always exist. The lock file
is probably missing due to manual changes to the depot/root,
or due to a problem with one of the tools that created or
modified the depot/root.
ERROR: The target "/drivers/PP" could not be opened. pid=7453
09/09/02 11:08:44 PDT
* Agent pid=7453 completed. 09/09/02 11:08:44 PDT
* Agent pid=7450 completed. 09/09/02 11:08:44 PDT

Deshpande Prashant
Honored Contributor

Re: swinstall fails to install emc powerpath on hpux 11.00

HI
Take a look at following thread..

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1b7787dc4d7dd5118ff00090279cd0f9,00.html

Thanks.
Prashant.
Take it as it comes.
Jordan Bean
Honored Contributor

Re: swinstall fails to install emc powerpath on hpux 11.00


Why would it try to use the source location as the target location? What was the exact syntax used to invoke swinstall? Which version of PowerPath are you trying to install? Have you tried an interactive session?

swinstall -is /drivers/PP -x mount_all_filesystems=false -x auto_reboot=true

Sridhar Bhaskarla
Honored Contributor

Re: swinstall fails to install emc powerpath on hpux 11.00

Hi Eddie,


How did you create this depot?..

Do the following and try again.

touch /drivers/PP/catalog/swlock

This mostly happens if an sw archive is un-tarred manually instead of using swcopy to create a local depot.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Martin Johnson
Honored Contributor

Re: swinstall fails to install emc powerpath on hpux 11.00

If they are not depots, why ar you trying to install them using swinstall? Is there are README file, or any other installation instructions?

You make want to do a "tar -t" on the files to see if they are tar files.

HTH
Marty
ecorban
Frequent Advisor

Re: swinstall fails to install emc powerpath on hpux 11.00

problem solved. touched the swlock file and
used swinstall to successfully install the packages.

thank alot
Jordan Bean
Honored Contributor

Re: swinstall fails to install emc powerpath on hpux 11.00


Ah, I see. I just untarred a random depot file and got the same error. It did work after touching the lock file. (Thanks Sridhar.)

The PowerPath CD contains both the depot directory, used when installing from CD, and a compressed tar depot if you want to copy the bundle to a local filesystem. You only need to decompress this file, not untar it, for swinstall to use it.