Hi Gurus,
I need your help badly. I want to do this.
Have a directory called IMAGES and under that several sub directories. These subdirectories have images in it with .jpg format. I need to achieve this.
Search for a file named myimage.jpg (same file exist in many sub directories)from the...
Hi,
I have many cron jobs running on my Solaris 7 box. There are no failures in these jobs. The problem I have is I am getting a lot of mails eventhough the cron job was successful. I want to do two things.
1. How to supress mails which are comming even after successful completion of job? I...
I have scheduled a job with at command which runs every hour in my Solaris 7 box. The command didn't run from yesterday. It failed and the jobs were not found in /var/spool/cron/atjobs. I tried to run it again and there was a message too old. I removed the atjobs directory and recreated it as...
Hi AWK gurus,
I need to write to a file from a log file after the script finds a particular word. The file which I read is a log file.
Let me give an example. The three lines are like this
02 20 2001
There are errors in file.
Test was failure.
We will serach for a word Test and I need to...
I am getting a lot of ORA-7445 Errors in the Alert files.
"ORA-07445: exception encountered: core dump [kpcxk2u()+64] [SIGSEGV] [Address not mapped to object] [4294901852] [] []"
A corresponding trace file also is created.
Version of Oracle 8.1.6.3
O/S Solaris 8
OPS with MTS
Do any...
Hi Solaris Gurus
I have a Solaris 7 system which I inherited. I want to delete some users and create new ones. But after login as root when I try to delete or add users I am getting this error.
UX: userdel: ERROR: Cannot update system files - login cannot be deleted.
OR
UX: useradd: ERROR...
Hi Gurus,
I need a help with NAWK script. The functionality I am trying to achieve is this. I have a log file from which I want to do a search on a word say 'TEST-SUCCESS' and email a user when it finds it. Your immediate response is highly appreciated.
I have a directory in my sun solaris 7 machine which grows so rapidly. I want to remove some log files on a daily basis acoording to the date. What command can I use for that (selecting files according to date). Example I need to remove some files which has extension .log and created yesterday...
Hi,
I have many objects in my database in INVALID status and I recompiled them. Is there any way to recompile materialised views which has an object type as UNDEFINED?
--Sethu
Hi,
My NAWK script is giving me an error. In my script there is a line like this
"basename " filename | getline base
I am getting an error like this
nawk: basename "/u01/metar/people/data/Source/test.mst" makes too many open files
Can anybody help me?
Sethu
Given a file with several lines and then a line of "----------------------------", how would I print everything until the end of the file? In other words I need to use a UNIX script to print everything below the "----------------------------":
Working file: build/postinstall...
Hi Experts,
I am very new to AWK. The task for me is to do the following.
1. The input file looks like this
"NAME1" "/dir1/dir2/dirA/file1_name"
"NAME2" "/dir1/dir2/dirB/file2_name"
"NAME3"...
Hi,
I am vey new to awk. I need somebody either write or give a tip how to write a script. The script should do the following. It reads a text file which has entries like this
"val1" "val2"
"val3" "val4"
and so on....
the val1...
Hi,
I am using Oracle's Intermedia for text searches in my database. This is one of the important functionality as far as the application is concerned. My application accesses the database thru JDBC. I have many questions regarding the time taken for a particular search.
The PL/SQL procedure...
Hi,<br><br>I would like to create two seperate instances of Oracle8i(8.1.6) accessing the same database or two different databases in sun solaris 2.7. How do I configure it? I have already an instance and database running in that machine.<br><br>--Sethu<br><br>
Hi Gurus<br><br>I want to automatically run a report on daily basis against an Oracle8i database (on Solaris 2.7)table which will write an output to a text file in tab delimited format. Should I have to use any particular software to do that, like Crystal Reports or can I use Sql*Plus to do...
Hi,<br><br>I have installed Oracle 8i in Solaris 2.7. I don't have a script to make hot backups to another disk(not tape), Please help me if any of you have it. Links to other sites which can provide me with one will also do. <br><br>Thanks in advance.<br><br>--Sethu.
Hi,<br><br>I would like to echo to a file and find whether some scripts has executed while system startup and shutdown. How can I do that? I was thinking of echoeing some message to a file while the script is executing.<br><br>Thanks in advance
This is for the Gurus<br><br>I have an Oracle 8i database which is on Sun solaris 2.7. I have created the script for auto starting the database when the system boots and stopping when it shuts down. The problem is, the code doesn't respond properly ( I used the code came with the installation...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.