Operating System - HP-UX
1834629 Members
3218 Online
110069 Solutions
New Discussion

Re: having problem to install

 

having problem to install

Hi
if any body could tell me, what is wrong with it.
I am trying to install Y2K updates and perl.
All of this soft. has been downloaded from HP website. When i running "swinstrall" and pointing to target_dir everything is fine, but error comes up when it's start analysing the soft. Error i have is:
"spider:/vol/soft_download/perl_hp": Cannot establish a lock on this target because of an external error (for example, the lock file could not be created).
It's very annoing,
funny part is than when i am doing swinstall -v -s file_name.depot it's working fine, only problem accure when have a full bandle witn "catalog" in it.
Please help, don't know how to solve it.
7 REPLIES 7
Ana Matute
Occasional Advisor

Re: having problem to install

Hello,

I unfortunately get the same error as you.
I am opening a HP case. I'll let you know
the solution when I have an answer.

Regards,
Ana Matute
Ana Matute
Occasional Advisor

Re: having problem to install

Hello,

I unfortunately get the same error as you.
I am opening a HP case. I'll let you know
the solution when I have an answer.

Regards,
Ana Matute
Ajitkumar Rane
Trusted Contributor

Re: having problem to install

Edward,

Try removing the "swlock" file in /var/adm/sw/products. And try running swinstall again. See if this helps.

Good luck
Amidsts difficulties lie opportunities
John Palmer
Honored Contributor

Re: having problem to install

Hi,

I have found an (oldish) entry in the knowledge base that states:-

This is caused by a missing lock file in the catalog sub-directory of the depot. To fix the problem, you would need to issue the touch(1) command as root to create a file called swlock in the appropriate directory:

cd /depot_path/catalog
touch swlock

where depot_path is the full path to the depot location.

Regards,
John
Dan Hetzel
Honored Contributor

Re: having problem to install

Hi,

In complement to John's answer, make sure your depot directory isn't write protected.

Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Ana Matute
Occasional Advisor

Re: having problem to install

Hi,

All you have to do is:

cd /"depot_path"/catalog
touch swlock

Hope it helps,
Ana Matute

Re: having problem to install

Thanks all of you guys
but i also found an answer :-)
just "cp" "swlock" from any HP CD's :-)
I just don't understand why HP doesn't create swlock in there ?
thanks again