Blog

Home > Return Code > Return Code 8 Solaris

Return Code 8 Solaris

Running the C-shell or tcsh may give different values in some cases.

Notes[1]Out of range exit values can result Neither are helpful error messages. An exit value greater than 255 returns an exit code modulo 256. I'll start with a nice simple one: # useradd -m -c 'Chris Siebenmann' cks UX: useradd: ERROR: Unable to create the home directory: Operation not applicable. this contact form

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

The most commonly seen return codes are Return code 2, Return code 8, Return code 25, Return code 35. Ultra-10s are not where you go if you want even 1998-era PC graphic basics, like 32-bit colour.) Then there's the small issue of patch installer error messages, which are lovely things Reserved Exit Codes

Exit Code NumberMeaningExampleComments1Catchall for general errorslet "var1 = 1/0"Miscellaneous errors, such as "divide by zero" About dlacher Search Enter search term: Search filtering requires JavaScript Recent Posts The New World Message In Hand Sun HPC ClusterTools 8.0 When did that happen Clean off the cobwebs Which

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 194.3.231.254 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.

Terms of Use | Your Privacy Rights | Solaris BlogTips and tricks on DTrace, ZFS, Zones and Solaris administration Home About Archives Contact Solaris 10 patch return codes May 19, 2009 Return Code 8 indicate that the patch you are trying to install is for a package that is not already installed.