Mashine crashes daily at about 19.00 how to find the logs and reason on Sun
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mashine crashes daily at about 19.00 how to find the logs and reason on Sun
Hi,
I got this problem with my server, latest 2 weeks it sporadicaly crashes, mostly at 19.00 or about 19.00 it crashes or shuts down, I cant find the reason yet, dont know maybe it is hacked, cause I cant find any normal info in logs, in lastlog see only 2 lines and in everyline difernt IP, one is my own, other is from some internet provider, no other info, even if I logged in after crash maybe 10 times, If I'm not mistaking it has to log everythin??? and in other logs, cant finde anythin.
1 question, Where are the logs? I ware looking in var/log, var/adm/ ,
is it all, or is ther another better log somewhere??
this is SunOs 5.8
I dont use any graphical stuff, this mashine is a telecom switch. so there is no additional software, or whatever, its just sun and an telecom aplication that hase a db, nothing alse.
Please can sombody tell me where pricisly to search for logs, to find if I'm hacked, or to find the reason of the crash.
Tryd the rootkit chekker, didnot find anything,
also chekkedc the var/crash directory, there are some files but not from today, from 2 days before, and in that files is all trash, like this :
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Not trash, but snapshots of what was going on when the system last crashed.
Not sure it is relevant with Solaris 8, but you can try running that script, passing the id of the crash.
Code:
#!/bin/ksh
if [ -f unix.$1 ]
then
if [ -f msgbuf.$1 ]
then
echo msgbuf.$1 exists
else
echo "$<msgbuf" | mdb -k unix.$1 vmcore.$1 > msgbuf.$1
more msgbuf.$1
sleep 1
echo msgbuf.$1 created
fi
else
echo "Usage: msgbuf <id>"
fi
If it doesn't works because your Solaris version predates mdb, then try that one:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.