The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with EXPECT script hanging markus2008 UNIX for Dummies Questions & Answers 0 03-11-2008 03:44 PM
how to use remsh to duplicate all... rauphelhunter Shell Programming and Scripting 0 01-14-2008 01:19 AM
remsh kazanoova2 UNIX for Dummies Questions & Answers 3 12-21-2004 10:39 AM
remsh and run script bugggg Shell Programming and Scripting 1 11-13-2002 05:23 PM
hanging sql script inquirer UNIX for Dummies Questions & Answers 4 12-26-2001 10:11 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-08-2006
vivsiv vivsiv is offline
Registered User
  
 

Join Date: Jun 2006
Location: Los Angeles
Posts: 17
Question script hanging - remsh

Greetings to everyone,
My Problem:
I have a script which inturn calls couple of other scripts in different servers (solaris) to do a server startups on the respecitve boxes.
My script ...

#!/usr/bin/ksh
siebsrvr_root=/users/siebelserver/siebsrvr
cd $siebsrvr_root
. ./siebenv.sh
echo "Loaded the environment variable"

cd $siebsrvr_root/bin
echo "Making sure the server is down"
./stop_server all
echo "Starting the siebel server "
./start_server all

echo " server 1 "

remsh cash2 '/users/home/sadmin/startdrsrvr.sh'

# echo " server 2 "
remsh evans1 '/users/home/sadmin/startact.sh'

echo " server 3"
remsh cash1 '/users/home/sadmin/startdrsrvr.sh'
echo "started siebel server on cash1"

#########################

Problem that i am not able to understand is, the script just hangs after executing server 1 , its not just transferring to next server 2 .
Any ideas how to overcome this problem.

Last edited by vivsiv; 07-09-2006 at 12:22 AM..
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0