Anda di halaman 1dari 7

ERROR: Fileset: "Ignite-UX.MGMT-TOOLS" (rev=C.6.10.

97) is a different version than the


rest of Ignite-UX (rev=C.7.8.201). You must update all filesets of the product to the same version
for proper behavior.
ERROR: Fileset: "Ignite-UX.RECOVERY" (rev=C.6.10.97) is a different version than the rest of
Ignite-UX (rev=C.7.8.201). You must
update all filesets of the product to the same version for proper behavior.
ERROR: All filesets in the Ignite-UX product must be the same revision.
Please update any old Ignite-UX filesets.

When I checked it seems that two versions of ingnit are installed in the server

[11]> swlist -l product | grep -i ignite


Ignite-UX C.6.10.97 HP-UX System Installation Services
Ignite-UX C.7.8.201 HP-UX System Installation Services

Is this any reason for failirung the ignite. If this is the reason how can i remove only the older
version of ignite ( C.6.10.97)

swremove Ignite-UX,r=C.6.10.97

You may have to reinstall the newer version.

In swremove now the target selection is succeded but i am getting the below error in analysis
phase
* Beginning Analysis
* Session selections have been saved in the file
"/u01/ltd/opsroot/.sw/sessions/swremove.last".
ERROR: "******:/": This target agent cannot access the source.
Make sure the source depot is registered if it is remote from the target or if you are non-
superuser. Also ensure you have read permission for the products on the source, the source is not
being updated, and swagentd is running on the source host.
The target agent logfile will contain precise failure information; it is referenced below.
* The analysis phase failed for "******:/".
* Analysis had errors.

[6]> swjob -a log ******-0116 @ ******:/


======= 10/09/12 03:14:11 GMT BEGIN remove AGENT SESSION (pid=7925)
(jobid=******-0116)

* Agent session started for user "root@******".


(pid=7925)

* Beginning Analysis Phase.


* Target: ******:/
* Target logfile: ******:/var/adm/sw/swagent.log
* Reading source for file information.
ERROR: File "/var/adm/sw/products/Ignite-UX/IGNITE/INFO" does not exist.
ERROR: The catalog files for product "Ignite-UX,l=/,r=C.6.10.97"
failed to load. Check the above output for details.
ERROR: Cannot continue the Analysis Phase until the previous errors are corrected.

======= 10/09/12 03:14:15 GMT END remove AGENT SESSION (Cancelled)


(pid=7925) (jobid=******-0116)

But that particular INFO file mentioned in the error is already existing in the server
[11]> ls -l /var/adm/sw/products/Ignite-UX/IGNITE/INFO
-r--r--r-- 1 root sys 18648 Apr 16 14:17 /var/adm/sw/products/Ignite-UX/IGNITE/INFO

The INFO file is not existing .

[10]> pwd
/var/adm/sw/products/Ignite-UX/IGNITE

[9]> ls -lrt
total 16
-r--r--r-- 1 root sys 830 Aug 24 2010 INDEX

Inside the IGNITE directory only INDEX file is existing.

It looks like your IPD is corrupted. (I suppose it is too late to tell you to take an Ignite backup
before you fiddle with the IPD any more? ;-) Does ignite still work?

What does this show:


swlist -l fileset -a software_spec Ignite-UX

Can you remove the newer version:


swremove Ignite-UX,r=C.7.8.201

I tried to remove the newer version of Ignite-Ux (in preview mode) , but it also failed at the
analysis phase. Please see the error which i got while doing swremove
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/u01/ltd/opsroot/.sw/sessions/swremove.last".
ERROR: "*****:/": The software dependencies for 1 products or filesets cannot be resolved.
* "*****:/": 1 bundles cannot be removed because not all of their filesets can be removed.
* The analysis phase failed for "hpuxsg5b:/".
* Analysis had errors.

NOTE: More information may be found in the agent logfile using the command "swjob -a log
*****-0117 @ *****:/".

swjob -a log *****-0117 @ *****:/


======= 10/09/12 07:21:36 GMT BEGIN remove AGENT SESSION (pid=3167)
(jobid=*****-0117)

* Agent session started for user "root@*****".


(pid=3167)
* Beginning Analysis Phase.
* Target: *****:/
* Target logfile: *****:/var/adm/sw/swagent.log
* Reading source for file information.
* The fileset "Ignite-UX.IGNITE,l=/,r=C.6.10.97" requires the
selected fileset "Ignite-UX.MGMT-TOOLS,l=/,r=C.7.8.201" as a corequisite.
ERROR: The dependencies for fileset
"Ignite-UX.MGMT-TOOLS,l=/,r=C.7.8.201" 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".
NOTE: Could not remove the bundle "IGNITE,l=/,r=C.7.8.201" because not all of its filesets
could be removed.

* Summary of Analysis Phase:


ERROR: Exclude Ignite-UX.MGMT-TOOLS,l=/,r=C.7.8.201
ERROR: 1 of 21 filesets had Errors.
* 20 of 21 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for details.

======= 10/09/12 07:21:49 GMT END remove AGENT SESSION (Cancelled)


(pid=3167) (jobid=*****-0117)

Can I use the command swremve using the option enforce_dependencies=yes


You could try the opposite:
swremove ... -x enforce_dependencies=false

Now I had removed the Ignite-UX C.7.8.201 But still I am getting the same error which i posted
you earlier while trying to remove the older version of ignite
[9]> swremove -p Ignite-UX,r=C.6.10.97

ERROR: "******:/": This target agent cannot access the source.


Make sure the source depot is registered if it is remote from the target or if you are non-
superuser. Also ensure you have read permission for the products on the source, the source is not
being updated, and swagentd is running on the source host.
The target agent logfile will contain precise failure information; it is referenced below.
* The analysis phase failed for "********:/".
* Analysis had errors.

It seems to show duplicates of every fileset.


Can you do that again to see if the C.7.8.201 version has gone?

You may have to delete by individual filesets and then use swmodify to remove the last ones.
For each fileset in your output do:
swremove -x enforce_dependencies=false Ignite-UX.BOOT-COMMON-IA Ignite-UX.BOOT-
COMMON-PA ...

You may want to start with a few first to see if that works, then do the rest of the 19 filesets. If
you can get rid of all of the filesets, you may try to swremove Ignite-UX again.
If that fails, we can try the swmodify hammer.

I just tried to use swremove for the first fileset, but its not removed. Please find below for the
details
[1]> swremove -p -x enforce_dependencies=false Ignite-UX.BOOT-COMMON-IA,l=/,r=C.6.10.
97,a=HP-UX_B.11.00_32/64,v=HP,fr=C.6.10.97,fa=HP-UX_B.11.00_32/64

======= 10/10/12 03:38:54 GMT BEGIN swremove SESSION


(non-interactive) (jobid=******-0122)
* Session started for user "root@******".
* Beginning Selection
* Target connection succeeded for "******:/".
* Software selections:
Ignite-UX.BOOT-COMMON-IA,l=/,r=C.6.10.97,a=HP-
UX_B.11.00_32/64,v=HP,fr=C.6.10.97,fa=HP-UX_B.11.00_32/64
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/u01/ltd/opsroot/.sw/sessions/swremove.last".
ERROR: "******:/": This target agent cannot access the source.
Make sure the source depot is registered if it is remote from the target or if you are non-
superuser. Also ensure you have
read permission for the products on the source, the source is not being updated, and
swagentd is running on the source host.
The target agent logfile will contain precise failure information; it is referenced below.
* The analysis phase failed for "******:/".
* Analysis had errors.
NOTE: More information may be found in the agent logfile using the command "swjob -a log
hpuxsg5b-0122 @******:/".

======= 10/10/12 03:38:59 GMT END swremove SESSION (non-interactive)


(jobid=******-0122)

[2]> swjob -a log ******-0122 @ ******:/


======= 10/10/12 03:38:55 GMT BEGIN remove AGENT SESSION (pid=10911)
(jobid=******-0122)

* Agent session started for user "root@******".


(pid=10911)

* Beginning Analysis Phase.


* Target: ******:/
* Target logfile: ******:/var/adm/sw/swagent.log
* Reading source for file information.
ERROR: File "/var/adm/sw/products/Ignite-UX/IGNITE/INFO" does not exist.
ERROR: The catalog files for product "Ignite-UX,l=/,r=C.6.10.97" failed to load. Check the
above output for details.
ERROR: Cannot continue the Analysis Phase until the previous errors are corrected.

======= 10/10/12 03:38:59 GMT END remove AGENT SESSION (Cancelled)


(pid=10911) (jobid=******-0122)

Pick a few more to see if they fail the same way. If it does, then we need to clean up the IPD and
get a list of files:
swlist -l file Ignite-UX > ignite_filelist.txt

Save this list away. You may want to check to see if any of these files are still there or were they
removed with the
swremove of the newer version? If so, that makes it easier.

For each of the 19 filesets from previous list, you need to do:
swmodify -u Ignite-UX.BOOT-COMMON-IA ... # they don't have to be done at the same
line/time, if you want.

Try a few to see if it works at all.


When all 19 are gone, then remove the product:
swmodify -u Ignite-UX
If this still gives an error, we may have to go into the IPD and use mv and rm.

I have removed all 19 filesets using the command swmodify -u

After that I used the command swlist -l file Ignite-UX , i got the below output

# Initializing...
# Contacting target "******"...
#
# Target: ******":/
#

# Ignite-UX C.6.10.97 HP-UX System Installation Services


# Ignite-UX.FILE-SRV-11-23 C.6.10.97 File Archives Used By Clients During HP-UX
Install
/
/opt
/opt/ignite
/opt/ignite/data
/opt/ignite/data/Rel_B.11.23
/opt/ignite/data/Rel_B.11.23/SYSCMDS
/opt/ignite/data/Rel_B.11.23/SYSCMDSIA
/opt/ignite/data/Rel_B.11.23/config
/opt/ignite/data/Rel_B.11.23/hw_patches_cfg

Then I did swmodify -u Ignite-UX but got the below error

[51]> swmodify -u Ignite-UX


ERROR: Cannot delete the definition for product "Ignite-UX" from the target "/". The product is
not empty, it still contains filesets.
ERROR: The selected software was not modified. All of the specified modifications are invalid.
See the ERROR and/or WARNING messages above.

Whether I have to do the below steps


1) swmodify -u Ignite-UX.FILE-SRV-11-23
2) swmodify -u Ignite-UX

Yes, it looks like you forgot to do 1) as part of the 19.

I used the below command but it gave the error


[56]> swmodify -u Ignite-UX.FILE-SRV-11-23
ERROR: Cannot delete the last fileset in a product, fileset
"Ignite-UX.FILE-SRV-11-23" is not deleted. To remove the product use: "swmodify -u
Ignite-UX.\* Ignite-UX"
ERROR: The selected software was not modified. All of the specified modifications are invalid.
See the ERROR and/or WARNING
messages above.

As per the suggetion in that error I had used "swmodify -u Ignite-UX.\* Ignite-UX". Now all
ignite products removed without any issues
[57]> swmodify -u Ignite-UX.\* Ignite-UX
******:[opsroot]/u01/ltd/opsroot
[58]> swlist -l product | grep -i ignite
******:[opsroot]/u01/ltd/opsroot

Now I will try to install a fresh ignite and try to take the back up.

Aw, right, the last one has to be special. Of course this means you could have done this rather than
remove them one by one.

Anda mungkin juga menyukai