10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a script that runs a tar command to standard out then pipes to a gzip:
tar cfE - * | gzip -c > OUT.gz
At the moment, even if the tar fails (e.g. because of lack of disk space), the gzip still runs successfully.
Is there a way to make the whole line exit with a non-zero error... (6 Replies)
Discussion started by: Catullus
6 Replies
2. Shell Programming and Scripting
Hello Everyone,
I have written a file validation script in unix to compare the data and trigger file.My requirement is if the file validation fails,I need to upate the error details in a table
ex:Below is the one of many validation checks i am doing
if
then
echo "Actual count between... (3 Replies)
Discussion started by: karthik adiga
3 Replies
3. UNIX for Dummies Questions & Answers
HI Team ,
Is there a way to capture information logs ( session or workflow ) and grep only ERROR or FAIL messages and send to email distro
using mailx or sendmail option.
I have around 200 sessions running on daily basis and this script has to run every day , and capture only error... (0 Replies)
Discussion started by: Perlbaby
0 Replies
4. Shell Programming and Scripting
I am not able to capture errors while I am using dialog. For example:
dialog --gauge "Verifying file..." 10 75 < <(
while read LINE
do
hash=$(echo $LINE | cut -f1 -d' ')
directory=$(echo $LINE | cut -c 34-)
PCT=$(( 100*(++i)/n ))
echo $PCT
md5deep -a $hash $directory >... (3 Replies)
Discussion started by: yamanoorsai
3 Replies
5. UNIX for Dummies Questions & Answers
Hi
I am trying to fetch the data from Oracle Table
More my_query.sql | sqlplus -s 'scott/tiger@OrcaleSID ' | sed 's///g;s///g' > sample_file
Now if the table passed in the my_query.sql is wrong or there is some other error insied SQL how i can caputure that
i tried
More... (1 Reply)
Discussion started by: max_hammer
1 Replies
6. SCO
Hi there.
Well i have a really bad problem with my server:
UnixWare Version 5 Release 7
The system crash :wall: and show the error:
Panic: Kernel-mode address fault on user address 0x00000004 :eek:
If anyone knows about the reason of this error please give me a help
Sorry by my english.... (3 Replies)
Discussion started by: danilosevilla
3 Replies
7. Shell Programming and Scripting
I wrote a script to capture some rows from the DB.
However I want to capture the errors if the DB instance is down which usually produces errors like below. What should be my approach to kill script if the DB instance is down:
DATABASE ERRORS:
Msg 937, Level 14, State 1:
Server... (2 Replies)
Discussion started by: moe458
2 Replies
8. Shell Programming and Scripting
I work on AIX 5.x.
I have a script which does lot of processing & calls multiple child scripts.
How do I capture the error of the parent script if it fails?
Thanks
Sumeet (3 Replies)
Discussion started by: sumeet
3 Replies
9. Shell Programming and Scripting
Hi all,
I was hoping someone can point me in the right direction. I'm trying to filter out errors from a web log- any lines with ERROR in it. I know I could simply use the grep command to do this. However, there are times when a stack trace follows the error line. I would like to capture these... (2 Replies)
Discussion started by: gswhoops
2 Replies
10. Shell Programming and Scripting
Hi folks a wee problem that requires some help.
I am writing a script that allows me to automate the changing of a password in sqlplus
the problem i encounter is that the code contains a case statement that allows the helpdesk to select whether to allow or deny access by switching the... (1 Reply)
Discussion started by: w33man
1 Replies