LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-02-2009, 11:57 AM   #1
protos78
LQ Newbie
 
Registered: Feb 2009
Posts: 10

Rep: Reputation: 0
Unhappy Some processes does not start in multi-user mode


Hi all,

Here is the issue:

Few days ago, the server did not respond to a ssh request from a user at night. A user tried to check what went wrong with computer and tried to login from terminal next morning. As the computer was unresponsive, he somehow decided to boot it by turning the power off. To make the story short, the server rebooted; however, he can't login to his account. Actually, the server could not start some processes; but was able to ask user to enter his account username. Even though, he enters the correct username and password, server does not accept the request. I also could not login as root.

I just checked the server logs by booting it in single user mode. Here are some interesting lines:

Before the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed

After the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed
fsck:
fsck /: (this is repeated 900+ times)
sshd: failed
ntpd: failed
httpd: httpd: bad user name apache
httpd: httpd startup failed
runuser: runuser:
runuser: user htt doesnot exist
iiim: htt startup failed
cannaserver: cannaserver : -u flag spesified, but can not run as root
cannaserver:
canna: failed
atd : atd startup failed
atd : failed
dbus-daemon-1: Could not get password database information for UID of current process user "???" unknown or no memory to allocate password entry
dbus-daemon-1: Unknown username "haldaemon" in message bus configuration file
dbus-daemon-1: Unknown username "root" in message bus configuration file


This might be something related with shadow file.
Here is part of /etc/shadow

root:$1$blah_blah_blah:14274:0:99999:7:::
bin:*:12761:0:99999:7:::
sshd:!!:12761:0:99999:7:::

I have to solve this issue as soon as possible. Any idea/help is appreciated.
 
Old 02-02-2009, 05:30 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
First, thank you for not putting the word URGENT or anything similar in your post's title. Thank you. Thank you. Thank you. :-)

You didn't mention the hardware that you are running. It sounds like you have a substantial software environment. Are you using a RAID disk configuration? If you have a hardware-only RAID then you might want to check to see if the virtual disks are okay.

If you can boot into runlevel 1 and log on then can you fsck your root partition? If fsck says that the volume is clean AND refuses to perform the check then you can usually force a check using -f in the command but that depends on which file system type you are using.

Can you boot a live Linux CD? You could (hopefully) make a backup of your system and try to fix whatever is going wrong.

Look at your /var/log/messages file for pointers as to what is not working.
 
Old 02-04-2009, 01:13 PM   #3
protos78
LQ Newbie
 
Registered: Feb 2009
Posts: 10

Original Poster
Rep: Reputation: 0
I appreciate your help. It is very valuable.

Quote:
Originally Posted by stress_junkie View Post
You didn't mention the hardware that you are running. It sounds like you have a substantial software environment. Are you using a RAID disk configuration? If you have a hardware-only RAID then you might want to check to see if the virtual disks are okay.
This seems to be a RAID issue. I'll go through the manuals and will resolve the issue.

Quote:
Originally Posted by stress_junkie View Post
If you can boot into runlevel 1 and log on then can you fsck your root partition? If fsck says that the volume is clean AND refuses to perform the check then you can usually force a check using -f in the command but that depends on which file system type you are using.
I was able to boot in single user mode and run fsck. It showed 12 errors and fsck fixed them all. Then, I rebooted in run level 5, same processes failed to start. Later, I switched to single user mode and checked the /var/log/messages and boot.log, rerun fsck and got more errors which are all fized by fsck. I booted the machine in run level 5 one more time, the computer got frozen. I had to turn the power off. Now, it fails to boot in run level 5.

Quote:
Originally Posted by stress_junkie View Post
Can you boot a live Linux CD? You could (hopefully) make a backup of your system and try to fix whatever is going wrong.
I can boot from live linux CD. I backed up the computer few days ago before starting to fix it. As I said before, this seems to be a hardware related problem. I have to learn more about RAID, especially get an understanding of how to check virtual disks.
Quote:
Originally Posted by stress_junkie View Post
Look at your /var/log/messages file for pointers as to what is not working.
I went over messages file. There is no major issue other than authentication errors.

THanks for your comments and time.
 
  


Reply



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
Totally unable to start the user mode yared27 Linux - Newbie 3 09-10-2008 12:37 AM
how to change fstab so the system can startup in multi-user mode zeta34 Linux - General 5 08-11-2007 04:07 AM
How can I run multi user text mode in Debian to install Nvidia drivers?? doraimom Debian 40 04-14-2007 06:54 AM
Single user or multi-user mode? hyphae Slackware 3 01-26-2007 10:52 AM
`Shutdown now` goes to single user mode? Paused Start time guardian653 Linux - Security 1 12-11-2003 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:02 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
Open Source Consulting | Domain Registration