04-26-2006
Glance Fatal Error
Hi ,
I a stuck with this problem. I am trying to execute this script1 on SERVER 1 from SERVER 2 using script2
script1 on SERVER 1
#!/usr/bin/ksh
/opt/perf/bin/glance -f -adviser_only -iterations 2 -maxpages 2 > /home/user/scripts/glance.op
cpuval1=`grep ^CPU /home/user/scripts/glance.op| cut -d"|" -f2| cut -d"%" -f1`
memval1=`grep ^Mem /home/user/scripts/glance.op| cut -d"|" -f2| cut -d"%" -f1`
echo "The CPU Utilization is"
echo $cpuval1
echo
echo "The Memory Utilization is "
echo $memval1[/SIZE]
[/SIZE]8
Script2 on Server 2
#!/usr/bin/ksh
echo " "
echo "The Current date and Time is "
date
echo " "
scriptpath=/home/user/scripts
ssh shs1pd1 $scriptpath/glance_details.sh
Error in the glance.op file
===================== GlancePlus Fatal Error =====================
Version:
User : xxxx Date: Wed Apr 26 02:55:54
File : ../../../gp/source/glance/terminal.c Line: 159
System : xxxxx B.11.11 9000/800
Unable to initialize terminal.
stdin is not a terminal device.
======================================================================
===================== GlancePlus Non-Fatal Error =====================
Version:
User : xxxx Date: Wed Apr 26 02:55:55
File : ../../../gp/source/glance/glance.c Line: 1377
System : xxxxx B.11.11 9000/800
Unable to perform functions on devices.
======================================================================
===================== GlancePlus Non-Fatal Error =====================
Version:
User : xxxx Date: Wed Apr 26 02:55:55
File : ../../../gp/source/glance/glance.c Line: 1379
System : xxxxxx B.11.11 9000/800
Unable to perform functions on devices.
======================================================================
Can some one help me fix this problem ..
Thanks ..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a doubt with an error message, and i want to be sure if this is a normal situation or not.
Situation: I was formating and installing a SCSI 36Gb HD with UNIX SCO 5.05, the problem happens when is making the division and filesystem on disk 1, and the message error is "Exit value 139... (1 Reply)
Discussion started by: jav_v
1 Replies
2. Programming
dear all ,
iam trying to compile a progam using gcc compiler on a sun 280 R machine running solaris 9 .
iam getting an error in the last step when the compiler tries to link the objects , although the compiler executes some applicarions that contains no objects smoothly,
the error that... (1 Reply)
Discussion started by: ppass
1 Replies
3. Programming
Hi,
I just pulled out my code from source control, then I compiled, the compilation is successful at that time.
Then I modified one of the source file, Then I compiled, I got the following error
ld: fatal: Symbol referencing errors. No output written to ../../CM/bin/cato
Before... (1 Reply)
Discussion started by: sarwan
1 Replies
4. Programming
i am trying to compile my program using a makefile and i keep getting this message:
Undefined first referenced
symbol in file
main
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/crt1.o
ld: fatal: Symbol referencing errors. No output written to prog5
collect2: ld returned 1 exit status
***... (2 Replies)
Discussion started by: betterdayz
2 Replies
5. Shell Programming and Scripting
Hi,
I'm running glance ussing ssh from a "HP-UX" machine for a Sun machine.
Here is a sample code:-
x:- HP-UX
y:- Sun
Extracting a value from glance outuput.
ssh x@y "/opt/perf/bin/glance -f -adviser_only -iterations 2 -maxpages 1 > glance.op ; echo `head -1 glance.op | a
wk '{print... (0 Replies)
Discussion started by: bishweshwar
0 Replies
6. AIX
while running a script to process a file , it ended in termination . I able to find from the logs that it ended due to the error : fatal: record too large 20480 . Then I tried lots to fix the issue and left in vain . Can any one help me in finding reason for it ? . If you provide me a solution , I... (1 Reply)
Discussion started by: sakthifire
1 Replies
7. AIX
Background
-------------
Os: IBM AIXL 5.1 (Unix)
Problem
-------------
I run the dbx in csh as follows
% dbx mainprog
-- The following is the systemm replay
Type 'help' for help.
reading symbolic information ...warning: stab entry unrecognized: name ,type 45, class a8, value 0'
... (1 Reply)
Discussion started by: skfn1203
1 Replies
8. UNIX for Dummies Questions & Answers
Hi all
I'm trying to install sudo. When I first ran the sudo configure script it errored saying that I didn't have a C compiler. I have since installed the GCC 3.4.6 package for sol8 from sun freeware.
Doing that resolved the no C complier found error. I was then getting an error saying... (1 Reply)
Discussion started by: Donkey25
1 Replies
9. Linux
Hi guys,
i am using the below command to send mail
mail -s "HI" abcd@how.com < temp_mail.txt
I am getting the below error
send-mail: fatal: bad string length 0 < 1: myorigin =
My os version is as
Linux
Help me with ur suggestion guys thank u. (3 Replies)
Discussion started by: mohanalakshmi
3 Replies
10. What is on Your Mind?
Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup.
However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT SUSE
create_server
CREATE
SERVER(7) SQL Commands CREATE SERVER(7)
NAME
CREATE SERVER - define a new foreign server
SYNOPSIS
CREATE SERVER servername [ TYPE 'servertype' ] [ VERSION 'serverversion' ]
FOREIGN DATA WRAPPER fdwname
[ OPTIONS ( option 'value' [, ... ] ) ]
DESCRIPTION
CREATE SERVER defines a new foreign server. The user who defines the server becomes its owner.
A foreign server typically encapsulates connection information that a foreign-data wrapper uses to access an external data resource. Addi-
tional user-specific connection information may be specified by means of user mappings.
The server name must be unique within the database.
Creating a server requires USAGE privilege on the foreign-data wrapper being used.
PARAMETERS
servername
The name of the foreign server to be created.
servertype
Optional server type.
serverversion
Optional server version.
fdwname
The name of the foreign-data wrapper that manages the server.
OPTIONS ( option 'value' [, ... ] )
This clause specifies the options for the server. The options typically define the connection details of the server, but the actual
names and values are dependent on the server's foreign-data wrapper.
NOTES
When using the dblink module (see in the documentation), the foreign server name can be used as an argument of the dblink_connect(l) func-
tion to indicate the connection parameters. See also there for more examples. It is necessary to have the USAGE privilege on the foreign
server to be able to use it in this way.
EXAMPLES
Create a server foo that uses the built-in foreign-data wrapper default:
CREATE SERVER foo FOREIGN DATA WRAPPER "default";
Create a server myserver that uses the foreign-data wrapper pgsql:
CREATE SERVER myserver FOREIGN DATA WRAPPER pgsql OPTIONS (host 'foo', dbname 'foodb', port '5432');
COMPATIBILITY
CREATE SERVER conforms to ISO/IEC 9075-9 (SQL/MED).
SEE ALSO
ALTER SERVER [alter_server(7)], DROP SERVER [drop_server(7)], CREATE FOREIGN DATA WRAPPER [create_foreign_data_wrapper(7)], CREATE USER
MAPPING [create_user_mapping(7)]
SQL - Language Statements 2010-05-14 CREATE SERVER(7)