04-04-2012
The server where the Oracle database runs, has to have a network listner (port 1521) and a configuration file to recognise your request.
You will need to talk to the person who set up the new Oracle database on the remote server. If this is actually the same server, then don't connect with ODBC anyway. You environment variables should be enough.
Can you elaborate on what is local, what is remote and what is in the TNS Listener config file - and is it running (netstat -na|grep 1521)
Robin
Liverpool/Blackburn
UK
Last edited by rbatte1; 04-04-2012 at 10:41 AM..
Reason: Forgot signature
10 More Discussions You Might Find Interesting
1. Linux
Hello All,
Does anybody installed the subj? How it works? Any troubles/problems?
M (1 Reply)
Discussion started by: mg`
1 Replies
2. Linux
Hi,
I want to know what is command to know which will tell wheather linux is 32 or 64 bit (5 Replies)
Discussion started by: manoj.solaris
5 Replies
3. Linux
Where can I get a list that maps the each Linux version to corresponding 32/64 bits model?
e.g.
OS -> Model (ILP32, LP64, ...)
RHLE3 -> ?
RHLE4 -> ?
RHLE5 -> ?
...
It would be better if there is such a list that contains most of current UNIX OS versions.
... (1 Reply)
Discussion started by: princelinux
1 Replies
4. Programming
Hi,
I have written a c program to find cos() of a value , its not working, I am getting value of "val " as 0000.
#include<stdio.h>
#include<math.h>
main()
{
float val;
val = cosf( 1.570796);
printf("\nval = %f",val);
} (9 Replies)
Discussion started by: shashi
9 Replies
5. Shell Programming and Scripting
Hi,
My code uses try_eval block to do some code execution. This piece of code does not work on RHEL 5.4. The program just hangs at the try_eval block and does not throw any errors either. The same program however works in other Linux boxes that we have.
I have written a simple program that... (0 Replies)
Discussion started by: archana485
0 Replies
6. Shell Programming and Scripting
Hi
I tried running the code
scrname=`whence $0 | sed -e 's/\.\///g'`
where $0 is substituted by cm_dsjobrun.sh
in unix env then the value it returns me is
SCRNAME=/data/ds/dpr_ebicm_uat/etl/cm3_0/scripts/shell/cm_dsjobrun.sh
whereas i ran the same code on linux env
The value... (9 Replies)
Discussion started by: vee_789
9 Replies
7. Shell Programming and Scripting
Hi All
I have fired a command in linux
table=`echo ${file_name} | awk '{FS="/"; print $NF}' | awk '{FS="."; print $1}'`
where file_name has
/data/ds/dpr_ebicm_uat/backfill/temp/etl_app_info.csv
/data/ds/dpr_ebicm_uat/backfill/temp/etl_app_jobs.csv ... (10 Replies)
Discussion started by: vee_789
10 Replies
8. UNIX for Dummies Questions & Answers
Hi
I am working on linux machine and swap command is not working Linux Machine
On Solaris machine it is working fine:
uname -a
SunOS rgsm01 5.9 Generic_118558-03 sun4u sparc SUNW,Sun-Fire-V440
swap -s
total: 6596320k bytes allocated + 1035968k reserved = 7632288k used, 38893408k available
... (5 Replies)
Discussion started by: Basant Mishra
5 Replies
9. Shell Programming and Scripting
I have a script .sh with a curl command in it:
curl --digest "http://xxxxxxx.xxx/mail.php?email=xxxx@xxx.xx";
from terminal this works good :
./script.sh //(mail arrives in my box)
from php this works good:
shell_exec('./phpsc.sh'); // (mail arrives in my box)
from terminal this... (13 Replies)
Discussion started by: extra93
13 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
LEARN ABOUT DEBIAN
file-pr
file-pr(8) GNATS Internal Utilities file-pr(8)
NAME
file-pr - files incoming problem reports in GNATS database
SYNOPSIS
file-pr [ -f file | --file=file ] [ -h | --help ]
[ -V | --version ] [ -H host | --host=host ]
[ -P port | --port=port ] [ -v user | --user=user ]
[ -w password | --passwd=password ]
[ -d databasename | --database=databasename ]
DESCRIPTION
file-pr files incoming Problem Reports in the GNATS database, sends acknowledgments to approriate parties and logs database activity.
file-pr assigns the Problem Report an identification number and then files it in the GNATS database either under the category specified in
the Category field of the PR, or under the default category if the Category field is nonexistent or contains an invalid category name.
For the default GNATS configuration, the person responsible for that category and the person responsible for the submitter site where the
PR originated receive a copy of the PR in its entirety. Optionally, the originator of the PR receives an acknowledgment that the PR ar-
rived and was filed
OPTIONS
-f file, --filename=file
Accept file as input; if this option is not present, standard input is used.
-h, --help
Display usage summary for file-pr.
-V, --version
Display version number for file-pr.
-d, --database
Specifies the database to which the PR is to be submitted. If no database is specified, the database named default is assumed.
This option overrides the database specified in the GNATSDB environment variable.
GNATS network options:
-H, --host
Hostname of the GNATS server.
-P, --port
The port that the GNATS server runs on.
-v, --username
Username used to log into the GNATS server.
-w, --passwd
Password used to log into the GNATS server.
ENVIRONMENT VARIABLES
The GNATSDB environment variable is used to determine which database to use. For a local database, it contains the name of the database to
access.
For network access via gnatsd, it contains a colon-separated list of strings that describe the remote database, in the form
server:port:databasename:username:password
Any of the fields may be omitted, but at least one colon must appear; otherwise, the value is assumed to be the name of a local database.
If GNATSDB is not set, it is assumed that the database is local and that its name is default.
SEE ALSO
Keeping Track: Managing Messages With GNATS (also installed as the GNU Info file gnats.info)
databases(5), dbconfig(5), delete-pr(8), edit-pr(1) file-pr(8), gen-index(8), gnats(7), gnatsd(8), mkcat(8), mkdb(8), pr-edit(8), query-
pr(1), queue-pr(8), send-pr(1).
COPYING
Copyright (c) 1993, 1999, 2003, Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified
versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the
original English.
GNATS
August 2003 file-pr(8)