Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th September 2012, 23:15
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default OpenVZ container update problems

Hi,

I have installed OpenVZ (Linux vm1 2.6.32-5-openvz-amd64) on a Dell SC1435 with 2 GB Ram. This server is part of my multiserver system.

All seems to be OK and I can create containers from ISPConfig with "debian-6.0-amd64-minimal"

My problem is that when I try to setup the containers following this guide : "http://www.howtoforge.com/virtual-multiserver-environment-with-dedicated-web-mysql-email-dns-servers-on-debian-squeeze-with-ispconfig-3" and when I get at this point
Code:
a2enmod suexec rewrite ssl actions include ruby dav_fs dav auth_digest headers expires
I get
Quote:
Could not read /etc/apache2/envvars
I then tried to do an
Code:
apt-get upgrade
and got this
Quote:
Segmentation faultsts... 0%
.
If I do a
Code:
cat /proc/user_beancounters
I get
Quote:
Version: 2.5
uid resource held maxheld barrier limit failcnt
101: kmemsize 5923607 6593092 16384000 18022400 0
lockedpages 0 0 4096 4096 0
privvmpages 64174 65537 65536 65536 86
shmpages 952 1288 65536 65536 0
dummy 0 0 0 0 0
numproc 29 38 400 400 0
physpages 12434 13406 65536 65536 0
vmguarpages 0 0 65536 65536 0
oomguarpages 12434 13406 65536 65536 0
numtcpsock 5 7 500 500 0
numflock 4 5 200 220 0
numpty 1 1 64 64 0
numsiginfo 0 2 512 512 0
tcpsndbuf 87200 0 5365760 10485760 0
tcprcvbuf 81920 172424 5365760 10485760 0
othersockbuf 2312 18960 1503232 4063232 0
dgramrcvbuf 0 4360 262144 262144 0
numothersock 19 24 500 500 0
dcachesize 241941 261971 4194304 4317184 0
numfile 685 800 8192 8192 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 200 200 0
Anyone that have an idea what I have done wrong or missed?
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
Sponsored Links
  #2  
Old 20th September 2012, 12:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

What's the output of
Code:
ls -la /etc/apache2/
?

This is what should be in /etc/apache2/envvars:

Code:
# envvars - default environment variables for apache2ctl

# this won't be correct after changing uid
unset HOME

# for supporting multiple apache2 instances
if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
        SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
else
        SUFFIX=
fi

# Since there is no sane way to get the parsed apache2 config in scripts, some
# settings are defined via environment variables and then used in apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
export APACHE_PID_FILE=/var/run/apache2$SUFFIX.pid
export APACHE_RUN_DIR=/var/run/apache2$SUFFIX
export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX
# Only /var/log/apache2 is handled by /etc/logrotate.d/apache2.
export APACHE_LOG_DIR=/var/log/apache2$SUFFIX

## The locale used by some modules like mod_dav
export LANG=C
## Uncomment the following line to use the system default locale instead:
#. /etc/default/locale

export LANG

## The command to get the status for 'apache2ctl status'.
## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
#export APACHE_LYNX='www-browser -dump'

## If you need a higher file descriptor limit, uncomment and adjust the
## following line (default is 8192):
#APACHE_ULIMIT_MAX_FILES='ulimit -n 65536'
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th September 2012, 18:24
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

On the command
Code:
ls -la /etc/apache2/
I get :
Code:
drwxr-xr-x  7 root root  4096 Sep 18 20:12 .
drwxr-xr-x 66 root root  4096 Sep 20 16:17 ..
-rw-r--r--  1 root root  7994 Apr  1 07:13 apache2.conf
drwxr-xr-x  2 root root  4096 Sep 18 20:13 conf.d
-rw-r--r--  1 root root  1169 Apr  1 07:13 envvars
-rw-r--r--  1 root root     0 Sep 18 20:12 httpd.conf
-rw-r--r--  1 root root 31063 Apr  1 07:13 magic
drwxr-xr-x  2 root root  4096 Sep 18 20:13 mods-available
drwxr-xr-x  2 root root  4096 Sep 18 20:13 mods-enabled
-rw-r--r--  1 root root   750 Apr  1 07:13 ports.conf
drwxr-xr-x  2 root root  4096 Sep 18 20:12 sites-available
drwxr-xr-x  2 root root  4096 Sep 18 20:12 sites-enabled
My envvars looks like this :
Code:
# envvars - default environment variables for apache2ctl

# this won't be correct after changing uid
unset HOME

# for supporting multiple apache2 instances
if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
        SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
else
        SUFFIX=
fi

# Since there is no sane way to get the parsed apache2 config in scripts, some
# settings are defined via environment variables and then used in apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
export APACHE_PID_FILE=/var/run/apache2$SUFFIX.pid
export APACHE_RUN_DIR=/var/run/apache2$SUFFIX
export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX
# Only /var/log/apache2 is handled by /etc/logrotate.d/apache2.
export APACHE_LOG_DIR=/var/log/apache2$SUFFIX

## The locale used by some modules like mod_dav
export LANG=C
## Uncomment the following line to use the system default locale instead:
#. /etc/default/locale

export LANG

## The command to get the status for 'apache2ctl status'.
## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
#export APACHE_LYNX='www-browser -dump'
So I haven't changed anything to that file. And chmod set to 644 should be ok ?
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
  #4  
Old 21st September 2012, 17:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

That's strange...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3, openvz, squeeze

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
self created problem with OpenVZ control voidzero Installation/Configuration 5 16th July 2012 10:48
My Centos is terribly slow Galled Server Operation 9 7th December 2010 15:31
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


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


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