1752610 Members
4206 Online
108788 Solutions
New Discussion юеВ

Re: swinstall errors

 
SOLVED
Go to solution
CA633679
New Member

swinstall errors

I am trying to apply the "update prep media" CD for my 11.22 v1.6 system. Per the "readme" file, I can install it by running either of these 2 commands ( the 2nd if the first fails ).
1) swinstall -s /dvd_mountpoint/BUNDLE11i -x patch_match_target=true -x autoreboot=true
2) swinstall -s /cdrom/BUNDLE11i -x autoreboot=true -x reinstall=true BUNDLE11i

Both fail with the error:
ERROR: There is currently no depot software on host "redstone" at
location "/cdrom/BUNDLE11i". Make sure that an absolute
pathname is specified for location (beginning with "/").
* Source connection failed for "redstone:/cdrom/BUNDLE11i".

I've tried researching solutions to this and have tried modifying /etc/hosts to a single line:
127.0.0.1 redstone loopback
And at the same time moving /etc/resolv.conf to
a *.orig. But this failed also. The CD is mounted and I can read the contents?

Help!
8 REPLIES 8
Mel Burslan
Honored Contributor

Re: swinstall errors

Did you try registering the directory as a software depot already.

If you did not do it yet, try:

# swreg -l depot /cdrom/BUNDLE11i

hope this helps
________________________________
UNIX because I majored in cryptology...
CA633679
New Member

Re: swinstall errors

Mel,
Yes I've tried that. it also returns the same error message.

Thanks,

Randy

Re: swinstall errors

After you change any of the networking information, it's important that you restart 'swagentd' so that it gets the updated information...

Use the command 'swagentd -r' to restart it...

Also, verify that 'nslookup redstone' returns "127.0.0.1", and vice versa - Software Distributor relies on a properly configured network to operate...

HTH...
Steve Hamilton
CA633679
New Member

Re: swinstall errors

Steve,

I moved "resolv.conf" to another name and modified the "hosts" file so that this is the only line:

127.0.0.1 redstone loopback

Restarted "swagentd" using the "-r" option.

Here are the "nslookup" checks:

# nslookup redstone
Using /etc/hosts on: redstone

looking up FILES
Name: redstone
Address: 127.0.0.1
Aliases: loopback

# nslookup 127.0.0.1
Using /etc/hosts on: redstone

looking up FILES
Name: redstone
Address: 127.0.0.1
Aliases: loopback

And I still get the same message....
CA633679
New Member

Re: swinstall errors

This is the mounted CD:
# mount | grep cdrom
/cdrom on /dev/dsk/c0t0d0 ro,rr on Fri Feb 4 10:22:12 2005
# ls /cdrom
BUNDLE11i DOCS PHKL_30506
BUNDLE11i.2 PHCO_30440 PHKL_31151
BUNDLE11iv1.6-11.22.readme PHKL_30442 PHKL_31152
BUNDLE11iv1.6-11.22.readme.html PHKL_30443 TEXT_FILES
BUNDLE11iv2-11.23.readme PHKL_30444 catalog
BUNDLE11iv2-11.23.readme.html PHKL_30471
# ls /cdrom/BUNDLE11i
Solution

Re: swinstall errors

OK - just to make sure that 'swlist' is working OK, does 'swlist -l bundle' work?

If that's OK, what does the following report:
# swlist -l bundle -s /

Also, what's the following output:
# lsf /

Steve Hamilton

Re: swinstall errors

When I look at the output from 'ls /cdrom' that you posted, it appears to me that the entire CD is a depot, and "BUNDLE11i" is one of the available bundles in that depot...

That would mean that the 'swinstall' command should be:
# swinstall -s /cdrom -x autoreboot=true -x patch_match_target=true BUNDLE11i

You should also see "BUNDLE11i" listed in the output of 'swlist -l bundle -s /cdrom'...

HTH

Steve Hamilton
CA633679
New Member

Re: swinstall errors

Steve,
The syntax was the problem. I was using the syntax example from the "readme" file, so it is wrong. I submitted your points, thank you for
your help! Case Closed............

Randy