Home » RDBMS Server » Server Administration » adrci issue (HPUX: Version 11.2.0.2.0 )
adrci issue [message #527490] Tue, 18 October 2011 05:39 Go to next message
dba_7722
Messages: 197
Registered: August 2010
Location: Delhi
Senior Member

Hi Expert,

Please suggest for the issue:

DIA-49450: Non-zero return code from archiving utility [127] []

thunder:/u01/infoddp/product/11.2.0/db/bin>adrci

ADRCI: Release 11.2.0.2.0 - Production on Tue Oct 18 06:19:32 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

ADR base = "/opt/oracle"
adrci> ips pack incident 637222 in /tmp
DIA-48448: This command does not support multiple ADR homes

adrci> set homepath diag/rdbms/infoddp/infoddp
adrci> ips pack incident 637222 in /tmp
sh: zip:  not found.
DIA-49450: Non-zero return code from archiving utility [127] []

adrci> exit
Re: adrci issue [message #527491 is a reply to message #527490] Tue, 18 October 2011 05:44 Go to previous messageGo to next message
Michel Cadot
Messages: 68645
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
DIA-49450: Non-zero return code from archiving utility [%s] [%s]
 *Document: YES
 *Cause: The archiving utility (zip/unzip) returned a warning or error.
 *Action: Verify that the file and directory exist and are readable,
          and that the file is a valid zip file.

Regards
Michel
Re: adrci issue [message #527494 is a reply to message #527491] Tue, 18 October 2011 05:54 Go to previous messageGo to next message
dba_7722
Messages: 197
Registered: August 2010
Location: Delhi
Senior Member

Thanks for the update Michel.

Not sure with the Action, /tmp directory exist and with needed permission.
Re: adrci issue [message #527495 is a reply to message #527494] Tue, 18 October 2011 06:01 Go to previous messageGo to next message
Michel Cadot
Messages: 68645
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
I think this is the following part you have to check:

Quote:
sh: zip: not found.


Regards
Michel
Re: adrci issue [message #527496 is a reply to message #527495] Tue, 18 October 2011 06:03 Go to previous messageGo to next message
dba_7722
Messages: 197
Registered: August 2010
Location: Delhi
Senior Member

Thanks Michel, will check with system amdin.
Re: adrci issue [message #528083 is a reply to message #527496] Fri, 21 October 2011 08:18 Go to previous messageGo to next message
dba_7722
Messages: 197
Registered: August 2010
Location: Delhi
Senior Member

Hey Michel,

Issue is resolved. Thanks
Re: adrci issue [message #528116 is a reply to message #528083] Fri, 21 October 2011 14:00 Go to previous messageGo to next message
Michel Cadot
Messages: 68645
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Thanks for the feedback, what was the problem?

Regards
Michel
Re: adrci issue [message #528131 is a reply to message #528116] Fri, 21 October 2011 23:44 Go to previous messageGo to next message
dba_7722
Messages: 197
Registered: August 2010
Location: Delhi
Senior Member

Hi Michel,

working with System Admin,it was found that ZIP command was working properly but somehow path was not correctly set for ADRCI execution. when later set the path, it runs fine. If have any further suggestion, please share.

Thanks.


thunder:/u01/infoddp/product/11.2.0/db/bin>export PATH=$PATH:/u01/infoddp/product/11.2.0/db/bin/
thunder:/u01/infoddp/product/11.2.0/db/bin>adrci

ADRCI: Release 11.2.0.2.0 - Production on Wed Oct 19 11:30:03 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

ADR base = "/opt/oracle"
adrci> ips pack incident 637222 in /tmp
DIA-48448: This command does not support multiple ADR homes

adrci> set homepath diag/rdbms/infoddp/infoddp
adrci> ips pack incident 637222 in /tmp
Generated package 6 in file /tmp/ORA600266_20111019113023_COM_1.zip, mode complete
adrci>

Re: adrci issue [message #528137 is a reply to message #528131] Sat, 22 October 2011 01:41 Go to previous message
Michel Cadot
Messages: 68645
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Thanks, it is helpful.

Regards
Michel
Previous Topic: v$sql and resource hungry query
Next Topic: fetch procedure of one database from another database server
Goto Forum:
  


Current Time: Thu Apr 25 16:49:45 CDT 2024