The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Doubt in running shell script lchokka Shell Programming and Scripting 5 08-20-2008 01:51 PM
Running from Shell Vs running from RC script vickylife SUN Solaris 2 07-31-2008 06:01 AM
Need to know rhe PID for the Shell Script running pbsrinivas Shell Programming and Scripting 7 01-25-2007 06:10 AM
Running Shell Script from Java Asty Shell Programming and Scripting 3 08-14-2006 06:08 AM
running shell script from sqlplus dkr123 Shell Programming and Scripting 9 07-20-2006 07:52 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-17-2008
Registered User
 

Join Date: Feb 2007
Posts: 51
Unhappy shell script not running

Dear Friends,

OS: REDHAT ENTERPRISE LINUX ,nash version
I am facing a peculier type of problem.A bash script ran yesterday
does not run successfully today . Absolutely giving NO OUTPUT AT ALL.

We have migrated recently from redhat linux 9 to REDHAT ENTERPRISE
LINUX 4.4 recently .What could be the reason ? Where shall I look to rectify
the problem? Can any one show me the path??

I am facing problem while running the script where the arrays are involved.

Thanks in advance .
Reply With Quote
Forum Sponsor
  #2  
Old 09-17-2008
Registered User
 

Join Date: Apr 2008
Location: Calgary
Posts: 196
Are you sure that your shell is located in the same place?

ie: /bin/favourite_shell may have moved to /usr/bin/favourite_shell
Reply With Quote
  #3  
Old 09-17-2008
Registered User
 

Join Date: Feb 2007
Posts: 51
shell script not running

Yes dear avronius

Yes the path and the directory and location of the script all are same and no change at all .Confirmed.

Thanks for your propt reply .
Reply With Quote
  #4  
Old 09-17-2008
Registered User
 

Join Date: Sep 2008
Posts: 6
Try this command

sh -x <shell script>

and check the output .
This command will execute each and every line of you script and show it on the bash prompt.
It is like debug mode.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:32 PM.


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