Browsing all articles from August, 2007
Aug
26

Mailenable 2.x Webmail calendar feature

Author andy18    Category Others     Tags

I was running some upgrade to refresh my memory on the Mailenable Professional to Enterprise edition. Everything runs well except that some of the new features in the version 2.0 is not showing up on the webmail after the upgrade, this include the calendar feature.

Additionally, some of the new ‘bugs’ I notice is that the Mailenable MMC shortcut available at the Start Menu is still pointing to the old Mailenable Professional MMC option. I notice this as the Mailenable MMC that I fire up does not shows the new features in Mailenable Enterprise. I ended up update the Mailenable Enterprise shortcut on the Start Menu to point to the new target.

For the webmail, when it loads, it is not showing the new Enterprise level skin when I first try it out. Apparently the default base folder is set to the “default” (Pro) version. In order to have the new Enterprise level new skin, you will need to change the default base by navigating within the Mailenable MMC console to “Servers> localhost> Services> Webmail”, right click on the webmail and select “Properties”. In the webmail porperties window navigate to the “Site Options” tab, here you will be able to select the default base. Use the dropdown menu and select “enterprise”. Restart the IIS services as well after this and try refresh your webmail browser. You should get the new interface.

Aug
25

Force Queue run in Exim

Author andy18    Category Others     Tags

If you would like to force your Exim mail server to retry the frozen emails in your mail queue, you may issue the following command as root :

shell#> exim -v -qff

Aug
24

MySQL 5.0.x error with PHP 5.2.3

Author andy18    Category SQL-related     Tags

I was trying to setup a new Windows 2003 web server today and everything looks to be in order. It comes to my attention that phpmyadmin has just release 2.11.0 stable version 2 days ago. Without any further hesitation, I downloaded the latest zip files and extracted to the C:\inetpub\wwwroot\phpmyadmin. Next, I install PHP 5.2.3 and MySQL 5.0.45 to the box. While try to check on the PHP installation, it prompts the following on the CLI:

C:\php5>php-cgi.exe -v
PHP 5.2.3 (cgi-fcgi) (built: May 31 2007 09:37:20)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
Error in my_thread_global_end(): 1 threads didn’t exist

“Error in my_thread_global_end(): 1 threads didn’t exist” has been discussed heavily in PHP bugs report 41350 Apparently the only way to resolve this is to grab the libmysql.dll from PHP 5.2.1 and replace it on PHP 5.2.2 / 5.2.3

Once the libmysql.dll has been replaced, I have no issues with the CLI test output. However, when I login as root to the Phpmyadmin, it shows me the following screen:

Your PHP MySQL library version 5.0.37 differs from your MySQL server version 5.0.45.This may cause unpredicatable behavior

I ended up downgraded the PhpMyadmin version to 2.10.1. I will just have to wait either PHP and MySQL developer to release a patch to correct this.

Aug
18

Skype is offline?

Author andy18    Category Others     Tags

Those users who has rely very heavy on Skype as part of their daily or business communication will find having problems to get connected on yesterday. This including me :-)

Skype has published on their blog saying is one of their algorithm within their networking software which causes the issues. However, some may have believe that the downtime of Skype is due to some published DDoS exploit on the Skype application which causes this.

So far when I tried to connect right now, I am still not able to get connected :-(

Aug
14

Compiling mod_headers into Apache with cPanel

Author andy18    Category Cpanel     Tags

mod_headers is an extension modules of Apache 1.x and 2.x which allow customization of HTTP response headers. Details on the mod_headers can be found on the Apache 1.1 mod_headers and Apache 2.0 mod headers page.

Here’s some easy steps to compile it to your cPanel Apache server:

1. Make a backup copy of your httpd.conf by running cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak ( or any file name that you like )

2. cd /home/cpapachebuild/buildapache/apache_1.x.xx/src/modules/standard – if you do not see the directory of apache_1.x.xx, download the apache source file from the Apache Download page to /home/cpapachebuild/buildapache/ and untar it.

3. /usr/local/apache/bin/apxs -c mod_headers.c

4. /usr/local/apache/bin/apxs -i -a -n headers mod_headers.so

This will compile the mod_headers to the Apache and add in the configuration lines to the httpd.conf file as well.

Run a apachectl configtest as well to make sure it is Syntax-error free. Restart the Apache services and you are done.

Aug
9

Wordpress Friendly URL in Windows IIS

Author andy18    Category Others     Tags

Most of the users who is using Wordpress love one of the features – Premalink that will help your blog to have a better position with search engine crawl. By default, Wordpress display your post to something like this http://www.andy.name.my/?p=456 . We will need to change the way this display to a more friendly readable format by the search engine spider – something like http://www.andy.name.my/index.php/year/month/date/post_title/. Other than the above reason, it gives some rough summary about what your post is to your readers.

Wordpress is written in PHP based environment and is capable of running on any operating system backend – Windows or Linux; as long as the server support PHP and MySQL.

Users who host their Wordpress in Linux environment won’t find any issues enabling Premalink for their blog as Apache comes with a module namely mod_rewrite that support this. However, users who has setup their Wordpress at Windows is not able to enable this option – Reasons? Most of the hosting provider by default is running IIS on the Windows Server environment and the main thing is that mod_rewrite module is only applicable for Apache. Guess what? I am one of the user who host my blog on a Windows and find it problematic to enable the permalink. While I was thinking to switch over to Linux, I came across this post which have save my time of doing the migration of files over.

It’s some simple to have Premalink enabled for your Wordpress in Windows IIS environment as follow:

1. Create a php.ini file with the following lines in the file and upload it to your root directory of your Wordpress installation directory.

cgi.fix_pathinfo = 1
cgi.force_redirect = 0

2. Enable the Premalink options in your WordPress by going to Options > Premalinks

Aug
7

Maintenance Cleanup Task in SQL 2005

Author andy18    Category SQL-related     Tags

I was checking on one of the MS SQL 2005 Workgroup server today and notice that the disk usage for the server has been used up for more than 50%. It really shocks me! Taking a closer look from the server side, it turns out that the previous Maintenance plan which has been setup to automatically delete the old backup does not have all the backup files deleted as it should.

Done some ‘Googling’ and apparently that there are known issue for the MS SQL 2005 maintenance cleanup task. Some of the options are :

1. Make sure you are running at least MS SQL 2005 SP1 ( at this moment SP2 has been released )
2. The extension file name in to be check for your Maintenance Cleanup task should be *.* instead of .bak / .txt

Aug
7

Disable MySQL Update in cPanel

Author andy18    Category Cpanel     Tags

Some users may find they would like to disable the MySQL update in their cPanel when there is any new release though the daily system update. In fact, cPanel is slow in releasing new version even after some months of stable version.

If you wish to do that, create a blank file mysqlupdisable in /etc and that will do the trick.

touch /etc/mysqlupdisable

If you find the file is went missing after some date, you may modify the attribute of the file:

chattr +i /etc/mysqlupdisable