Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd May 2012, 16:32
kleytonns kleytonns is offline
Junior Member
 
Join Date: Jan 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default OpenVZ RHEL 6 SWAPPAGES Fail

Hi Folks,

On OpenVZ kernel 042stab032.0 and above on Red Hat Linux 6 have a VSWAP capability enabled but ISPConfig3 3.0.4.4 have a problem on VE creation on newer OpenVZ. The SWAPPAGES parameter not found on the /vz/conf/CTID.conf generated by ISPConfig3 and this cause CT unable do start. This problem is solved using the command "vzctl set CTID --swappages 2G --save" example, but, I want ISPConfig3 do this alone.

I find the problem. Have one table called "openvz_vm" with one field called "config" with all parameters write on /vz/conf/CTID.conf file and the parameter SWAPPAGES has not found on this field.
Examining de code of VM module of OpenVZ, i don't find where the field "config" is configured. Anyone know were i find this?? I think include the parameter SWAPPAGES on this field to solve this problem.

Thank's
Reply With Quote
Sponsored Links
  #2  
Old 2nd May 2012, 16:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Edit the file /usr/local/ispconfig/interface/web/vm/templates/openvz.conf.tpl and add the parameter there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd May 2012, 18:27
kleytonns kleytonns is offline
Junior Member
 
Join Date: Jan 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Edit the file /usr/local/ispconfig/interface/web/vm/templates/openvz.conf.tpl and add the parameter there.
Till,

I include the this line on the end of openvz.conf.tpl:

SWAPPAGES="{tmpl_var name='swappages'}"

But this variable don't have value. You can give me some idea?

Thank's
Reply With Quote
  #4  
Old 3rd May 2012, 16:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
 
Default

I fixed that in svn stable now.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVz Guest bind9 install fail planet_fox Installation/Configuration 3 5th January 2012 22:33
Cannot install Rhel5.5 and Rhel 6 on same machine -- HELP PLEASE !!!!!! bechkam7 Installation/Configuration 0 31st October 2011 16:35
Apache2 FCGID locking up the box? crypted General 6 12th April 2011 16:16
FFMPEG maybe not an php library? Mkipz Installation/Configuration 2 14th September 2009 21:13
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 18:37


All times are GMT +2. The time now is 23:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.