| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-19-2012, 04:42 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2012
Location: Kansas City
Distribution: CentOS 6.2
Posts: 23
Rep: 
|
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
|
|
|
|
05-20-2012, 06:18 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,964
|
Quote:
Originally Posted by brother.gabriel
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
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
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
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'.
|
|
|
|
05-20-2012, 10:57 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2012
Location: Kansas City
Distribution: CentOS 6.2
Posts: 23
Original Poster
Rep: 
|
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?
|
|
|
|
05-20-2012, 01:07 PM
|
#4
|
|
LQ Newbie
Registered: Mar 2012
Location: Kansas City
Distribution: CentOS 6.2
Posts: 23
Original Poster
Rep: 
|
Oh, never mind all that now. I reinstalled it. Thanks!
|
|
|
|
05-21-2012, 10:58 AM
|
#5
|
|
Moderator
Registered: May 2001
Posts: 24,964
|
Well that was a quick decision ;-p
Please mark the thread solved.
|
|
|
|
05-21-2012, 11:23 AM
|
#6
|
|
LQ Newbie
Registered: Mar 2012
Location: Kansas City
Distribution: CentOS 6.2
Posts: 23
Original Poster
Rep: 
|
Sorry - couldn't wait! Thanks, however - I appreciate your help and attention. Thread marked.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:54 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|