LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 12-16-2011, 07:02 AM   #1
DoBoY
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
Cannot Start "Locale Service" After Import to VM ESX4.1


First let me say that I am a linux Newb and have only used it to manage physical devices such as ESX servers and SAN's, have no experience with OS's

I posted here instead of newb forum because it seems to have to do with the fact that i tried to virtualize it.

I have an old Desktop that was acting as a webserver, running Centos 4.4, kernel 2.6.9-42.10.

I was able to import it using the Vmware Boot cd, had to chnage a few options in the virtual Hardware in order for it to work (LSI parallel Bus logic) now it boots but hangs after Loading HAL Daemon. Now I did a interactive startup and the HAL starts fine its the service after that jams up the system "Starting Local Service"

I already checked the rc.local file and all it has in it is "touch /var/lock/subsys/local" which I # out just in case. The boot Log has nothing in it after Starting HAL daemon. The initd seems fine to mu limited knowledge.

Here's the funny part, the server seems to be running fine even though the main console is hung up, I can ssh to it and the webservices are running. if I ctrl+F1 in a 10 secs window after the HAl daemom starts I can get to a new console session and the server never crashes. but if I wait longer that that the main console session hangs and I cannot do anything(yet the server seems to be runngin fine)

Anyone got any ideas? Also tried not loading the Vmware tools and still same issues.
 
Old 12-16-2011, 08:18 AM   #2
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
I have similar case before. For my case, when system reach to radiusd start. It will freeze. I boot up with rescue cd and init script start section to put it as background start.
You may want to analyze the which stage cause freeze. If you are quite sure, HAL stage, you can try to disable at that runlevel for troubleshooting purpose.
It should not harm your system since it is optional daemon
 
Old 12-16-2011, 08:23 AM   #3
DoBoY
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by novice06 View Post
I have similar case before. For my case, when system reach to radiusd start. It will freeze. I boot up with rescue cd and init script start section to put it as background start.
You may want to analyze the which stage cause freeze. If you are quite sure, HAL stage, you can try to disable at that runlevel for troubleshooting purpose.
It should not harm your system since it is optional daemon
The HAL Daemon starts fine, its the next service that crashes it. "Starting Local Service" <-- which I'm not even sure what it does
 
Old 12-16-2011, 08:26 AM   #4
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
Try to check
/etc/rc.d/rc.local

This is the area, linux admin will put their custom startup scripts. May be one of them give you headache
 
Old 12-16-2011, 08:28 AM   #5
DoBoY
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by novice06 View Post
Try to check
/etc/rc.d/rc.local

This is the area, linux admin will put their custom startup scripts. May be one of them give you headache
As I put in original thread tried that

Thanks for the help though, any more ideas? what's that service responsible for?
 
Old 12-16-2011, 08:36 AM   #6
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
Oh my apologies.
In case, you can check if your runlevel is 3
check runlevel
runlevel

if runlevel is 3, if not replace 3 with your runlevel
ls -l /etc/rc.d/rc3.d/ |more

for example
lrwxrwxrwx 1 root root 19 Sep 22 2010 S26haldaemon -> ../init.d/haldaemon
lrwxrwxrwx 1 root root 20 Sep 1 2010 S26lm_sensors -> ../init.d/lm_sensors
lrwxrwxrwx 1 root root 22 Sep 15 14:18 S26lvm2-monitor -> ../init.d/lvm2-monitor
lrwxrwxrwx 1 root root 14 Jul 27 2010 S55sshd -> ../init.d/sshd
lrwxrwxrwx 1 root root 14 Sep 22 2010 S56cups -> ../init.d/cups

For my example, I will take a look lm_sensors script
 
Old 12-16-2011, 08:42 AM   #7
DoBoY
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by novice06 View Post
Oh my apologies.
In case, you can check if your runlevel is 3
check runlevel
runlevel

if runlevel is 3, if not replace 3 with your runlevel
ls -l /etc/rc.d/rc3.d/ |more

for example
lrwxrwxrwx 1 root root 19 Sep 22 2010 S26haldaemon -> ../init.d/haldaemon
lrwxrwxrwx 1 root root 20 Sep 1 2010 S26lm_sensors -> ../init.d/lm_sensors
lrwxrwxrwx 1 root root 22 Sep 15 14:18 S26lvm2-monitor -> ../init.d/lvm2-monitor
lrwxrwxrwx 1 root root 14 Jul 27 2010 S55sshd -> ../init.d/sshd
lrwxrwxrwx 1 root root 14 Sep 22 2010 S56cups -> ../init.d/cups

For my example, I will take a look lm_sensors script
Ok you lost me there

I did check my run level my using "runlevel" command and it comes back as "N 5"
 
Old 12-16-2011, 08:50 AM   #8
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
It means you boot up with runlevel 5

ls -l /etc/rc5.d/ |grep S |more
 
Old 12-16-2011, 09:58 AM   #9
DoBoY
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Found the problem!

Had to recompile the Vmware tools, twice to be exact?? First time spit out some errors.. Second time ran fine

Then it boots up just fine...

HOW IN THE WORLD am I supposed to figure that out on my own? got lucky by thinking of doing it is all......
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "/etc/init.d/apache2" start VS "apache2ctl start" with passenger module (ruby/rails) arond Linux - Server 1 12-13-2010 10:56 AM
"service nfs start " not working rushadrenaline Mandriva 7 12-20-2009 02:34 AM
Logs filling up with "smbd/service.c:make_connection" - "couldn't find service" DumbTerminal Linux - Networking 14 07-16-2007 06:33 AM
can not "service mysqld start" dfw123 Linux - Newbie 7 05-03-2007 12:29 AM
"locale not supported by Xlib, locale set to C" Irad Linux - Software 3 06-25-2006 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

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