LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-20-2013, 01:33 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Rep: Reputation: 84
System going down.... unable to login


Hya,

Strange thing happened.

System Debian wheezy (testing), amd64

Symptom On console, unable to login. After typing user name, system replies "System going down ....." then login prompt again. (no passowrd prompt !!) The date/time is yesterday.

With root login, same message shows up but password prompt comes and possible to login.

Situation Not much system change except for installing OCR related packages.

What I did With root, following trouble shooting process went:
shutdown -c -> compaining that no shutdown running.
looked for shutdown process -> did not exist.
init 6 -> successfully restart but situation did not change.
reinstall "login" package -> no luck, even after another restart.

web search -> not much success.

Bingo
shutdown -r now
the command above cleared up entangled situation.

My guess A cron script (hourly) runs on this machine. Every hour, system goes down, if nobody is logged in. When I logged out yesterday, I did ctrl-alt-del (as usual) to logout. Something like race condition happened (???)

Anyway, things are fine now.

Closing remark If any penguin runs into same situation, try above. It may work, if not please post your solution here.

Have a happy Penguin

Last edited by kaz2100; 01-21-2013 at 01:22 AM. Reason: typo
 
Old 01-20-2013, 02:59 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hi,

Thanks for sharing your solution and marking the thread as solved. Off the Zero Reply List.

Kind regards,

Eric
 
Old 03-02-2013, 04:31 AM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 84
Hya,

Self reply.

Folowing sequence also works.

Code:
shutdown -r 1 &
shutdown -c
 
1 members found this post helpful.
Old 07-04-2013, 08:24 PM   #4
hitchup
LQ Newbie
 
Registered: Sep 2006
Location: Texarkana
Posts: 5

Rep: Reputation: 0
Hhappened to me and I could not login to root from the login window.
Used the (recovery mode) from Grub logged in as root and then shutdown -r now.
Next automatic start was good.
 
Old 07-07-2013, 07:27 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 84
Hya,

I am glad this thread helped somebody!


One typo correction on post #1.
2nd line of What I did section.
compaining -> complaining

Apology!
 
  


Reply

Tags
error, login, shutdown


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to login to system using gdm3 in debian wheezy( testing ) rupeshforu Linux - Hardware 0 01-03-2013 08:44 AM
Unable to login into system. yasaswisrikanth Linux - Software 4 12-09-2010 08:55 PM
unable to login into system lavneetjanagal Linux - Newbie 1 12-25-2006 11:28 PM
Unable to login as root - system freezes rcs1000 Linux - Security 4 07-26-2005 06:17 PM
Unable To Login to X-System/Command Line as User drdroid Linux - General 4 02-08-2004 09:26 PM


All times are GMT -5. The time now is 07:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration