Hiya Buddies!!!
We would like share some real time log file path
which is very important for any organizations or DBAs.
Actually, we all think that how can we remember the
every log files path. It is true but while working for long time on same team
or company , you can keep remember for almost path of the alert log files.
And also, the fact is everyone forget the stuff.
But the thing is somebody keep revision or keep working on same things, so they
can remember the stuff easily.
Otherwise, there is no short-cut to remember
everything... hahahh
We will keep update this post as getting some log
files which are not easily found.
This is only sample, path may depends on server to
server or projects.
Note: The way to find out either log file or any
files by name is either you can use "find" command or "locate" command.
Locate command works only if it is installed/configured on your server.
For using find command better to go to base
directory and try, or the directory where software is installed. You can find
out by using "grep process" command as ps -ef|grep ASM.
$find . -name "filename" -exec
ls -ltr {} \;
If you are not sure about the exact file name then
you can use "*" as shown below:
$find . -name "alert*" -exec ls
-ltr {} \;
$locate <file_name>
OID log:
In below path we are checking for first ods1 log.
If there are many or two servers then we can go to two directory back and get
the list of servers under Server directory.
[tech&non-tech:] $ pwd
/u01/oracle/oid/domain/oid_domain/servers/wls_ods1/logs
[tech&non-tech:] $
[tech&non-tech:] $ pwd
/u01/ admin/ oid_domain/ servers ### We have changed
starting path
[tech&non-tech:] $
OAM logs:
[tech&non-tech:] $ pwd
/u01/oracle/oam/domain/oam_domain/servers/oam_server1/logs
[tech&non-tech:] $
ASM alert log file:
$ pwd
/u01/app/oracle/diag/asm/+asm/+ASM1/trace
oracle@tech&non-tech:/u01/app/oracle/diag/asm/+asm/+ASM1/trace$
$ tail -100f alert_+ASM1.log
Some more useful links:
Thanks,
No comments:
Post a Comment