01-29-2009
The PATH variable was the problem Thank you genius otheus
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello ,
i have a problem in writing the shell script..
i have a script already written n just need to make a change in which when the script is not able to connect to the database ..it should print an error msg on the screen.
I have already seen previous posts on how to connect to the... (3 Replies)
Discussion started by: sommer_queen
3 Replies
2. Shell Programming and Scripting
Hi,
I have a config.xml which cointains the tags like
<CONFIG>
<PROPERTY name="port" value="1111"/>
<PROPERTY name="dbname" value="ABCDE"/>
<PROPERTY name="connectstring" value="xyz/pwd"/>
</CONFIG>
This file is in some directory at UNix box.
I need to write a... (4 Replies)
Discussion started by: neeto
4 Replies
3. Shell Programming and Scripting
Hi All,
I'm Raghavendra. I have a very urgent requirement to develop a Shell Script which will allow to use variables in a property file as demonstarted below
var1=UNIX
var2=LINUX
var3=WINDOWS
var4=$var1,$var2
var5=$var3
Could you please help me to develop a shell script which can... (2 Replies)
Discussion started by: raghavstunner
2 Replies
4. Solaris
Hello Everyone!
I have a Sun Fire E2900. When I run a prtdiag -v, it fails to give complete information. It fails with the following error message "Prtdiag failed!Property not found".
Please help.
# which prtdiag
/usr/sbin/prtdiag
# ls -l /usr/sbin/prtdiag
-r-xr-xr-x 4 root bin 512... (10 Replies)
Discussion started by: pingmeback
10 Replies
5. Shell Programming and Scripting
Hi All,
I have 2 properties files - one is a master templete and other one is a node specific properties file, I need to comapre these 2 properties files and make sure the node Specific properties file contains all the properties in the master temple properties file else report the missing... (5 Replies)
Discussion started by: jayka
5 Replies
6. Shell Programming and Scripting
Hi!
i need a script that can read a property file.
i.e., A script to read a "property" from property file.
Read the property value and
based on value of property, decide whether to start the some dataload activity or not.
Its urngent. Can anyone help me out???:( (7 Replies)
Discussion started by: sukhdip
7 Replies
7. Shell Programming and Scripting
Want to write a function that prints an error when passed a list of file names. If the file list is empty, print error "no file found", if there are more than one file, print "error more than one file found" (22 Replies)
Discussion started by: kristinu
22 Replies
8. Shell Programming and Scripting
Hi,
I am new in perl.
I am running a perl installation script, its asking for paths and so many inputs.
Can we provide that info by any file.
so i can avoid the interactive installation. (2 Replies)
Discussion started by: Priy
2 Replies
9. UNIX for Advanced & Expert Users
Hi Guys,
I am calling a SQL script which runs under while loop, i need to exit the while loop if i get error in sql script which is called
while
do
sqlplus -s user/pass@db @test.sql id$i
done
test.sql
whenever sqlerror exit;
alter table t1 add &1 number;
I need to come out of... (2 Replies)
Discussion started by: rohit_shinez
2 Replies
LEARN ABOUT OPENSOLARIS
scdsbuilder
scdsbuilder(1HA) Sun Cluster Commands scdsbuilder(1HA)
NAME
scdsbuilder - launch GUI version of Sun Cluster Agent Builder
SYNOPSIS
scdsbuilder
DESCRIPTION
The scdsbuilder command launches the GUI version of the Sun Cluster Agent Builder.
Before you use Agent Builder, verify the following requirements:
o The Java runtime environment is included in your $PATH variable. Agent Builder depends on the Java Development Kit, starting
with Version 1.3.1. If the Java Development Kit is not included in your $PATH variable, the Agent Builder command (scdsbuilder)
returns and displays an error message.
o You have installed the Developer System Support software group of the Solaris 9 OS or Solaris 10 OS.
o The cc compiler is included in your $PATH variable. Agent Builder uses the first occurrence of cc in your $PATH variable to
identify the compiler with which to generate C binary code for the resource type. If cc is not included in $PATH, Agent Builder
disables the option to generate C code.
Note -
You can use a different compiler with Agent Builder than the standard cc compiler. To use a different compiler, create a symbolic link in
$PATH from cc to a different compiler, such as gcc. Or, change the compiler specification in the makefile (currently, CC=cc) to the com-
plete path for a different compiler. For example, in the makefile that is generated by Agent Builder, change CC=cc to CC=pathname/gcc. In
this case, you cannot run Agent Builder directly. Instead, you must use the make and make pkg commands to generate data service code and
the package.
EXIT STATUS
This command returns the following exit status codes:
0 The command completed succesfully.
nonzero An error occurred.
FILES
install_directory/rtconfig Contains information from the previous session. This information facilitates the tool's quit and
restart feature.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
cc(1B), scdscreate(1HA), scdsconfig(1HA), attributes(5)
Chapter 9, Sun Cluster Agent Builder, in Sun Cluster Data Services Developer's Guide for Solaris OS
Sun Cluster 3.2 14 Sep 2007 scdsbuilder(1HA)