cancel
Showing results for 
Search instead for 
Did you mean: 

Depot creation

SOLVED
Go to solution
Srinivasan Palani
Occasional Advisor

Depot creation

Hi,

I am trying to create a depot for upgrading EMC Control center. It has a installation script for upgrading the Master,Host,Oracle agents. The below error is reportd while creating the depot.
======= 07/06/09 09:07:01 CDT BEGIN swpackage SESSION

* Session started for user "root@ustcu027.kcc.com".

* Source: ustcu027:master.psf
* Target: ustcu027:/home/q00726s/ecc
* Software selections:
*


* Beginning Selection Phase.
* Reading the Product Specification File (PSF) "master.psf".
* Reading the product "HP-UX" at line 16.
* Reading the fileset "FILES" at line 44.
Memory fault(coredump)

8 REPLIES
Steven E. Protter
Exalted Contributor

Re: Depot creation

Shalom,

Most likely this will be resolved by a patch. QPK or Gold for your OS is a good place to start.

Or go to http://itrc.hp.com search the patch database for patches related to swpackage or SD/UX.

Install them, there may be a reboot involved. There most certainly is a boot involved with QPK or a gold pack.

When writing these questions, it is always a good idea to reveal the OS version. It is really good to know that to give more specific answers.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: Depot creation

What does "file core" show? What executable is aborting? Is it swinstall? swagentd?
You may want to install any SD patches first.
Dennis Handly
Acclaimed Contributor

Re: Depot creation

It appears this is related to your other thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1352733

There is no need to use swpackage, just use swcopy to combined the existing depots.
Dennis Handly
Acclaimed Contributor

Re: Depot creation

I assume you have read all about PSF files?
http://docs.hp.com/en/5992-5875/ch10s04.html#bajbhcdf
Srinivasan Palani
Occasional Advisor

Re: Depot creation

This is the error I get while doing swpackage.

ERROR: Invalid definition for the fileset "FILES", beginning at line
20. Details described above. The error(s) must be corrected
before the parsing can continue.
ERROR: Invalid definition for the product "ECC_MAGENT", beginning at
line 8. Details described above. The error(s) must be
corrected before the parsing can continue.


Here is the master.psf file
# Vendor Information
vendor
tag ECC
title "EMC CONTROL CENTER"
end

# Product Informations
product
tag ECC_MAGENT
revision 6.1.0.0.130
title EMCAGENT
vendor_tag ECC
description ECC
os_name HP-UX
os_release ?.11.*
os_version *
directory /usr
is_locatable false

fileset
tag FILES
revision 6.1.0.0.130
title emccontrolcenter
is_kernel false
is_reboot false
checkinstall pfiles/checkinstall
postinstall pfiles/postinstall
postremove pfiles/postremove
preremove pfiles/preremove
file -m 0755 -o root -g sys ./install_native.sh /view/61hf_losbe213_242/vobs/ecc
install/install/native_agents/HP-UX/STAGING/MA/exec
end
end


Please suggest me if you found any loop holes
Dennis Handly
Acclaimed Contributor
Solution

Re: Depot creation

>This is the error I get while doing swpackage.
ERROR: Invalid definition for the fileset "FILES", beginning at line

Yes, I got those two messages but before that it said:
ERROR: Cannot access the source file "/var/tmp/./install_native.sh": No such file or directory (2).

Did you reverse the source and destination?
file [-v] [-m mode] [-o [owner[,]][uid]] [-g [group[,]][gid]] [-t type] [source] [destination]
Srinivasan Palani
Occasional Advisor

Re: Depot creation

Hi Denis

I see some hope on my request.

Could you please explain the issue and fix in detail.

Dennis Handly
Acclaimed Contributor

Re: Depot creation

>Could you please explain the issue and fix in detail?

I assume you have the source and destination files in the wrong order?:
file -m 0755 ... /view/61hf_losbe213_242/vobs/eccinstall/install/native_agents/HP-UX/STAGING/MA/exec ./install_native.sh

But I just created install_native.sh in my current directory and it also went away.