1833198 Members
2929 Online
110051 Solutions
New Discussion

swacl problem

 
madhavabk
Regular Advisor

swacl problem

# swacl -l product \*
ERROR: There is currently no depot software on host "nesar07" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Target connection failed for "nesar07:/var/spool/sw".
ERROR: More information may be found in the daemon logfile on this
target (default location is
nesar07:/var/adm/sw/swagentd.log).


Will this affect installation of any product that depends on already installed products on the machine?

Because patches are not getting installed on this mahcine with error base filesets are not found.

But i can do swlist for such filesets which are installed on the machine.

This is very urgent.

Thanks,
Madhava
14 REPLIES 14
Arunvijai_4
Honored Contributor

Re: swacl problem

Hi Madhava,

You can resolve this quickly by restarting

/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start

Also, check your /etc/resolv.conf, /etc/nsswitch.conf for any mispells.

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

Re: swacl problem

Hi

swacl -l product
View/modify the ACL protecting the
software product identified by the
software_selection. Applies only to
products in depots, not installed
products in roots. Do you have any depot installed in /var/spool/sw ?

Louis
Muthukumar_5
Honored Contributor

Re: swacl problem

I think you are using wrong format of swacl. Try with swacl man page EXAMPLE part first.

It will give clear view.

--
Muthu
Easy to suggest when don't know about the problem!
LoC_1
Frequent Advisor

Re: swacl problem

PS:
Also look in var/adm/sw/swagentd.log for more detail

Louis
Arunvijai_4
Honored Contributor

Re: swacl problem

Hi Madhava,

I tested the same command on my server, got the same error as you. I dont think this will affect any products or what soever,

myserver / #swacl -l product \*
ERROR: There is currently no depot software on host "myserver" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Target connection failed for "myserver:/var/spool/sw".
ERROR: More information may be found in the daemon logfile on this
target (default location is
myserver:/var/adm/sw/swagentd.log).

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: swacl problem

What exactly you are trying to do?
There is no substitute to HARDWORK
madhavabk
Regular Advisor

Re: swacl problem

Hi RAC,

I am installing a patch created by me on top of the product i have installed.

The installation of patch fails with error base fileset XYZ cannot be located on target.

But when i do swlist XYZ i can see that it is already installed on my target machine.

Hence what could be the problem?

The patch PSF creation i have automated for some products it is working but not for few.

Thanks,
Madhava
Muthukumar_5
Honored Contributor

Re: swacl problem

Do this:

# swlist -l fileset

How you are trying install the patch with that product. It is good to have the syntax which you are tying and all informations of error you are getting?

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: swacl problem

I am installing a patch created by me on top of the product i have installed.

The installation of patch fails with error base fileset XYZ cannot be located on target.

## swverify -s should reduce the complexity.

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

Re: swacl problem

Hi I found solution for the patch installation problem.

It was related to directory keyword value in PSF.

It was not matching with what i had used for the product.

Now patch installation is working fine for me.

Thanks for all of you to help me and share your inputs with me.

Thanks,
Madhava
Arunvijai_4
Honored Contributor

Re: swacl problem

http://forums1.itrc.hp.com/service/forums/helptips.do?#28


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: swacl problem

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: swacl problem

I have assigned points to 39 of 106 responses to my questions. ??

Try to assign points.

--
Muthu

PS: Assign 0 point.
Easy to suggest when don't know about the problem!
madhavabk
Regular Advisor

Re: swacl problem

Found the problem.

It was with directory keyword values mismatch in base product and patch.


Thanks,
Madhava