Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi folks, If you look at this /h

Status
Not open for further replies.

KOG

MIS
Jan 31, 2002
303
GB
Hi folks,

If you look at this /home/oracle path and see the CORE file, it seems to be filling up the /home filesystem very quickly. I have no idea of its nature and is there any way I can clear it up like I do with smit.log etc

>smit.log

Can I apply this action to this CORE file?

Pls help.

Thanking you all in advance.

Regards

Katherine

# pwd
/home/oracle
# ls -l
total 31432
-rwxr----- 1 oracle oinstall 540 Jun 25 09:23 .profile
-rw------- 1 oracle oinstall 0 Aug 09 13:39 .sh_history
-rw-r--r-- 1 oracle oinstall 94208 Aug 05 08:58 activity.dmp
-rw-r--r-- 1 oracle oinstall 27 Jul 04 14:50 afiedt.buf
-rw-r--r-- 1 oracle oinstall 15990784 Aug 09 13:29 core
-rw-r--r-- 1 oracle oinstall 350 Aug 05 08:58 exp.log
-rw------- 1 oracle oinstall 1064 Jun 18 16:22 mbox
-rw-r--r-- 1 oracle oinstall 0 Aug 09 13:39 smit.log
-rw-r--r-- 1 oracle oinstall 4365 Aug 09 13:31 smit.script
 
Katherine,

Core files can just be removed they do not have to exist like the smit.log so you can just remove it, they are dump froms failing programs/binaries which have crashed out. The only point I am unclear about is that in your mail you state that the core file is filling up /home. is it getting bigger??

If you want to work out what caused it:

The offending program can be identified by :

strings core |grep _=

To remove it : rm core

Cheers

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Hi PSD,

Many thanks

Will do that now I know it is safe to remove the file. Oracle usually store core dump files (under OFA structure) /opt/oracle/admin/SID NAME/cdump. That is why it seems rather odd to find another core dump file in /home/oracle too.

Regards

Katherine
 
Will give the application or program caused the core file:
lquerypv -h /path_to_core_file 6b0 64

Will give the exact location of the binary or shell script which caused the core file:
strings /path_to_core_file | grep “_=”
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top