Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

error codes meaning on AIX

Posted on 2002-05-28
8
Medium Priority
?
5,465 Views
Last Modified: 2013-12-06
Hi,
Where can I find a table with the meaning of all error codes on AIX? (such as when a perl program returns a non-zero code)
Many thanks,
Hilit
0
Comment
Question by:hilit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 4

Accepted Solution

by:
newmang earned 200 total points
ID: 7040574
The problem with this is that there are codes from just about every part of the system. There are codes returned when the syatem boots and these are easily obtained, there are codes from various parts of the operating system, again well documented and then there are codes from application software. You ask for codes caused when a perl program returns a non-zero code - in this case it rather depends on what the author of the perl script coded in the script and this will vary from script to script.

You should look at the perl script itself to work out what error code is returned under each circumstance to find out what the script is returning.
0
 
LVL 1

Author Comment

by:hilit
ID: 7041044
Well, this was a question by a co-worker, but I think the error code comes from system calls and he wanted to know what the error meant.
So is there a table for error codes for system calls (called from Perl if it helps)?
0
 
LVL 84

Expert Comment

by:ozo
ID: 7041054
man 2 intro
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 4

Expert Comment

by:newmang
ID: 7041061
Again it depends on the individual call that returns the error code. You would need to determine what call is returning the error then use the man pages to determine what codes that call will return for various error states.

Cheers - Gavin
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7041269
> .. the error code comes from system calls ..
man <name of system call>
then check perl code (as already suggested) what it does with $?.

Each program has it's own idea about error/exit codes, usually. They are described in the docs/man-pages, usually.

Some codes are more of a general nature, see /usr/include/sys/errno.h
0
 
LVL 2

Expert Comment

by:bedot
ID: 7064744
Hi
there is an include file named errno.h that gives the name of system errors related to the number of the error:
this file, generally in /usr/include/sys;
with the symbolic name of the error, you can find an explanation if you use man errno command;
BUT explanations are very short!
if the error number is returned directly by a command and NOT by the system, you must take a look at the manual page of the command (generally at the end), as ahoffmann said.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 8048883
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Answered by newmang

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8096450
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question