Search Results

Search: Posts Made By: prakash.gr
3,043
Posted By prakash.gr
not able to execute shell script
HI,



bash-2.05# more mysqlstoporaclestart.sh
#!/bin/sh
mysqladmin -u root -pengineer shutdown
su - oracle -c "bash /export/home/oracle/oracle.sh"


bash-2.05# more...
4,939
Posted By prakash.gr
find and replace command
Hi,

i used to do on soalris box but in linux box i am not able to do

advice is appreciated

uname -a
Linux intranet 2.4.20-pre3 #1 Tue May 6 17:55:35 IST 2008 i686 unknown

...
9,811
Posted By prakash.gr
Hi pani, [ideasdb@voipdb2 ~]$ set -x ...
Hi pani,



[ideasdb@voipdb2 ~]$ set -x
[ideasdb@voipdb2 ~]$ sh mountpoint1.sh
+ sh mountpoint1.sh
/tmp/check1.txt
++ echo -ne '\033]0;ideasdb@voipdb2:~\007'



Thanks

Prakash GR
9,811
Posted By prakash.gr
sorry zaxxon, could you give me hint how to...
sorry zaxxon,

could you give me hint how to redirect the things

Thanks

Prakash GR
9,811
Posted By prakash.gr
Hi, mail service is enabled in that linux...
Hi,

mail service is enabled in that linux box but i am not getting mail.

is this script is fine .

Thanks

Prakash GR
9,811
Posted By prakash.gr
script to monitor mount points on linux box
Hi,

the following shell script is not working on linux box
sugeestions appreciated.

FILE1=/tmp/check1.txt
FILE2=/tmp/check2.txt
df -k | awk '{if (NR != 1)
print $5 $6}' > ${FILE1}
awk...
2,878
Posted By prakash.gr
perl script for listing files and mailing the all files
Hi,

I am new to perl:

I need to write perl script to list all the files present in directory and mail should be come to my inbox with all the files present in that directory.

advanced thanks...
Forum: Solaris 07-14-2009
6,853
Posted By prakash.gr
Hi, Thx for your reply. I backup these...
Hi,

Thx for your reply.

I backup these files on regularly basis (that is *.sql) and won't be modified and my requirement is check file in /mysql1/mysqlbackup/ directory if any files are more...
Forum: Solaris 07-14-2009
6,853
Posted By prakash.gr
Find N number of days old file on solaris
Hi,



bash-3.00$ ls -ltr
total 8471258
-rw-r--r-- 1 mysql mysql 1227 Jul 7 22:33 information_schema.sql
-rw-r--r-- 1 mysql mysql 479762 Jul 7 22:49 mysql.sql
-rw-r--r--...
2,604
Posted By prakash.gr
Hi, any inputs. Thanks prakash
Hi,

any inputs.

Thanks
prakash
2,604
Posted By prakash.gr
Hi, use DBI; use Mail::Sendmail; ...
Hi,



use DBI;
use Mail::Sendmail;
use MIME::QuotedPrint;
use HTML::Entities;
use POSIX qw(strftime);

$localtime1 = strftime("%e-%b-%Y %I:%M %p",localtime(time));
$localtime2 =...
2,604
Posted By prakash.gr
connection string is hardcoded
Hi,

I have many perl scripts in single server, i am new to perl,

suggestions are appreciated.

connection string is hardcoded in all perl scripts
i need to make change the all perl scripts...
12,506
Posted By prakash.gr
Hi, bash-2.05$ cat listener.sh ...
Hi,



bash-2.05$ cat listener.sh
lsnrctl status > /oracle/test.txt
aaa=`grep "The command completed successfully" /oracle/test.txt`
bbb="The command completed successfully"
ccc="TNS:no...
12,506
Posted By prakash.gr
lsnrctl start script for Oracle on Solaris
Hi,

os version :sun solaris 5.9

I have a problem with one of production server where listener will die frequently,

I have raised SR with oracle for the same, but mean time i need simple...
5,610
Posted By prakash.gr
taking output in csv file from perl
Hi,

I am new to perl

I need to connect from linux server to oracle database and i need to query the database and take result into csv file.

i try to do but i am getting this error:
...
14,365
Posted By prakash.gr
Hi, ys right i need to know mysql dbd...
Hi,

ys right i need to know mysql dbd version installed in that server.


thanks

Prakash GR
14,365
Posted By prakash.gr
Hi neo, thx for reply i am not looking for...
Hi neo,

thx for reply i am not looking for mysql version but i am looking mysql dbd(database driver) installed on linux server, how to check what version of DBD is installed.


thanks

Prakash
14,365
Posted By prakash.gr
checking which mysql dbd is installed on linux
Hi,

I am new to linux, and i want to know which mysql dbd is installed on linux,

what is the command to check this.

bash-2.05$ uname -a
Linux SURINT01 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT...
3,427
Posted By prakash.gr
Hi JerryHone, Thanks for your inputs and...
Hi JerryHone,


Thanks for your inputs and it worked for me.


Cheers

Prakash G R
3,427
Posted By prakash.gr
unable to schedule job in cron
Hi,

from normal user(oracle) i am unable to run scheduled job in cron:
os version:
bash-2.03$ uname -a
SunOS sumail02 5.8 Generic_117350-39 sun4u sparc SUNW,Ultra-60

bash-2.03$ crontab -l...
3,039
Posted By prakash.gr
zipping all the tar files to singlr file in directory
Hi,

i have more than 300 tar files in directory and i want to zip all tar files to single file.

could anybody tell me the command since i know how to do zip for single tar file:
...
19,941
Posted By prakash.gr
ORACLE_HOME environment variable not set!
hi,

i am new to perl:

os : Linux

i wrote simple perl script to select from table i am getting this error and how to set ORACLE_HOME environment variable :

script:

#!usr/bin/perl
use...
2,588
Posted By prakash.gr
perl for dbms_stats package
Hi,

i am new to perl and i used to manullay gathering statistics since our database servers are 8i,

could any body help to get the perl script or any link to automate this work.


Thanks
...
24,649
Posted By prakash.gr
perl script for dbms_stats package
Hi,

my sorry i wrote wrong wrongly here
Thanks

Prakash
8,950
Posted By prakash.gr
Hi, this will give you erroneous output. you...
Hi,
this will give you erroneous output. you will be counting all instances of ORA- including ORA-00600. try appending a line with ORA-00600 in your logfile and run this command.

--

i have...
Showing results 1 to 25 of 32

 
All times are GMT -4. The time now is 08:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy