Sponsored Content
Operating Systems HP-UX KSH to find a ORA error in a log file Post 302185046 by jim mcnamara on Monday 14th of April 2008 06:03:37 AM
Old 04-14-2008
Your requirement used a file spec: *.log_fail - see code change above
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell Script --- Delete ORA error from data file

Hi All, I have to make the following changes in shell script: When the data file is being created, an “ORA” error occurs in it. I have to remove this ORA error from data file and put it in log file. I am “ -n grip command” to find the ORA error and get the line number, How do I delete it... (1 Reply)
Discussion started by: sk005
1 Replies

2. Shell Programming and Scripting

how to find file time using ksh

Hi , i need to extract only time for a file and i am using following code for this.. while read record1 do SQLQuery=`echo $Record1 | awk '{printf $0 }'` InputfileName=`echo $Record1 | awk '{printf $8 }'` ColumnNamesSPcomma=`echo $Record1 | awk '{printf $4 }'` filetime =`echo... (6 Replies)
Discussion started by: manmeet
6 Replies

3. UNIX for Dummies Questions & Answers

find tnsnames.ora in unix

Can we find out what is the location of tnsnames.ora file used by the hp unix. (3 Replies)
Discussion started by: Sudipshib
3 Replies

4. Shell Programming and Scripting

ORA-01756 Error while inserting a file in CLOB field

Hi, Please guide me where i am doing wrong, i am getting ORA-01756:quoted string not properly terminated when i am trying to insert file into CLOB cloumn of Oracle DB. Please find below the code where log file variable is myLogFile. Please let me know where i am doing wrong. ... (0 Replies)
Discussion started by: rajeshorpu
0 Replies

5. Solaris

maxuprc and maxusers - ORA-27300, ORA-27301, ORA-27302

Hi all, Am intermittently getting the following errors on one of my databases. Errors in file /oracle/HRD/saptrace/background/hrd_psp0_13943.trc: ORA-27300: OS system dependent operation:fork failed with status: 12 ORA-27301: OS failure message: Not enough space ORA-27302:... (1 Reply)
Discussion started by: newbie_01
1 Replies

6. UNIX for Advanced & Expert Users

grep all ORA errors except one ORA error

Hi - I am trying to grep all "ORA" errors in a log files.I have to grep all ORA errors except one error for example ORA-01653.How can exclude that error in "grep" command? In following "grep" command I want to exclude "ORA-01653" error grep -i ORA alert.log >>/tmp/ora_errors.txt ... (7 Replies)
Discussion started by: Mansoor8810
7 Replies

7. HP-UX

ORA-27300 error because of hp ux

Dear All, i am not able to start the 9i oracle database because of the following problems. I log in into unix and then into sqlplus export oracle_sid=SATEST startup nomount i am getting the following errors ORA-27300: OS system dependent operation:semget failed with... (3 Replies)
Discussion started by: alokpattar
3 Replies

8. Shell Programming and Scripting

ksh - find command with 2 actions attached and error logging

Hi there, I'm encountering problems on an AIX system when using following in my script. find . -name *.edi -type f -exec sh -c 'scp {} $user@$server:$path || exit 5; mv {} $sent || exit 7' \; the error i get is following find: 0652-018 An expression term lacks a required... (4 Replies)
Discussion started by: Kerberos
4 Replies

9. AIX

I cannot find dsn and TNSNAMES.ora on UNIX

Where can I find dsn and TNSNAMES.ora on UNIX AIX Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies

10. Red Hat

Ora-27603:ora-27626:

Hi, User claim that job is running slow from their end. I DBA found in database the below errors in alert log file. ORA-27603: Cell storage I/O error, I/O failed on disk o/192.168.10.3/RECO_DM01_CD_01_drm01 at offset 13335789568 for data length 1048576 ORA-27626: Exadata error: 2201 (IO... (2 Replies)
Discussion started by: Maddy123
2 Replies
HAL-GET-PROPERTY(1)					      General Commands Manual					       HAL-GET-PROPERTY(1)

NAME
hal-get-property - get a property from a device object SYNOPSIS
hal-get-property [options] DESCRIPTION
hal-get-property retrieves a property from a device object in the HAL device database. For more information about both the big picture and specific HAL properties, refer to the HAL spec which can be found in /usr/local/share/doc/hal/spec/hal-spec.html depending on the distribu- tion. OPTIONS
The following options are supported: --udi The UDI (Unique Device Identifier) of the device object. --key The name of the property. --hex Show int32/uint64 values in hex (without a leading 0x). --verbose Verbose output. --help Print out usage. --version Print the version. RETURN VALUE
If both the property and device object exists the value of the property is printed on stdout and the program will exit with exit code 0. Otherwise the exit code will be non-zero. BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to subscribe. SEE ALSO
hald(8), lshal(1), hal-set-property(1), hal-find-by-property(1), hal-find-by-capability(1) AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others. HAL-GET-PROPERTY(1)
All times are GMT -4. The time now is 06:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy