06-06-2017
Yes, that is code to wait for a child and report status. Did you write the code?
If not how do you know what the exit code of 11 means? Software does not have a universal exit code databse or specification. sysexits notwithstanding (does not have an out of space error - on linux see /usr/include/sysexits.h).
How much space is free in /tmp [and/or] $TMPDIR? Sort packages often respond to environment variables- UNIX sort does - which is why I ask.
This User Gave Thanks to jim mcnamara For This Post:
10 More Discussions You Might Find Interesting
1. HP-UX
I am new to HP-UX.
I have an 8GB drive that is my root drive, contained in a Volume Group.
I would like to clone that drive to another drive, which is 18.4GB. The other drive is not in a volume group.
I am using this simple command:# dd if=/dev/dsk/c0t6d0 of=/dev/dsk/c0t5d0The command... (4 Replies)
Discussion started by: emsecrist
4 Replies
2. Shell Programming and Scripting
Hi,
Please help me...
I am creating a string of filenames with absolute path and deleting those files situated in the remote server using ssh .. but it doesnot work..
Can anyone help me...
here is my code
for FileName in ${myDire}
do
Tmp=`basename... (4 Replies)
Discussion started by: shihabvk
4 Replies
3. Solaris
I am trying to umount a NFS share.
When I do the following:
# umount syrupg21
umount: /oebs/syrupg21: device is busy
device bussy so I like to check what is working on the system....
# fuser -muv /oebs/syrupg21/
#
So no locks should be there... any clue?
Regards,
Johan... (3 Replies)
Discussion started by: suntac
3 Replies
4. AIX
I posted some errpt output,see Phone Support, that this forum graciously looked at and confirmed what we suspected, that one of our RAID5 disks is failing. I have a replacement, but am having trouble downing the old disk. If I try and run Remove a Disk from smit, it says the device is busy. The... (4 Replies)
Discussion started by: markper
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I'm hopin' ya can give me an idea or two here.
I'm writing a file transfer tracking program. Users login via FTP or https. These users have NO shell access. I'll get to that in a minute. When they upload or download a file, a script is invoked to log the transfer in a database,... (9 Replies)
Discussion started by: mph
9 Replies
6. UNIX for Dummies Questions & Answers
Firstly, system setup -
HP900 K460, 3 internal hard drives that make up the system volume group(vg00) no software mirroring
HP-ux version 11.00
2 Nike 20 raid arrays attached, fully populated with 40 4gb hot swap drives(All used in production environment)
I have 3 disks that make up my... (0 Replies)
Discussion started by: rees_a
0 Replies
7. Shell Programming and Scripting
We have script like this in the .bash_profile..
#-# determine if session is interactive or in background
if ]; then
while true; do
read -p "Do you wish to load profile yes or no?" yn
case $yn in
* ) source /opt/oracle/.profile; break;;
* ) break;;
*... (2 Replies)
Discussion started by: talashil
2 Replies
8. Shell Programming and Scripting
Hi Everyone,
we have a shell script "DLP_recv.sh" that has below command which is supposed to return the number of active instances of itself, which means of there is no other instance then commad would return 1 (for the current instance). The problem is that it sometimes it returns 0 which is... (3 Replies)
Discussion started by: guycool
3 Replies
9. AIX
Hi Team,
Please help me to resolve the below backup (backupios) issue on my VIO.
My VIO is a SAN booted from EMC and powerpath has been installed on this.
We already run pprootdev fix and linked the /dev/ipldevice to rootvg hdisk.
... (2 Replies)
Discussion started by: Nazar_KA
2 Replies
10. Solaris
Hi,
I am running a rsync command from one server to another server. Source server is having user - bfdeploy and destination user is ftcjbd. Though ftcjbd is owner of /ftc/envs/static/includes/vehicles on destination server, it is still giving error "mkstemp - Permission denied". I am not able to... (4 Replies)
Discussion started by: solaris_1977
4 Replies
LEARN ABOUT NETBSD
sysexits
SYSEXITS(3) BSD Library Functions Manual SYSEXITS(3)
NAME
sysexits -- preferable exit codes for programs
SYNOPSIS
#include <sysexits.h>
DESCRIPTION
It is not a good practice to call exit(3) with arbitrary values to indicate a failure condition when ending a program. In addition to the
two standard constants in <stdlib.h>, EXIT_SUCCESS and EXIT_FAILURE, the header <sysexits.h> defines few exit codes that can be used as a
parameter to the exit(3) function. By using these constants the caller of the process can get a rough estimation about the failure class
without looking up the source code.
The successful exit is always indicated by a status of 0, or EX_OK. Error numbers begin at EX__BASE to reduce the possibility of clashing
with other exit statuses that random programs may already return. The meaning of the codes is approximately as follows:
EX_USAGE (64) The command was used incorrectly, e.g., with the wrong number of arguments, a bad flag, a bad syntax in a parameter, or
whatever.
EX_DATAERR (65) The input data was incorrect in some way. This should only be used for user's data and not system files.
EX_NOINPUT (66) An input file (not a system file) did not exist or was not readable. This could also include errors like ``No
message'' to a mailer (if it cared to catch it).
EX_NOUSER (67) The user specified did not exist. This might be used for mail addresses or remote logins.
EX_NOHOST (68) The host specified did not exist. This is used in mail addresses or network requests.
EX_UNAVAILABLE (69) A service is unavailable. This can occur if a support program or file does not exist. This can also be used as a
catchall message when something you wanted to do does not work, but you do not know why.
EX_SOFTWARE (70) An internal software error has been detected. This should be limited to non-operating system related errors as possi-
ble.
EX_OSERR (71) An operating system error has been detected. This is intended to be used for such things as ``cannot fork'', ``cannot
create pipe'', or the like. It includes things like getuid returning a user that does not exist in the passwd file.
EX_OSFILE (72) Some system file (e.g., /etc/passwd, /var/run/utmp, etc.) does not exist, cannot be opened, or has some sort of error
(e.g., syntax error).
EX_CANTCREAT (73) A (user specified) output file cannot be created.
EX_IOERR (74) An error occurred while doing I/O on some file.
EX_TEMPFAIL (75) Temporary failure, indicating something that is not really an error. In sendmail, this means that a mailer (e.g.)
could not create a connection, and the request should be reattempted later.
EX_PROTOCOL (76) The remote system returned something that was ``not possible'' during a protocol exchange.
EX_NOPERM (77) You did not have sufficient permission to perform the operation. This is not intended for file system problems, which
should use EX_NOINPUT or EX_CANTCREAT, but rather for higher level permissions.
EX_CONFIG (78) Something was found in an unconfigured or misconfigured state.
The numerical values corresponding to the symbolical ones are given in parenthesis for easy reference.
SEE ALSO
err(3), exit(3), stdlib(3)
HISTORY
The <sysexits.h> header appeared somewhere after 4.3BSD. The manual page for it appeared in NetBSD 4.0.
AUTHORS
This manual page was written by Jorg Wunsch after the comments in <sysexits.h>.
BUGS
The choice of an appropriate exit value is often ambiguous.
BSD
March 25, 2010 BSD