Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Alejandro on March 08, 2001, 04:51:08 PM

Title: red core?
Post by: Alejandro on March 08, 2001, 04:51:08 PM
HI all!
Yesterday I was browsing the e-smith box with midnight commander... checking things and configurations bya a ssh root connection i opened one or two files in diald and then when i closed the file without saving (i was in the viewing mode)misteriuouly appear a file named "core" colored in red in the panel of mc.
Any Ideas?
nobody was using any services at that time.... so I dont have a clue! (my concern is a virus)
The file was in code son nothing to guess.

Any help would be very kind
alejandro
Title: Re: red core?
Post by: Emmanuel on March 10, 2001, 02:03:45 AM
When a program crashes in unix, the OS dumps information about the state of the program into a file called core. One can then later analyze this file for debugging purposes. You're probably safe to just delete it.
Title: Re: red core?
Post by: Charlie Brady on March 10, 2001, 02:16:01 AM
Emmanuel wrote:
>
> When a program crashes in unix, the OS dumps information
> about the state of the program into a file called core. One
> can then later analyze this file for debugging purposes.
> You're probably safe to just delete it.

I'd first identify which program has the bug in it (i.e. which one crashed). You can do that from the command line using:

file /path/to/blah

(where blah is the file). If you are in the same directory as the file, do:

file blah

Charlie
Title: Re: red core?
Post by: aler@bigfoot.com on March 10, 2001, 06:18:45 AM
thanks Emmanuel and Charlie.
I will do what you say
I guess it could be ssh...?
it was a ssh internal connection to the server where I was using midnight commander.
then I will add a new post with the results.
alejandro