The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server madhunk UNIX for Dummies Questions & Answers 5 01-31-2008 10:30 AM
script hangs when a remote server is down vikas027 Shell Programming and Scripting 6 11-06-2007 09:26 AM
server Hangs during FTP transfer sgoundar Filesystems, Disks and Memory 0 05-21-2006 03:33 PM
Vi Hangs server while editing a 500k file??? Stephen Dale HP-UX 4 03-01-2006 03:20 PM
Solaris 9 server hangs, when rebooting smohd UNIX for Advanced & Expert Users 3 09-03-2002 11:24 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-17-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
Script hangs on the unix server

We have a unix script scheduled to execute once in a day, some times it hangs on the server and never performs its operations, we need to manually kill the process and re-start that script, is there any way to have notification when the script hangs on the server.

Thanks & Regards,
Murthy.
Reply With Quote
Forum Sponsor
  #2  
Old 07-17-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by Ramana Murthy View Post
is there any way to have notification when the script hangs on the server.
What is the criteria you use to determine if it has hung rather than just taking a long time?
Reply With Quote
  #3  
Old 07-17-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
okay, so script didn't get hang, Contents of the script failed to execute from the script( in my case it is SQL File ).
Reply With Quote
  #4  
Old 07-17-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by Ramana Murthy View Post
okay, so script didn't get hang, Contents of the script failed to execute from the script( in my case it is SQL File ).
I suggest you check return codes, exit codes and the like.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0