New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Help. Service is stopped.
Hello, I have a Apache Karaf wrapper service running on centos 6. Past 2 days, the service stops automatically (atleast that's what I see). How can I find out what is the reason for this? Is it killed by os or something? It's a dedicated server.
Any suggestions how to identify the root cause why or how did the service stop?
Thanks
Comments
What's in the logs?
Nothing is in the Apache karaf logs. How to see the system is logs and find out?
You have a dedicated server and don't know that?
hello @plumberg
As root, type
dmesg
Also might poke around in various subdirectories of /var/log - might use the
find
command to list recently created or modified filesFor general purpose simple monitoring of system resources, install the
atop
utility. By default it should record a summary of stats about memory, cpu, disk i/o, network etc every 10 minutes.Well not my personal. It's a work server. The monitoring team notified me of service down. None of us in my team are sysadmin here, mainly developer. So we try to help in whatever ways we can. Thnx
Sure thing. Thanks will try dmesg and poke around the logs folder. Anything else one may check? Thnx
Possibly also the
journalctl
command could help find log messages from service failure - the exact invocation would depend on the name of the service (as per the systemd unit) so you'll have to figure those details out for your setupThnx. Looks like that's not available in centos6...