04-30-2008
Thr error means the instance of Oracle is not up and running, or you specified one that does not exist or no longer exists. Based on the file error I would day the SID you requested does not exist.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Any link or example to write shell script for the Connecting Oracle for Quering through SQL
thanks in advance ...
Cheers !!
Mehul Doshi (3 Replies)
Discussion started by: mehuldoshi
3 Replies
2. Shell Programming and Scripting
Hi all,
I am running an sql file from unix .In the log file along with the output
i am getting details of connecting and disconnecting sqlplus like
It saves the output with "Connected to Oracle8i Enterprise Edition Release
8.1.7.4.0 Connected as apps" and "disconnected... (1 Reply)
Discussion started by: rrs
1 Replies
3. Shell Programming and Scripting
Hi-
I am trying to achieve the following in a script so I can schedule it on a cron job. I am fairly new to the unix environment...
I have written a shell script that reads a flat file and loads the data into an Oracle table (Table1) via SQLLDR. This Works fine. Then, I run a nested insert... (5 Replies)
Discussion started by: rajagavini
5 Replies
4. UNIX for Dummies Questions & Answers
Hi Gurus,
I want to connect to a different user in unix from my terminal. I know the password
of that user and username.when i am using "su username" it asks me for the password and entering the corresponding password ,it takes me to that.but i want to write a shell script in which i will be... (4 Replies)
Discussion started by: sanjay.login
4 Replies
5. Shell Programming and Scripting
I need help in the following script. I want to grep the sql errors insert into the error table and exit the shell script if there is any error, otherwise keep running the scripts.
Here is my script
#!/bin/csh -f
source .orapass
set user = $USER
set pass = $PASS
cd /opt/data/scripts
echo... (2 Replies)
Discussion started by: allinshell99
2 Replies
6. Shell Programming and Scripting
Hi ,
I have three linux servers. I want to login from one server and check some status in the other server.
How to connect other server from one server using shell script.
Can anyone advice on this?
Thanks,
Chelladurai. (4 Replies)
Discussion started by: ckchelladurai
4 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
In a Shell scriipt with a SQL block I want to issue a query against a local DB and a remote DB on a remote server. The shell script is running locally.
This is how I connect to the local server. But I want the query to reference remote table in the join. Question can I specify a... (1 Reply)
Discussion started by: daveu7
1 Replies
8. Shell Programming and Scripting
I am connecting to sql databases through shell script. Databases that i am connecting will need password change every 60 days. This is according to our security policy and cannot be changed. But this is creating problem when connecting to Databases through shell script . To connect to oracle DB we... (2 Replies)
Discussion started by: pallvi_mahajan
2 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
I am getting below error when I try to connect with ssh. Not sure why the error is on.I am able to connect from a different login from the same server
(local: rhe/home/s3>) ssh acces1@91.1.12.102
Connection closed by 91.1.12.102
(local: rhe/home/s3>) ssh redhlinx102
Connection... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
10. Shell Programming and Scripting
Hi All
when I execute from psql prompt, I get the result, when I try to automate
using a shell script, the query is not working
# `/usr/bin/psql -U postgres -d coba1 -c "select name from users where
"Date" > current_date - 30;"`
ERROR: column "Date" does not exist
LINE 1: select... (2 Replies)
Discussion started by: srilinux09
2 Replies
LEARN ABOUT DEBIAN
biomaj
biomaj(1) USER COMMANDS biomaj(1)
NAME
biomaj - downloads and transform remote biological data banks
SYNOPSIS
biomaj [-h]
DESCRIPTION
BioMAJ (BIOlogie Mise A Jour) is a workflow engine dedicated
to data synchronization and processing.The Software automates
the update cycle and the supervision of the locally mirrored
databank repository. User must have roots rights to run biomaj.
OPTIONS
-h display the list of commands.
INSTALL
At installation, BioMAJ requires a database to run (MySQL), installer should first create a database (biomaj_log) and a database user (the
one used at installation setup).
The database configuration for biomaj can be set or modified in /etc/biomaj/db_properties/global.properties.
In the install fails due to a SQL error, the install script must be manually run to create/upgrade the database:
perl /usr/share/biomaj/sql/migration/update.pl
The script will create/upgrade the database and update the configuration files.
ADMIN USER
A default admin user (admin) is created by the scripts. If using the biomaj-watcher, the default password (admin) MUST be changed immedi-
atly via the watcher interface.
If only biomaj core is used, password is useless.
.PP
UPGRADE
In the case of a package upgrade, if properly configured, the migration scripts will be ran automatically at install.
It is possible to run manually the script:
.B See perl /usr/share/biomaj/sql/migration/update.pl -h
for usage.
DATA BANKS
By default, biomaj is configured (data.dir in global.properties) to write banks to /var/lib/biomaj.
EXAMPLES
Update a bank:
biomaj --update genbank
Show console
biomaj --update genbank --console
Show status:
biomaj --status
EXIT STATUS
biomaj returns a zero exist status if it succeeds, it does not represent the bank update status.
AUTHOR
Olivier Sallou (olivier.sallou (at) irisa.fr) Romaric Sabas (romaric.sabas (at) irisa.fr)
version 1.2.0 September 14, 2011 biomaj(1)