Monthly Archives: November 2008

OpenVZ installer – released

How i was saying a few days ago today i released the first version of the OVZinstaller.

The script can be downloaded from: http://repo.hostechs.com/ovz/ovzinstall.tar.gz .

A few explanations about what the script does you can find under the OpenVZ installer page.

Any input appreciated.

Share/Bookmark

Cpanel IMAP error under FreeBSD

This error has been observed mostly on BSD servers even on brand new installs .

It is even that the IMAP server under Courier is not starting at all or the Authentication daemon is throwing out errors.

One of the errors can be seen when trying to access Squirrelmail or Horde, it is even you can not login or get an error like:

Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:143 (Connection refused) in /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth/functions.php on line 129

If you use the Current version of Cpanel you may want to check firstly if IMAP is actually set to Start or not.
You can check this under WHM >> Service Configuration >> IMAP Coonfiguration .
Under cPanel 11.24.x it is now called Mailserver Configuration .

If this is set to On and you still have issues then try and check the /etc/rc.conf file(FreeBSD) .

Regarding IMAP and the authentication daemon you should see the following lines in there:

courier_imap_pop3d_enable="YES"
courier_imap_pop3d_ssl_enable="YES"
courier_imap_imapd_enable="YES"
courier_imap_imapd_ssl_enable="YES"
courier_authdaemond_enable="YES"

If you do not see any of this lines or any of them is looking different edit /etc/rc.conf and edit the line to look like the ones i’ve posted.

OpenVZ installer

I am working for the last few days to finish the first release of a OpenVZ installer.

This OpenVZ installer will be for the start a script write in Bash which will download, check and install from A to Z a OpenVZ server including downloading a few templates.

The script will be released under a GPLv3 license so it will be free.

Project name: OVZinstall

General functions:

– Check if OS is supported and select installation type for the installed OS

– Import repositories

– Check if OpenVZ is already installed

– Check the CPU type and memory available and download/install appropriate kernel

– Set values in sysctl.conf

– Install vzctl, vzquota etc. packages

– Download a few templates

The script will save a log file under /var/log/openvz-install.log so if there will be any issues during the install we will know why.

The first release will be available only for x86 systems, will try later to add 64bit also.

The idea is that the script is supposed to save some time if you have to install plain OpenVZ servers.

Currently it was tested on Debian 4 and Centos 5 OSs and seems to be doing the job just fine.

During the following week i am planing to test it on Centos 4.7 and Fedora Core OSs also .

A small issue at the moment is that i can’t test it against a system with over 4Gb of RAM and/or running a Quad core CPU as i don’t have this hardware just laying around. Would be helpful if someone has access to this hardware and wants to test it and provide me with the output.

Any input is appreciated.