?
Solved

Error code 138??

Posted on 2000-05-11
8
Medium Priority
?
1,622 Views
Last Modified: 2013-12-27
Hi all,

Im tring to track down what error code 138 means.

I stop all processes running on the system do a database backup and then restart all processes. After the backup I try making a  command line call from a application (Remedy-ARS) and it returns: error code 138 and doesnt run, where before the backup the script works fine??

> before backup ...

> su - root -c "/etc/init.d/hiplink stop"
> /etc/init.d/arsystem stop
> /etc/init.d/oracle.sh stop

> after backup ...

> /etc/init.d/oracle.sh start
> /etc/init.d/arsystem start
> su - root -c "/etc/init.d/hiplink start"

Can anyone tell me what error code 138 is?

Operating System is Solaris 2.5.1

Cheers
0
Comment
Question by:edans
[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 12

Expert Comment

by:geotiger
ID: 2803048
What type script, ksh, csh, awk, or else from what application?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2803068
I suspect that might be an application error code. I don't have a 2.5.1 system handy to check, but I do know that Solaris 2.6 and later doesn't define error codes from 135-142.

When you restart the processes are you doing it the same order and with the same arguments as is done at boot time? If there's an init file(s) in /etc/init.d for the application(s), you should stop and stop the app with those init files using a "start" or "stop" argument as appropriate. Do be careful to ensure that "init-script stop" does actually stop everything that "init-script start" starts up (I've seen more than one vendor botch the "stop" argument).
0
 

Author Comment

by:edans
ID: 2803090
Edited text of question.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:geotiger
ID: 2803129
Check your Oracle alert file, you may find some clues there if the error is related to Oracle database.

Did you use dbshut and dbstart scripts that Oracle provides? In these scripts, environment variables are set for the specific instances based on information in oratab.
0
 

Expert Comment

by:bob.18243
ID: 2805959
This may or may not have any relevance.

Under HP-UX, an exit status of 138 means the process terminated as a result of receiving a signal 10.
Signal is ECHILD:

No child processes.  A wait() was executed by a process that had no existing or unwaited-for child processes.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2807333
Your start/stop procedure looks odd. You are apparently root for one, but not the others. Could I see what "ls -l /etc/init.d" shows?
0
 
LVL 5

Expert Comment

by:ianB
ID: 2855580
We have opened up a new Solaris Topic Area.  

To increase the visibility of questions, we moved questions we felt
appropriate to the new Solaris Topic Area where they will be easier for
Solaris experts to find and answer. You may view your question at
http://www.experts-exchange.com/Computers/Operating_Systems/Solaris/ 

If you have any questions about the new topic area you can contact
Community Support by posting a comment at the following URL or by
emailing us at cs@experts-exchange.com.
http://www.experts-exchange.com/Customer_Service/Experts_Exchange/ 

Ian
Community Support @ Experts Exchange

0
 

Accepted Solution

by:
xPeterS earned 400 total points
ID: 2967796
If you are sure that the error code from the operating system , you can look after the error codes in the /usr/include/sys/errno.h file.
I use solaris 2.6 , and in this file '/* XENIX has 135 - 142 */' this line
to 138 error code.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

719 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