Solved

Error code 138??

Posted on 2000-05-11
8
1,512 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
Technology Partners: 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 200 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

Technology Partners: 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!

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

752 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