Ubuntu 6.06 LTS on amd64 and Apache2

3 posts / 0 new
Last post
#1 Wed, 01/16/2008 - 12:48
acid

Ubuntu 6.06 LTS on amd64 and Apache2

We are evaluating your software, we have thousands of domains/accounts in other systems and hundred of new ones every month to create.

We already have installed a i386 server with Ubuntu 6.06 LTS without major problems, the cdrom line in the sources.list was wrong, your php.ini needed some minor security adjustments like allow_url_open = Off, the default apache2 version was the wrong one ...

Now we are testing an IBM server with with Ubuntu 6.06 LTS (64bit) and the apache2 version is the wrong one too, this is what we did:

cd /usr/lib/apache2

/usr/lib/apache2$ sudo ./suexec2 -V -D AP_DOC_ROOT="/var/www" -D AP_GID_MIN=100 -D AP_HTTPD_USER="www-data" -D AP_LOG_EXEC="/var/log/apache2/suexec.log" -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin" -D AP_UID_MIN=100 -D AP_USERDIR_SUFFIX="public_html"

/usr/lib/apache2$ sudo apt-get update

/usr/lib/apache2$ sudo apt-get install apache2 Reading package lists... Done Building dependency tree... Done apache2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.

/usr/lib/apache2$ sudo apt-get -t virtualmin-etch install apache2 Reading package lists... Done Building dependency tree... Done apache2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.

/usr/lib/apache2$ sudo aptitude -> apache2 removed

/usr/lib/apache2$ sudo apt-get -t virtualmin install apache2 apache2-mpm-worker Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: apache2-mpm-prefork libapache2-mod-php5 The following NEW packages will be installed: apache2 apache2-mpm-worker 0 upgraded, 2 newly installed, 2 to remove and 50 not upgraded. Need to get 228kB/263kB of archives. After unpacking 5812kB disk space will be freed. Do you want to continue [Y/n]? y Get:1 http://ar.archive.ubuntu.com dapper-updates/main apache2-mpm-worker 2.0.55-4ubuntu2.2 [228kB] Fetched 228kB in 2s (84.1kB/s) (Reading database ... 53224 files and directories currently installed.) Removing libapache2-mod-php5 ... Module php5 disabled; run /etc/init.d/apache2 force-reload to fully disable. dpkg: apache2-mpm-prefork: dependency problems, but removing anyway as you request: virtualmin-base depends on apache2; however: Package apache2 is not installed. Package apache2-mpm-prefork which provides apache2 is to be removed. libapache2-svn depends on apache2; however: Package apache2 is not installed. Package apache2-mpm-prefork which provides apache2 is to be removed. Removing apache2-mpm-prefork ... * Stopping apache 2.0 web server... [ ok ] Selecting previously deselected package apache2-mpm-worker. (Reading database ... 53221 files and directories currently installed.) Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.0.55-4ubuntu2.2_amd64.deb) ... Selecting previously deselected package apache2. Unpacking apache2 (from .../apache2_2.0.55-4ubuntu2.2_amd64.deb) ... Setting up apache2-mpm-worker (2.0.55-4ubuntu2.2) ... * Starting apache 2.0 web server... [ ok ] Setting up apache2 (2.0.55-4ubuntu2.2) ...

/usr/lib/apache2$ sudo aptitude -> apache2 removed

/usr/lib/apache2$ sudo apt-get -t virtualmin-etch install apache2 apache2-mpm-worker Reading package lists... Done Building dependency tree... Done apache2-mpm-worker is already the newest version. The following NEW packages will be installed: apache2 0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded. Need to get 0B/35.9kB of archives. After unpacking 81.9kB of additional disk space will be used. Selecting previously deselected package apache2. (Reading database ... 53226 files and directories currently installed.) Unpacking apache2 (from .../apache2_2.0.55-4ubuntu2.2_amd64.deb) ... Setting up apache2 (2.0.55-4ubuntu2.2) ...

/usr/lib/apache2$ sudo ./suexec2 -V -D AP_DOC_ROOT="/var/www" -D AP_GID_MIN=100 -D AP_HTTPD_USER="www-data" -D AP_LOG_EXEC="/var/log/apache2/suexec.log" -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin" -D AP_UID_MIN=100 -D AP_USERDIR_SUFFIX="public_html"

Wed, 01/23/2008 - 20:04
acid

After our tests we have concluded that Ubuntu 6.06 LTS on amd64 is no more a grade A supported system for Virtualmin Pro, not at this moment and not for us.

We are trying now CentOS 5.1, we think that here Virtualmin Pro will work smoothly.

Thu, 01/24/2008 - 11:14 (Reply to #2)
acid

CentOS 5.1 + Virtualmin Pro ... just perfect!!! ... :)

One little thing only about CentOS 5.1, dovecot server gived out the following error:

imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory

We needed to set maximum process size in megabytes in /etc/dovecot.conf by setting the line login_process_size to somethink like 32 or 64

then restarted dovecot:

/etc/init.d/dovecot restart

Anyway we are now really impressed ... :)

Topic locked