Operating System - HP-UX
1752801 Members
5563 Online
108789 Solutions
New Discussion юеВ

Re: Error: DRD runcmd swinstall

 
Veera.Rao
Frequent Advisor

Error: DRD runcmd swinstall

Hi Team,

I have installed B.1131.A.3.4.91 Dynamic Root Disk in PA-RISC Machine..I have cloned the disk whem i am trying to install the software i am getting an error

Please find the below screen shot. give any solution

************************************
drd runcmd swinstall -s /tmp/ignite/Ignite-UX-11-ALL_C.7.7.98.depot
======= 11/13/09 17:33:54 IST BEGIN Executing Command On Inactive System Image (user=root) (jobid=Bhavani)

* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
* Using unsafe patch list version 20061206
* Starting swagentd for drd runcmd
/opt/drd/wrappers/start_fsdaemon[22]: start_fsdaemon: not found.
* Stopping swagentd for drd runcmd
/opt/drd/wrappers/stop_fsdaemon[22]: stop_fsdaemon: not found.
ERROR: Command executed on inactive system image returned an error
- One or more postcommands for /usr/sbin/swinstall failed.
- One or more precommands for /usr/sbin/swinstall failed. /usr/sbin/swinstall will not be executed.
- The precommand "/opt/drd/wrappers/start_fsdaemon" fails with the return code "1".
- The postcommand "/opt/drd/wrappers/stop_fsdaemon" fails with the return code "1".
* Executing Command On Inactive System Image failed with 1 error.
* Cleaning Up After Command Execution On Inactive System Image

======= 11/13/09 17:34:05 IST END Executing Command On Inactive System Image failed with 1 error. (user=root) (jobid=Bhavani)


Regards,
Veera
6 REPLIES 6
Veera.Rao
Frequent Advisor

Re: Error: DRD runcmd swinstall

Hello Everyone,



Is any one knows about this issue?


Please reply...........



Regards,
Veera
Pete Randall
Outstanding Contributor

Re: Error: DRD runcmd swinstall

What are you trying to install? I wanted to use DRD to install a new version of HP-UX but found that I couldn't do that:

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1374662


Pete

Pete
Veera.Rao
Frequent Advisor

Re: Error: DRD runcmd swinstall

Hello All,

Here i tried to install ignite Software...

I have referred all the docs of DRD
which is saying that we can install the any software or pathces in offline disk (cloned disk ). But as per my testing i am not able to do software or patch installation

The main use of DRD is we can reduce the downtime of doing any software or patch updates offline. while facing this kind of error how can i use the software....?

Is there any one tested in their environment?

Regards,
Veera


Vivek_Pendse
Valued Contributor

Re: Error: DRD runcmd swinstall

Mount the inactive image first & then go for the swinstall on drd image.
What is the DRD version you have ?
Veera.Rao
Frequent Advisor

Re: Error: DRD runcmd swinstall

vivek,

Right now i installed the below version

DynRootDisk B.1131.A.3.4.91 Dynamic Root Disk



I have tried but this is result

Server1-/tmp/ignite>drd runcmd swinstall -s /tmp/ignite/Ignite-UX-11-ALL_C.7.7.98.depot

======= 11/28/09 00:42:22 IST BEGIN Executing Command On Inactive System Image (user=sysadm) (jobid=Server1)

* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
* Using unsafe patch list version 20061206
* Starting swagentd for drd runcmd
/opt/drd/wrappers/start_fsdaemon[22]: start_fsdaemon: not found.
* Stopping swagentd for drd runcmd
/opt/drd/wrappers/stop_fsdaemon[22]: stop_fsdaemon: not found.
ERROR: Command executed on inactive system image returned an error
- One or more postcommands for /usr/sbin/swinstall failed.
- One or more precommands for /usr/sbin/swinstall failed. /usr/sbin/swinstall will not be executed.
- The precommand "/opt/drd/wrappers/start_fsdaemon" fails with the return code "1".
- The postcommand "/opt/drd/wrappers/stop_fsdaemon" fails with the return code "1".
* Executing Command On Inactive System Image failed with 1 error.
* Cleaning Up After Command Execution On Inactive System Image

======= 11/28/09 00:42:34 IST END Executing Command On Inactive System Image failed with 1 error. (user=sysadm) (jobid=Server1)

Judy Wathen
Advisor

Re: Error: DRD runcmd swinstall

Hello Veera,

Thank you for your interest in DRD. I am sorry you are seeing this problem.

This problem is triggered by having B.11.31.A.3.4.91 installed on your booted system, and a previous release (probably B.11.31.A.3.3) on your inactive image.

If your clone is not very new, you may want to just re-run drd clone, which will copy the new DRD to the new clone and eliminate the problem

However, if you do not want to re-create the clone, you can do the following to work around the problem:

Mount the clone:
drd mount

Copy two files from the new drd release:
cp /var/opt/drd/mnts/sysimage_001/opt/drd/wrappers/common_utils /var/opt/drd/mnts/sysimage_001/opt/drd/wrappers/common_utils.orig

cp /opt/drd/wrappers/common_utils /var/opt/drd/mnts/sysimage_001/opt/drd/wrappers/common_utils

(If you are booted on the clone, replace ├в sysimage_001├в with ├в sysimage_000├в .)

The steps above will enable drd runcmd to succeed. However, the file change would cause a swverify error on the version of DRD in the clone. To repair this, install the new version of DRD to the inactive image:

drd runcmd swinstall ├в s DynRootDisk
drd umount

Thanks,
Judy