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 05-19-2012, 04:42 PM   #1
brother.gabriel
LQ Newbie
 
Registered: Mar 2012
Location: Kansas City
Distribution: CentOS 6.2
Posts: 29

Rep: Reputation: Disabled
CentOS fails to finish booting


Salvete! I have a CentOS 2.6 system that I am setting up as a server. I think the system updated the kernel and now it won't complete the boot process.

When I installed the OS, I installed the GUI too, because I am still learning, and it helps. However, when I have everything ready, I will change the boot options to skip the GUI.

At any rate, my problem is that it won't finish booting now. Here is the readout that I get if I escape out of the splash screen:

Code:
Calling the system activity data collector (sadc): Cannot open /var/log/sa/sa19: Permission denied
Starting Monitoring....  [OK]
ip6tables...  [OK]
Bringing up Loopback interface:  [OK]
Starting auditd: [FAILED]
Starting portreserve: [OK]
Starting system logger:   _
Now, I *am* able to boot to level 1, but not to level 3. So I booted to level 1 and
restarted with bootlevel1 and ran chmod 740 -R /var/log/sa
no dice.

Also did chmod 740 -R /var/log/audit
no dice.

This thread is related, but didn't help: http://www.linuxquestions.org/questi...n-boot-846100/

What do I do now? What other clues can I provide for y'all?

Last edited by brother.gabriel; 05-20-2012 at 10:48 AM. Reason: added link to related thread
 
Old 05-20-2012, 06:18 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by brother.gabriel View Post
I think the system updated the kernel
With respect to this computing is binary, there is no need for "thinking", "guessing" or "worrying": you can check if the kernel was updated or not by reading whatever log file Yum(-updatesd?) logs to (usually syslog) by booting into runlevel 1 and 'less /var/log/messages'.


Quote:
Originally Posted by brother.gabriel View Post
When I installed the OS, I installed the GUI too, because I am still learning, and it helps. However, when I have everything ready, I will change the boot options to skip the GUI.
Kinda OT but a server rarely requires X server, a Desktop Environment and graphical interface tools. Installing those packages pulls in a myriad of dependencies, adds to maintenance, running it requires resources and exposes the server more in terms of risk than strictly necessary. My suggestion would be to remove any packages you don't need now: you can always install them later on.
* While you're at it please do invest time reading the documentation Centos comes with and properly harden the machine. Once waste passed through the bowels starts hitting devices for creating currents of air your investment will show you it was worth it.


Quote:
Originally Posted by brother.gabriel View Post
Code:
Calling the system activity data collector (sadc): Cannot open /var/log/sa/sa19: Permission denied
What does 'ls -alZ /var/log/sa/sa19; ls -aldZ /var/log/sa /var/log /var' return?
And 'audit2allow < /var/log/audit/audit.log' if the audit service is enabled?


Quote:
Originally Posted by brother.gabriel View Post
Starting system logger: _[/CODE]
From this we can't see what's going on under the hood. Please boot into runlevel 1 and 'less /var/log/messages'.
 
Old 05-20-2012, 10:57 AM   #3
brother.gabriel
LQ Newbie
 
Registered: Mar 2012
Location: Kansas City
Distribution: CentOS 6.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
Thanks for answering, unSpawn. If I reinstall the OS without the GUI, will I miss out on anything, considering I plan to use the machine to host Asterisk? On our old 2.4 CentOS, we had the GUI, but back then you could use the GUI for configuring more things, such as SAMBA and SUDO. In 2.6, the GUI does not come with that configuration, and it has to be done via CLI, anyway. When you say "myriad of dependencies, ...maintenance, and resources", I think you got me. If I won't miss anything in Asterisk (FreePBX, perhaps) then I'll do away with the GUI. What do you think?
 
Old 05-20-2012, 01:07 PM   #4
brother.gabriel
LQ Newbie
 
Registered: Mar 2012
Location: Kansas City
Distribution: CentOS 6.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
Oh, never mind all that now. I reinstalled it. Thanks!
 
Old 05-21-2012, 10:58 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Well that was a quick decision ;-p
Please mark the thread solved.
 
Old 05-21-2012, 11:23 AM   #6
brother.gabriel
LQ Newbie
 
Registered: Mar 2012
Location: Kansas City
Distribution: CentOS 6.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
Sorry - couldn't wait! Thanks, however - I appreciate your help and attention. Thread marked.
 
  


Reply

Tags
auditd, boot, centos



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
Can't finish booting via NFS. Udev, hotplug and modules problem. Linux.tar.gz Debian 1 04-20-2007 03:05 AM
Edubuntu Thin Client won't finish booting Phoenixink Linux - Networking 4 02-05-2007 05:57 PM
Suddenly kernels won't finish booting chort Mandriva 5 10-26-2003 03:55 AM
loaded slackware, won't finish booting. stops at cs: IO Port probe Whitehat Slackware 5 10-15-2003 03:18 PM
gdm fails to finish starting, why? mark_umr Linux - General 1 12-19-2002 11:43 PM

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

All times are GMT -5. The time now is 05:17 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