Operating System - HP-UX
1751961 Members
4891 Online
108783 Solutions
New Discussion юеВ

Re: 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 10
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