Here is what I use for a perl script I use to restart the oracle
listener if it goes down, to set the oracle environment.
00,10,20,30,40,50 * * * * (. $HOME/.bash_profile;
$HOME/hdpjfw_scripts/dbping.pl) >$HOME/spool/db_ping.out 2>&1
From: Mazhar [mailto:[E
now is that the script won't connect to any remote
databases. I assume this is probably because of the external
identification. While the oracle user is externally identified on all
servers, I probably have to log in to each server before connecting.
-Original Message-----
From:
g output:
P01
P01
P01
P01
P01
The file /u01/app/oracle/check_list.txt contains several different sids,
and if I print $_ it is reading them in.
-Original Message-----
From: Scott Pham [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 4:05 PM
To: Jason Wozniak
Subject: Re: Environmen
Hello,
I'm trying to write a paging script that connects to several
databases in succession, and was attempting to write the script such
that I would not have to hard code any user names, or passwords, by
using an externally identified user.
I can connect to the first database in t
hrough the array multiple times. So I'm hoping maybe
someone might know a more elegant solution to my problem?
#!/usr/bin/perl -w
# Author: Jason Wozniak
# Purpose: To find any hard coded passwords in shell scripts, so they
can be changed.
use File::Finder;
my $prod_pass_file = "
need. If anyone can shed some light on
the syntax for this module it would be greatly appreciated.
Jason Wozniak
Systems Administrator,
Oracle DBA
Henkels & McCoy
985 Jolly Road
Blue Bell PA, 19422
as
well.
Thanks in advance
Jason Wozniak
Systems Administrator,
Oracle DBA
Henkels & McCoy
985 Jolly Road
Blue Bell PA, 19422
>) {
@files = $_;
}
but that had the same problem, so somehow the while loop causes the first
argument to be dropped from the input stream?
> -Original Message-----
> From: Jason Wozniak
> Sent: Friday, January 31, 2003 3:05 PM
> To: '[EMAIL PROTECTED]
I was attempting to produce the file list by piping the output of a find
command. See my previous email for the problem I'm having with that...
I guess the question I would have is how you are producing the list in
"myfiles"?
in my case I suppose I could go to the directory that has the glog.log
/u06/logs/glog.log.bak.8
/u06/logs/glog.log.bak.9
/u06/logs/glog.log.bak.10
What am I missing?
Regards,
Jason Wozniak
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
10 matches
Mail list logo