In fact this is indeed the case with Solaris 10's new patching mechanism that was introduced when zones were introduced. Get in touch!. For what it's worth. Recent Posts Recommended Patchset for Solaris 10 - January 2016 Joyent CLI basics Behaviour of the audit daemon How To: Confirm Link Speed for a Network Interface Using nohup for existing
Find all posts by Tornado #2 06-04-2007 Tornado Users Awaiting Email Confirmation Join Date: Nov 2006 Last Activity: 21 October 2015, 12:28 AM EDT Location: Melbourne Posts: 261 Return Code 2 indicates that the patch you are trying to install is already been applied. The first time I rolled my eyes and clicked 'Continue'. Solaris 10: Exit codeMeaning 0No error 1Usage error 2Attempt to apply a patch that's already been applied 3Effective UID is not root 4Attempt to save original files failed 5pkgadd failed 6Patch
Solaris 10 patch error codes Exit Meaning code 0 No error 1 Usage error 2 Attempt to apply a patch that's already been applied 3 Effective UID is not root 4 The request cannot be fulfilled by the server ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: http://0.0.0.10/ Connection to 0.0.0.10 Twitter: @thatcks * * * Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web This is a DWiki. Please try the request again.
Return Code 25 indicates that a patch required for this patch to be installed in not found. having previously wanted the sort of interaction normally seen in needy young children, the installer decided to automatically reboot at the end. Forum Operations by The UNIX and Linux Forums Sun Solaris System Admin Sun Solaris HowTo's Tips Tricks Tutorials About Sitemap Sun Solaris Patch Management return codes Package Management Add comments Jan This is just sloppy; you should be able to order your entire install series so it asks for each CD-ROM only once.
The only reliable exit codes are 0 and >0 (see the patchadd(1M) man page) and you'll find the exit codes very rarely actually match this list unless you use the -t Here's what they all mean. Whoops. Well you need not wonder no more...
Thanks! weblink This should not cause any problems, since there is no overlap or conflict in usage of exit codes between compiled C/C++ binaries and shell scripts.PrevHome
You're quite right about the rule of thumb: if it's 0, things are green, if it's anything else - watch out. The author of this document proposes restricting user-defined exit codes to the range 64 - 113 (in addition to 0, for success), to conform with the C/C++ standard. The author of this document will not do fixups on the scripting examples to conform to the changing standard. http://getbetabox.com/return-code/r10-ach-return-code.html Oracle Blogs Home Products & Services Downloads Support Partners Communities About Login Oracle Blog Dan Lacher Blog for dlacher « MSD | Main | Is Bloging Foolish? » Solaris 10 Patch
If you are looking for Solaris 8 or 9 patch return codes then head over to the previous post. Since exit code 1 signifies so many possible errors, it is not particularly useful in debugging.There has been an attempt to systematize exit status numbers (see /usr/include/sysexits.hWe would love to hear from you to see how your Unix infrastructure can be improved.
Reply Speak Your Mind Cancel reply Name * Email * Website Notify me of follow-up comments by email. It would not have killed Sun to print an actually useful error message instead of 'Return code N'.) Comments on this page: From 126.96.36.199 at 2006-03-21 06:10:42: RETURN CODES: The following Does one or both of them mean that something important has gone wrong during patch installation? (It appears that return code 2 means 'update already installed' and return code 8 means A similar standard for scripting might be appropriate.
GettingAround (Help) Search: Page tools: View Source, View Normal, Add Comment. See also: Solaris 8/9 patch return codes How to make sure you don't corrupt your netinstall miniroot Installing Solaris with DHCP and PXE Filed Under: General Solaris topics Tagged With: patches, Code: # patchrm Exit Codes: # 0 No error # 1 Usage error # 2 Attempt to backout a patch that hasn't been applied # 3 Effective UID is not root his comment is here Note, the -t option is NOT compatible with zones.