Job Error


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Job Error
# 1  
Old 05-25-2006
Job Error

While running a script in an UNIX based system i came across with a job error 255.....does anyone knows what it means?

TIA
# 2  
Old 05-25-2006
c code

May be its a C program return code.
# 3  
Old 05-25-2006
that's not it, i'm sure....i'm tired of searching the meaning of this error but i can't seem to find it anywhere...
# 4  
Old 05-25-2006
This is an exit status, correct?

If so, bash defines this as exit status being out of range...

Cheers
ZB
# 5  
Old 05-25-2006
This return code can also occur when a program dies from an interrupt of some sort.
# 6  
Old 05-25-2006
thks for your help but i finally figure it out !!! it seems that the program i use to run the script on HP-UX needs to have the sh command before the path.

e.g. sh unix-forums.sh

Otherwise it returns that error :S

Strange things happen in the underground world of Unix Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error when running a job on SSH

Hi all this is the first script I submit to SSH and I got this error immediately: Post job file processing error; job (my job number)-hpc on host inode18/0 Unable to copy file /var/spool/torque/spool/(my job number)-hpc.OU to (my user and director) *** error from copy Permission denied... (3 Replies)
Discussion started by: Emy
3 Replies

2. UNIX for Dummies Questions & Answers

Error while running a script through cron job

Hi Team, When i am running the below query manually it is giving me the right output i.e. export PATH=/usr/sbin:/usr/bin:/sbin:/bin:$PATH ADMIN=abc@abc.com CPU_HIGH=`sar|awk '{print $9}'|sort -n|head -5|sed -n 5p` CPU_MAX=`echo "scale=3; 100-$CPU_HIGH" | bc` CPU_LOW=`sar|awk '{print... (13 Replies)
Discussion started by: Ekamjot
13 Replies

3. Shell Programming and Scripting

Nightly job error message when trying to execute script

Hello All, I am getting the following error message when trying to execute the following script. AWK=/usr/bin/awk TR=/usr/bin/tr SED=/usr/bin/sed CAT=/usr/bin/cat MAILFILE=/home//nightly_jobs.tmp mailto=xxx@gmail.com Nigh_Status = `db2 "select TYPE from ETL.LOCK where STATUS <> 0 and... (12 Replies)
Discussion started by: NARESH1302
12 Replies

4. Shell Programming and Scripting

cron job error

HI am having a script file which is ok if i run from the server manually like <root@hostname:/space/canvas/home/lbs/current/internalcdrbackup/LES_CDR_Configuration/0/MSISDNcdrCount > /space/canvas/home/lbs/current/internalcdrbackup/LES_CDR_Configuration/0/MSISDNcdrCount.txt the... (2 Replies)
Discussion started by: aemunathan
2 Replies

5. Shell Programming and Scripting

autosys job error file not created

Hi All Something really weird happened, I have an autosys job: insert_job: CAT_LDN_BaseCorrs job_type: c command: $$(LDNFIRC)\CAT_LDN_BaseCorrs.bat -modeldate $$MODEL_DATE -cutdate $$CUT_DATE permission: gx, mx, wx description: "Rerun=0;625;#CAT_Autosys" std_out_file:... (0 Replies)
Discussion started by: evilsmile2004
0 Replies

6. Shell Programming and Scripting

Error in cron job;

Hi All, please help me out with this problem. While running my mail_out_original.ksh in CRT window, it disconnects from the server saying not connected Here is my code : (please see the attachment) ____________________________________________________________ #!/bin/ksh ## Load... (1 Reply)
Discussion started by: shruthinagaraj
1 Replies

7. UNIX for Dummies Questions & Answers

Error in cron job;

Hi All, please help me out with this problem. While running my mail_out_original.ksh in CRT window, it disconnects from the server saying not connected Here is my code : (please see the attachment) ____________________________________________________________ #!/bin/ksh ## Load... (1 Reply)
Discussion started by: shruthinagaraj
1 Replies

8. Shell Programming and Scripting

job generating error mails

Hi Is there any way we can findout which job/process in unix environment is generating error mails. I am continuously getting it with no subject.. I know the hostname. And the error in mail - SQL server timed out. There are hundreds of jobs runing there. How can we find the culprit... (3 Replies)
Discussion started by: manojgarg
3 Replies

9. Shell Programming and Scripting

Creating Job List: Print error

I have a very simple script here who's output is supposed to be a text file containing the same command applied to different files. Here it is: #!/bin/bash for f1 in newEN*bloc do cd ./$f1 for f2 in *.maf do awk '{print '"run_lrt.sh... (1 Reply)
Discussion started by: awknerd
1 Replies

10. HP-UX

Job Error

When i run a script in a HP-UX server, it returns the job error 255. Can anyone knows what it means? TIA (1 Reply)
Discussion started by: Viegas
1 Replies
Login or Register to Ask a Question