Hello,
I have a Centos 7 installed on an Apple Mini, everything was working fine until today when all of the sudden I can't get to it remotely (using ssh) or accessing it's website, I can ping it, but it doesn't look like anything is running.
How can I check what's happening to it? I checked /var/log/messages, but I can't find anything that tells me anything about it.
Thanks.
How to check what's wrong with my Centos 7?
-
- Posts: 319
- Joined: 2012/03/06 22:30:17
- Location: Ottawa
Re: How to check what's wrong with my Centos 7?
I'm confused: you can't log in remotely using ssh, but you can check /var/log/messages? How can you do that, if you can't log in? Or is this actually a local machine?
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: How to check what's wrong with my Centos 7?
What's in /var/log/secure at the exact time you attempted access (that failed)?
Your question (with no details) is confusing at best. You can't ssh in, but "it looks like nothing is running" - more info/detail please. For instance, you can''t ssh in, but somehow have determined nothing is running ... ??? How?
Do you mean that because you can't connect from another computer at another location that it appears nothing is working? Or do you mean that when you got back home and investigated on the 'troubled machine' it appears nothing is running?
When asking for help, details are your friend! In this case, what results/messages from what machines caused you to believe nothing is working?
Thanks
Your question (with no details) is confusing at best. You can't ssh in, but "it looks like nothing is running" - more info/detail please. For instance, you can''t ssh in, but somehow have determined nothing is running ... ??? How?
Do you mean that because you can't connect from another computer at another location that it appears nothing is working? Or do you mean that when you got back home and investigated on the 'troubled machine' it appears nothing is running?
When asking for help, details are your friend! In this case, what results/messages from what machines caused you to believe nothing is working?
Thanks
Re: How to check what's wrong with my Centos 7?
Check the status of those services with
Code: Select all
systemctl status sshd
systemctl status httpd