Web Hosting Talk







View Full Version : Cannot login, but server is there


rey
07-07-2002, 08:39 AM
I tried to login using putty, and when I login as root, it hangs.
The only thing I can see on the screen is:

login as: root
Sent username "root"

The ping works, but nothing else does.

Any ideas?

Thank you,
Reyner

Jedito
07-07-2002, 08:42 AM
Sorry for the silly question, but are you using SSH or Telnet?

rey
07-07-2002, 08:51 AM
Oopss ... I forgot to mention it (sorry).

I'm using SSH.

rey
07-07-2002, 08:59 AM
I also got a lot of this for some reason:

0.9.6b configured -- resuming normal operations
[Sat Jul 6 12:17:08 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/local/psa/apache/bin/suexec)
[Sat Jul 6 12:17:08 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Jul 6 12:18:24 2002] [notice] caught SIGTERM, shutting down
[Sat Jul 6 12:18:26 2002] [warn] module mod_gzip.c is already added, skipping
[Sat Jul 6 12:18:28 2002] [notice] Apache/1.3.26 (Unix) mod_gzip/1.3.19.1a mod_perl/1.26 mod_throttle/2.11 PHP/4.1.0 FrontPage/4.0.4.3 mod_ssl/2.8.9 OpenSSL/
0.9.6b configured -- resuming normal operations

I'm also using php 4.1.2.

Ahmad
07-07-2002, 12:07 PM
Originally posted by rey
..
The ping works, but nothing else does.
..

You mean HTTP, FTP, .. etc doesn't work?
They used to work or this is a newly configured system?

Also, try loggin in as another user, other than root and see if it works. If you can login as anybody else, you can use 'su -' to become root.

rey
07-07-2002, 01:06 PM
You mean HTTP, FTP, .. etc doesn't work? Yes, nothing else work, just the ping. Everything works just fine after I reboot it, but this happens twice already.

I've looked at the apache logs, but it doesn't show anything really weird. I was hoping if someone had this kind of experience before and could shed some englightment.

Weird ... weird problem (which maybe caused by a little things, but who knows ...) :)

Still looking for answers,
:)

Jedito
07-07-2002, 03:36 PM
Check in /var/logs/message for any error before reboot the server

rey
07-07-2002, 07:09 PM
Well, I've checked most of the messages. Some of them I know, but some are not quite familiar. Is there a good reference to learn more about error logs?

Studio64
07-07-2002, 07:11 PM
Post em' here :D...

And a good reference... google man google... It knows all...

priyadi
07-08-2002, 02:03 AM
Originally posted by rey
Yes, nothing else work, just the ping. Everything works just fine after I reboot it, but this happens twice already.

I've looked at the apache logs, but it doesn't show anything really weird. I was hoping if someone had this kind of experience before and could shed some englightment.

Weird ... weird problem (which maybe caused by a little things, but who knows ...) :)

Still looking for answers,
:)

Probably a resource exhaustion problem. Try actively monitoring the server by watching 'top' output. If you see a process consuming a lot of resources (CPU, memory) try killing it immediately. Put an rlimit around it, and the o/s will take care of killing it should it happen again.

rey
07-09-2002, 02:08 PM
Thank you all for posting. The problem seems to be a conflicting cron job that took all the resources and freeze the server :)