  | 
			
				SoftTree Technologies 
				Technical Support Forums
			 | 
		 
		  | 
	 
	 
	
	
	
		
	
	
	
		| Author | 
		Message | 
	 
	
		
			seanc217 
			 
			
  
			
			
				Joined: 23 May 2007 Posts: 272
  | 
			 
			  
		 | 
		
			
				  Return Codes | 
				     | 
			 
			
				Hi There,
 
 
I am executing shell scripts on a remote box.
 
Sometimes in the log I see the following...
 
 
23-Feb-2012 02:53:31 PM 3       7xScmRht5hhVbDPyGb3xspoWOaY=    2350    010_check_fidmon84      Remote job failed. Exit code: -1;
 
 
Now this script does not return a -1, it only returns a 0 or 1.
 
Is this some type of internal failure in the scheduler?
 
 
Thanks.
  | 
			 
		  | 
	 
	
		| Tue Feb 28, 2012 8:50 pm | 
		          | 
	 
	
		  | 
	 
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Hi,
 
 
Exit code -1 is returned by the process running that remote job, the -1 value from that process tells the scheduler that remote job failed. A zero value means success. Please check scheduler.log file on the agent system to find more details on the failed jobs.
  | 
			 
		  | 
	 
	
		| Wed Feb 29, 2012 12:31 am | 
		          | 
	 
	
		  | 
	 
	
		
			seanc217 
			 
			
  
			
			
				Joined: 23 May 2007 Posts: 272
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Hi there, I did check the agent and found the following:
 
 
28-Feb-2012 04:19:52 PM 2       null    916     050_run_csi_datasec_load        Remote job started.
 
28-Feb-2012 04:19:52 PM 2       null    916     050_run_csi_datasec_load        Job started.
 
28-Feb-2012 04:20:22 PM 2       null    916     050_run_csi_datasec_load        Job finished.
 
 
 
So, the job did complete, but it returned a -1.
 
 
Thanks
  | 
			 
		  | 
	 
	
		| Wed Feb 29, 2012 4:04 pm | 
		          | 
	 
	
		  | 
	 
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Hi,
 
 
Were there other jobs running at the same time?
  | 
			 
		  | 
	 
	
		| Wed Feb 29, 2012 10:38 pm | 
		          | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
	 
	    
	   | 
	
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
   
 
		 | 
	 
	  |