Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

swcopy problem when running make_depot

nancy rippey
Trusted Contributor

swcopy problem when running make_depot

I am having a problem with the make_depot script failing on one of my servers. The errors are:
ERROR: "servername:/usr/depot1/job_dir/Depot": 1 filesets had errors.
* The execution phase failed for
"servername:/usr/depot1/job_dir/Depot".
* Execution had errors.


NOTE: More information may be found in the agent logfile (location
is servername:/usr/depot1/job_dir/Depot/swagent.log).

======= 03/20/02 07:04:06 CST END swcopy SESSION (non-interactive)

+ [ 1 -ne 0 ]
+ echo SWCPY_FAILED
+ 1> STATUS
+ echo swcopy failed adding PATCH to depot
+ 1>& 2
swcopy failed adding PATCH to depot

I have checked lock files, verified I am not running out of space, stopped and restarted swagentd and even rebooted. I have also reran the patch analysis, verified I copying binary, same problem. I copied the directory structure to another server and ran the make_recovery and it worked great. I am also having problems with swcopy of just one patch. I have installed the lastest SD patch PHCO_25875, nothing has helped. This is a new install of 11.0 on a D360. I think I may just reinstall - any help would be greatly appreciated.

nancy
nrip
10 REPLIES
Helen French
Honored Contributor

Re: swcopy problem when running make_depot

Hi,

If you have cdrom file system in /etc/fstab, then remove or comment it. That may solve the problem.

HTH,
Shiju
Life is a promise, fulfill it!
Ceesjan van Hattum
Esteemed Contributor

Re: swcopy problem when running make_depot

Maybe simple questions, but:

1. Did you use -v option?
2. Did you read swcopy.log (not swagent.log)?
3. Is the depot writable (i.e. 750)?
4. Does 'file *.depot' say that your dealing with a 'tar file' ?
5. Did you try to swcopy the source to a different (or new) destination depot?
6. Is /var/spool/sw the default source and target?

--CJ
nancy rippey
Trusted Contributor

Re: swcopy problem when running make_depot

Ceesjan & Shiju

There is no entry in fstab for cdrom

The message is from the swcopy.log
The depot is writable
There is not a .depot file. The make_depot command
is a script to create a custom bundle. It is trying to create the bundle but failing when it trys to copy the first patch. I have removed the patch and it just fails with the next one.
I have been able to successfully get the make_depot to work with these patches on another server.

nancy
nrip
Helen French
Honored Contributor

Re: swcopy problem when running make_depot

Hi,

Can you try doing swcopy manually ? Can you post the exact error message ?

HTH,
Shiju
Life is a promise, fulfill it!
nancy rippey
Trusted Contributor

Re: swcopy problem when running make_depot

Shiju,

No I am not able to copy. I receive the following
ERERROR: oCould not access remote file "/usr/lib/libpthread.a" in ??
?? osoftware item ??
?? P"PHCO_26000.C-MIN-32ALIB,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fr=1.0 ??
?? udue to an internal error on the remote system. ??
?? ERERROR: aFailed copying fileset "PHCO_26000.C-MIN-32ALIB,r=1.0". Check ??
?? hthe above output for details. ??
?? NO *hRetry number 1 of 1 for loading files for fileset ??
?? e"PHCO_26000.C-MIN-32ALIB,r=1.0".

If I try a different patch I basically get the same thing. I think I may just reload the server.
nrip
Helen French
Honored Contributor

Re: swcopy problem when running make_depot

Helen French
Honored Contributor

Re: swcopy problem when running make_depot

Hi,

Again, check this document too for 'swcopy' options:

http://us-support.external.hp.com/cki/bin/doc.pl/sid=e6980cf40e91b5e592/screen=ckiDisplayDocument?docId=200000058668715

HTH,
Shiju
Life is a promise, fulfill it!
nancy rippey
Trusted Contributor

Re: swcopy problem when running make_depot

Shiju,
I checked out both links. The hosts file looks good,

nancy
nrip
Wodisch
Honored Contributor

Re: swcopy problem when running make_depot

Hello,

what you need is perhaps one of the famous "-x" options to "swcopy"! Read the man page (you expected that, right? :-) and at the end you'll find the "-x" options. Look out for those about NOT resolving something at the agent...

HTH,
Wodisch
nancy rippey
Trusted Contributor

Re: swcopy problem when running make_depot

Thanks for all of your input with this problem. I have just been successful in getting swcopy to work, but for the life of me I don't know what caused to problem or really what the problem was.

After trying everything I knew to try and everything that you all pointed me to I was still at a lose. The only thing I had not done was play with /var/adm/sw/security files. Why would I want to I was not receiving any type of perm. errors. Anyway I moved /var/adm/sw/security and recreated it. I than manually created the secrets file and copied all the other file in from when I had saved them off to. Guess what, swcopy now works. I don't know if I have hit some strange swcopy but or what.

Once again thanks for all the help. I sure wish there was an icon that could go next to the thread that shows the problem was fixed.

Please let me know if any one else has seen this before. It is a new one on me.
nrip