Kernel Service Not Running and Not Able to Share Drives

Discussions about using Linux guests in VirtualBox.
Post Reply
hungry4eva
Posts: 6
Joined: 26. May 2015, 15:54

Kernel Service Not Running and Not Able to Share Drives

Post by hungry4eva »

Hi all,
I'm new to VM's and Linux, but trying my best to learn. I've googled and still no luck.

I'm running windows 7, virtualbox 4.3.28, CentOX 6.6 (I think these are the basics).

When starting up VM/Linux I get the message Kernel Service is Not Running. When googling around it said to delete vboxclient.desktop file from /etc/xdg/autostart. Then I restart and still I get the message.

I'm also having trouble setting up my shared folder. I got an error when installing Guest Additions: Building the main Guest Additions module [FAILED]. Not sure if these two issues are related or not.

Any help would be great.
Thank you!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Kernel Service Not Running and Not Able to Share Drives

Post by mpack »

Moved to "Linux Guests" forum, since I doubt that your Windows Host is relevant to the question asked.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel Service Not Running and Not Able to Share Drives

Post by Perryg »

Post the guests log file ( as an attachment )

Also if you can explain this a little better. You say it will not boot and then you say you are having problems installing the guest additions, which means the guest would have to be running.
hungry4eva
Posts: 6
Joined: 26. May 2015, 15:54

Re: Kernel Service Not Running and Not Able to Share Drives

Post by hungry4eva »

1. Everything boots up. I"m able to get into CentOs and even connect to the internet. I see the error message in the attached screenshot when logging in though. Is it an issue or do I just need to get used to seeing it every time I start up?

2. I can't seem to share files between my host and guest. I've set up the shared folders correctly. I've tried installing the guest additions and I get the build error (attached screenshot).

I've also attached the log file.
Attachments
Linux CentOS 6.6-2015-05-27-09-47-56.log
(52.61 KiB) Downloaded 244 times
guest additions error.png
guest additions error.png (42.25 KiB) Viewed 56664 times
kernel error.png
kernel error.png (12.31 KiB) Viewed 56664 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel Service Not Running and Not Able to Share Drives

Post by Perryg »

Regarding your error. Did you read and do what was suggested in the printed reason for the failure?
hungry4eva
Posts: 6
Joined: 26. May 2015, 15:54

Re: Kernel Service Not Running and Not Able to Share Drives

Post by hungry4eva »

yes, I believe I did. I can try it again.
hungry4eva
Posts: 6
Joined: 26. May 2015, 15:54

Re: Kernel Service Not Running and Not Able to Share Drives

Post by hungry4eva »

yes, confirmed. I've restarted everything and still I get the same error message.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel Service Not Running and Not Able to Share Drives

Post by Perryg »

So if you install the guest additions again do you still get the message of missing kernel-devel?
hungry4eva
Posts: 6
Joined: 26. May 2015, 15:54

Re: Kernel Service Not Running and Not Able to Share Drives

Post by hungry4eva »

Yes. I'm confused. Is the kernel issue and failure to build guest additions related?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel Service Not Running and Not Able to Share Drives

Post by Perryg »

Then you need to install them just like the message says.
But to eliminate any further issue use the following with elevated permission. SU/SUDO

Code: Select all

yum install kernel-devel-$(uname -r)
Then install the guest additions again and see if the error goes away and the additions are successful.
hungry4eva
Posts: 6
Joined: 26. May 2015, 15:54

Re: Kernel Service Not Running and Not Able to Share Drives

Post by hungry4eva »

It works! I've run a similar command before but not sure why it didn't work before. Thanks for your help!
Post Reply