Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 17th, 2005, 4:48 PM   #1
pelon
Newbie
 
Join Date: Jan 2005
Posts: 2
Rep Power: 0 pelon is on a distinguished road
Exclamation Bash Script Help

We have a bash script issue seeking advice on, I'm hoping someone can tell us what we are leaving out.

The script is part of cluster script that start a database application. The command runs fine and starts the database from a command prompt by it shelf, but seems to hand or freezes when it is added to the script.

When we check with "ps" command it displays under STAT with an R< and the less than sign. The command is ran as root, here is what it look like.


" d3 -a x " is the command we are have a problem with. Like I said it works fine at the command prompt, just won't work from within the script.

I am positive that we must be leaving something out that is required when run within a shell script.


Any suggestion welcome
pelon is offline   Reply With Quote
Old Feb 9th, 2005, 8:40 PM   #2
lakerdonald
Newbie
 
Join Date: Aug 2004
Location: St. Petersburg,FL
Posts: 8
Rep Power: 0 lakerdonald is on a distinguished road
Send a message via AIM to lakerdonald
Can You Post the Script

Can you post the script here so we can see how you are trying to go about this?
__________________
Hello mother I have a surprise for you! I'll give you a hint: It's in my diaper and its not a toaster!
lakerdonald is offline   Reply With Quote
Old Feb 28th, 2005, 4:58 PM   #3
Vorlin
Newbie
 
Join Date: Feb 2005
Posts: 12
Rep Power: 0 Vorlin is on a distinguished road
Have you tried changing it from:
d3 -a x

To this:
nohup d3 -a x &

?
__________________
--Vorlin

"Systems administration - it's not just my job, it's how I buy video games!"
Vorlin is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:31 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC