- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- resolve errors from swcopy
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2010 09:45 AM
01-22-2010 09:45 AM
I'm trying to install this bundle: EventMonitoring_A.04.20.11.05_HP-UX_B.11.11_32_64.depot.
The copy analysis says:
The prerequisite "SystemAdmin.SAM" for fileset "EMS-Config.EMS-GUI,r=A.04.20.11.05" cannot be successfully resolved.
SystemAdmin.SAM is on the target:
swlist -l fileset | grep -i systemadmin.sam
PHCO_35520.SAM 1.0 SystemAdmin.SAM
PHCO_35520.SAM-ENG-A-MAN 1.0 SystemAdmin.SAM-ENG-A-MAN
PHCO_35520.SAM-HELP 1.0 SystemAdmin.SAM-HELP
SystemAdmin.SAM B.11.11 System Administration Manager
SystemAdmin.SAM-ENG-A-MAN B.11.11 SAM-ENG-A-MAN
SystemAdmin.SAM-HELP B.11.11 On-line Help for System Adminstration Manager
SystemAdmin.SAM-JPN-E-MAN B.11.11 SAM-JPN-E-MAN
SystemAdmin.SAM-JPN-S-MAN B.11.11 SAM-JPN-S-MAN
What step should I take, should I turn off the "enforce dependency" option and copy anyways? I'm trying to copy the depot file's contents to /var/spool/sw so I can run swinstall to install it. Thanks,
Brian
Campus Card Services
Indiana University
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2010 09:54 AM
01-22-2010 09:54 AM
Solutionturning off enforce dependency will probably do no good.
Reason: It is saying you don't have the software installed you are trying to patch.
swcopy is used to build depots, not install them.
Have you tried swinstall ?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2010 10:03 AM
01-22-2010 10:03 AM
Re: resolve errors from swcopy
> What step should I take, should I turn off the "enforce dependency" option
If you mean to do this to add software to a depot, then add '-x enforce_dependencies=false' to your 'swcopy'. This also dependency analysis to be skipped when building a depot.
When you actually install software, add '-x enforce_dependencies=true' (which is the default). Then, dependency analysis is enforced and satisfied as long as either the depot or the server has the necessary requisite software.
Regards!
...JRF...
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2010 11:29 AM
01-22-2010 11:29 AM
Re: resolve errors from swcopy
Use swinstall -s /location-of-depot/bundle.depot to install it.
for example copy (cp or mv) the depot to /tmp and do:
# swinstall -s /tmp/EventMonitoring_A.04.20.11.05_HP-UX_B.11.11_32_64.depot
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2010 12:39 PM
01-22-2010 12:39 PM
Re: resolve errors from swcopy
You asked if I tried swinstall, it turns out it does seem to help if I run the install analysis there instead of with swcopy. I feel more comfortable with the terminal interface than command line. Although my post said I was trying to install the EMS bundle, it's really the Online diag bundle I'm trying to install, and it led me to the EMS bundle that I posted about
I ran the swinstall analysis on the online diag depot and got this:
======= 01/22/10 15:09:00 EST BEGIN install AGENT SESSION (pid=18252)
* Agent session started for user
"root@opt9000.eigenmann.indiana.edu". (pid=18252)
* Beginning Analysis Phase.
* Source:
opt9000.eigenmann.indiana.edu:/optim/extract/stm.depot
* Target: opt9000:/
* Target logfile: opt9000:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
The prerequisite
"EMS-Config.EMS-GUI,r>=A.04.20.11,a=HP-UX_B.11.00_32/64,v=HP"
for fileset "Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04" cannot
be successfully resolved.
The prerequisite
"EMS-Core.EMS-CORE,r>=A.04.20.11,a=HP-UX_B.11.00_32/64,v=HP"
for fileset "Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04" cannot
be successfully resolved.
The prerequisite
"EMS-Core.EMS-MX,r>=A.04.20.11,a=HP-UX_B.11.00_32/64,v=HP" for
fileset "Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04" cannot be
successfully resolved.
ERROR: The dependencies for fileset
"Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04" cannot be resolved
(see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* Executing preDSA command.
NOTE: The used disk space on filesystem "/" is estimated to decrease
by 40 Kbytes.
This will leave 114216 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 7648 Kbytes.
This will leave 441024 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 2472 Kbytes.
This will leave 1255008 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/opt" is estimated to
increase by 24 Kbytes.
This will leave 487088 Kbytes of available user disk space
after the installation.
* Summary of Analysis Phase:
ERROR: Exclude Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04
ERROR: 1 of 13 filesets had Errors.
* 12 of 13 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for
details.
###### end of install snip #########
So I appear to be getting close, only one fileset has an error. It's looking for these:
EMS-Config.EMS-GUI,r>=A.04.20.11
EMS-Core.EMS-CORE,r>=A.04.20.11
MS-Core.EMS-MX,r>=A.04.20.11
When I try to get the EMS software I get more errors:
##### analysis of EventMonitoring_A.04.20.11.05_HP-UX_B.11.11_32_64.depot #######
======= 01/22/10 15:24:09 EST BEGIN install AGENT SESSION (pid=18956)
* Agent session started for user
"root@opt9000.eigenmann.indiana.edu". (pid=18956)
* Beginning Analysis Phase.
* Source:
opt9000.eigenmann.indiana.edu:/optim/extract/EventMonitoring_A.04.20.11.05_HP-UX_B.11.11_32_64.depot
* Target: opt9000:/
* Target logfile: opt9000:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
The prerequisite "WBEMServices.WBEM-CORE,r>=A.02.05.%000" for
fileset "EMS-Core.EMS-WRAPPER,r=A.04.20.11.05" cannot be
successfully resolved.
ERROR: The dependencies for fileset
"EMS-Core.EMS-WRAPPER,r=A.04.20.11.05" cannot be resolved (see
previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* Executing preDSA command.
NOTE: The used disk space on filesystem "/" is estimated to increase
by 1232 Kbytes.
This will leave 112944 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/opt" is estimated to
increase by 208 Kbytes.
This will leave 486904 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 112 Kbytes.
This will leave 448560 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 216 Kbytes.
This will leave 1257616 Kbytes of available user disk space
after the installation.
* Summary of Analysis Phase:
ERROR: Exclude EMS-Core.EMS-WRAPPER,r=A.04.20.11.05
ERROR: 1 of 5 filesets had Errors.
* 4 of 5 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for
details.
###### end of snip #########
So I got the WBEMSvcs_A.02.07.06_HP-UX_B.11.11_32_64.depot and tried the analysis on it, I won't post it, but it wants Openssl as a prereq.
I wonder if I need a different strategy, or do I really need to install Openssl, WBEMS, and EMS just to update my Online Diag? The reason I want the OnlineDiag is because my tech support person at HP says I need to get to ver A.63 of STM in order to troubleshoot the critical single-bit memory errors we're getting in the STM logs.
Brian
Campus Card Services
Indiana University
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2010 02:02 PM
01-22-2010 02:02 PM
Re: resolve errors from swcopy
Been there, done that...
:-)
Yes we had to install all of the pre-req bundles and patches in order to get everything up to date for the latest STM & EMS versions.
Rgds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2010 03:26 AM
01-23-2010 03:26 AM
Re: resolve errors from swcopy
Since the log says as "You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false". "
Did you try to install with enforce_dependencies=false ? Just try and see whether you get any errors. If it goes well you can ensure it is the problem with dependencies not available or installed. ANyway, I will not prefer to intall these without all the needed dependencies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2010 04:22 AM
01-23-2010 04:22 AM
Re: resolve errors from swcopy
This isn't something you should "just try". If it doesn't "go well", you may have to reinstall your OS. And if it "goes well", you may not know it really didn't, until much later.
>I will not prefer to install these without all the needed dependencies.
Right, that's the safe approach.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2010 06:30 AM
01-24-2010 06:30 AM
Re: resolve errors from swcopy
Campus Card Services
Indiana University