Sponsored Content
Top Forums UNIX for Advanced & Expert Users execute a script on test server from dev server Post 302226243 by ukatru on Monday 18th of August 2008 02:56:22 PM
Old 08-18-2008
I am able to execute a command with ssh option.But i am facing one problem.before executing a script i need to execute my .profile also.because i have some env varaibles which comes from .profile and the sript will use them.
Can any one of you please help me how can i do that.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script to Test Application Server is running

Hi, I'm a complete novice at Unix and need to create a script that does the following... checks to see if an application server is running. If the app is running then print 'Available' Else print 'Unavaliable' exit from scriopt I have no idea where to start. I'd be very grateful... (0 Replies)
Discussion started by: duglover
0 Replies

2. Shell Programming and Scripting

Connect to differect server and execute the script

Hello Everyody Please help me with the below problem. I have two servers names server1 and server2. From server1, i have to connect to server2 and execute a script residing on server2. How can i achieve this? (6 Replies)
Discussion started by: vasuarjula
6 Replies

3. Shell Programming and Scripting

how to execute shell script in another server that contain sql.

hi all, how to execute shell script in another server that contain sql script. i tried using "ssh -l" option.. but i am unable to load the environment variable of the remote host. please suggest how execute the shell script contain sql part inside it. (2 Replies)
Discussion started by: sandeep909
2 Replies

4. Shell Programming and Scripting

Bash script to test IP range on server

Hello, We have to configure servers with a range of IPs which is in itself a subject for another script assistance request -but- we have run into quite a few IP ranges with routing problems lately. I've been trying to figure out the best way to test a range of IPs, I mean, manually it's not... (4 Replies)
Discussion started by: boxgoboom
4 Replies

5. Shell Programming and Scripting

Sftp script for dev server to client server

hi, i am new to unix, cuold u send some sftp acripts to send files to dev server to clint server, (1 Reply)
Discussion started by: Koti.annam
1 Replies

6. Shell Programming and Scripting

Execute a local script against a remote server

I am unable to run the below script against a remote server due to syntax error (then unexpected), but i am able to run it locally. Am i executing it correctly or is there any other way to execute it. ssh username@servernname ksh -s < scriptname #!/bin/ksh function record { ((end =... (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies

7. Shell Programming and Scripting

Shell script to copy a file from one server to anther server and execute the binary

Hi , Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file. We want to copy a file on multiple servers and run the installation. Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies

8. Shell Programming and Scripting

How to execute a shell script that resides in another server?

hi, i have a shellscipt that is in another server, my question is how do i run the script from a different server. EXAMPLE: SCRIPT_NAME: sample.sh SERVER: A what i wanted to achieve is to call that script from server B. Tried using ssh ssh <username>@serverB /home/sample.sh but... (5 Replies)
Discussion started by: reignangel2003
5 Replies

9. Shell Programming and Scripting

Execute a shell script in UNIX server from Cygwin

Hi All, We have shell scripts in UNIX ( Sun OS ) server. Also in my windows machine i have Cygwin installed. Now is there a way to execute Shell script available in UNIX server from Cygwin? (4 Replies)
Discussion started by: Girish19
4 Replies
CIPUX_RPC_TEST_CLIENT(1p)				User Contributed Perl Documentation				 CIPUX_RPC_TEST_CLIENT(1p)

NAME
cipux_rpc_test_client - command line tool to test the RPC server VERSION
version 3.4.0.0 SYNOPSIS
cipux_rpc_test_client [OPTIONS] cipux_rpc_test_client --help|-h cipux_rpc_test_client --version|-V Options: --debug : prints debug messages to cipux-test.log --host <NAME> : rpc server address, examples: localhost, 127.0.0.1, ldap --maxtest <NUMBER>: executes until and including max. number of tests --no-ssl : rpc server use no SSL --port <NUMBER> : rpc server port, example: 8001 --ssl : rpc server use SSL DESCRIPTION
This is a test script for users admins or packages to test if the cipux-RPC server is working. REQUIRED ARGUMENTS
None. OPTIONS
--debug Prints debug messages to cipux-test.log. -h See --help --help Prints short usage message. --host NAME Address of the RPC server. For example localhost, 127.0.0.1, ldap or other names. --maxtest NUMBER_OF_TESTS Runs up to NUMBER_OF_TESTS tests. The script can not stop after every test, but after the next possible test. Useful for debugging. --no-ssl Access CipUX XML-RPC server only over http, not https. --port NUMBER Port number of the XML RPC server. For example 8001. --ssl Access CipUX XML-RPC server over SSL aka https. DIAGNOSTICS
None. EXIT STATUS
1 on failure 0 on success other from XML-RPC server CONFIGURATION
not needet. DEPENDENCIES
CipUX::RPC::Test::Client version INCOMPATIBILITIES
Not known. BUGS AND LIMITATIONS
Not known. AUTHOR
Christian Kuelker <christian.kuelker@cipworx.org> LICENSE AND COPYRIGHT
Copyright (C) 2007 - 2008 by Christian Kuelker This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA perl v5.14.2 2012-01-04 CIPUX_RPC_TEST_CLIENT(1p)
All times are GMT -4. The time now is 02:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy