LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2016, 12:54 PM   #1
tripialos
Member
 
Registered: Apr 2012
Posts: 169

Rep: Reputation: Disabled
Missing kernel modules on OVZ server


Greetings

I have an OpenVZ Vritual Server running Debian8 and i wanted to setup the ntp service. ntpd was not able to start because the process was not able to drop the privillages and run ntpd as ntp user instead of root.

After a bit of googling i found out that i hade to enable a kernel module in order to solve this issue, however, i was not able to do so because no kernel modules could be found in the system. The folder /lib/modules does not excist and lsmod returns zero results.

I contatced my vps provider and they stated that it is not possible to load kernel modules on an ovz virtual machine.

Can someone clarify this and also explain why it is not possible to have kernel modules on the machine?
 
Old 09-22-2016, 06:35 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,152

Rep: Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368Reputation: 1368
1. because they tie into the kernel itself, and there is only one kernel controlled by the host. IF that kernel is loaded in the host you may have access to it.
2. It makes sense that the OpenVZ people should WANT this to fail. Realize that what you link to the kernel affects EVERY container, so were it possible it would have to be blocked to protect every OTHER container on that host.

You really do not need it. If the host clock is correct, so is the containers. I have not attempted skewing the clock from a container (nptdate?) so I cannot be certain it would work, but it may be worth a try. I would ask your provider first if the host clock time is being maintained using NTP: if not can they turn that on. You really do not want the module, you just want the clock to be correct.

I run many OpenVZ hosts, and run ntpd on all of them. All of my containers show the correct time WITHOUT doing anything special within the container.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
uvc kernel modules missing???? arfon Slackware - ARM 5 05-20-2016 04:04 AM
/lib/modules/2.4.33.3/kernel/sound folder is missing after compiling kernel Paulo Ges Slackware - Installation 2 04-15-2007 09:42 PM
Missing modules when installing new kernel tykosson Debian 3 02-09-2005 09:18 AM
new kernel (2.4.22 up from 2.4.20-6) - missing modules - use old modules? Simon Bridge Linux - Software 1 02-04-2004 06:52 AM
missing kernel modules? guthrie Debian 7 01-02-2004 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration