Showing posts with label kloxo. Show all posts
Showing posts with label kloxo. Show all posts

Tuesday, December 18, 2012

Kloxo dns template error

Ive came accross some long error on kloxo dns template,
and it turn out to be corrupted dns template.
I only realize this on creation of a domain or addition of a client.

running /script/fixdns seems to fix this issue,

if you have created a domain or client, just delete the client,
and recreate again.

yes, its still annoying that kloxo always have update issue which corrupt some of the files,
most obvious was roundcube update

Saturday, August 11, 2012

atomicorp repository and kloxo

Atomicorp supply php5.3 and mod apc required for centos5 version of kloxo.
But the qmail-toaster version supplied by atomic conflict with lxcenter-updates,
therefore, adding
exclude = qmail*
to the /etc/yum.repos.d/atomic.repo

Sunday, June 3, 2012

Kloxo Roundcube unable to save to address book

Just faced this issue back 1 week ago, v 6.1.22 seems to face this issue on roundcube email.
upon further investigation into /var/log/httpd/error_log, found this:


PHP Notice:  MDB2 Error: no such field Query: _doQuery: [Error message: Could not execute statement] [Last executed query: INSERT INTO contacts (user_id, changed, del, `vcard`, `name`, `email`, `words`) VALUES (1, now(), 0, 'BEGIN:VCARD\\r\\nVERSION:3.0\\r\\nFN:[name]\\r\\nEMAIL;type=INTERNET:name@example.com\\r\\nEND:VCARD', 'name', 'name@example.com', ' name@example.com name')] [Native code: 1054] [Native message: Unknown column 'words' in 'field list']  in /home/kloxo/httpd/webmail/roundcube/program/include/main.inc on line 2270, referer: ...



So, i went to dig into
/home/kloxo/httpd/webmail/roundcube/update/SQL/mysql.update.sql

And found these line which add the "word" column into the contacts table.

So i went to login as admin user into the kloxo and server > localhost > phpmyadmin,
and ran these script for roundcubemail database:

ALTER TABLE `contacts` ADD `words` TEXT NULL AFTER `vcard`;
ALTER TABLE `contacts` CHANGE `vcard` `vcard` LONGTEXT /*!40101 CHARACTER SET utf8 */ NULL DEFAULT NULL;
ALTER TABLE `contactgroupmembers` ADD INDEX `contactgroupmembers_contact_index` (`contact_id`);

And now it works perfectly.
Please take note not to run the entire file. You might likely to hit already ran sql syntax, and might took the risk to clear of your tables, especially message table.



Friday, March 30, 2012

installing apc on kloxo

For Yum based OS:
sudo yum install pcre-devel
sudo pecl install apc

Then create /etc/php.d/apc.ini
insert content as follows:
extension=apc.so

then restart httpd

If you are still having some problem installing this, try refer here:

http://www.agileapproach.com/blog-entry/howto-install-pecl-apc-cache-centos-without-xampp

Monday, October 10, 2011

Kloxo Yum Gave Error... Trying Again

If you ever tried to install kloxo, and encounter this error,
it might be that you are trying to install kloxo on 64bits system.
Do a uname -m to see if its x86_64 (if yes, then its 64bits).
If its a i686, its not.

If you encounter that error, its likely that your /etc/php.ini is configured to disallow function "system".
Edit the php.ini and find for all line with:
disable_functions =exec,passthru,shell_exec,system...
and comment it off by adding #
Try to find for more of these line. Sometimes its been set more than once.

Updated: 24 Sept 2012:
Okay, normally this error comes out when an installation is incomplete along the process.
So the system have been configured to reject system call, therefore reinstalling it is not possible.
Best way is to reformat your server and install from fresh again.
Normally happen to 64 bits os, best to fall back to 32bits.

Monday, October 3, 2011

Roundcube Error 500

It seems that kloxo always have issue updating roundcube.
Most of the time, the webmail is updated, but the database is not.
to fix it:
mysql -u root -p roundcubemail
source /home/kloxo/httpd/webmail/roundcube/SQL/mysql.update.sql


Tuesday, August 23, 2011

Kloxo /script empty!

For some freaking vps problem, i was facing very slow processing with vps from ds.my as usual.
running /script/upcp seems to somehow run halfway and hang...

So i decided to stop it, and realize, the entire folder /script is empty!...

To fix it:
cd /usr/local/lxlabs/kloxo/httpdocs
sudo lphp.exe ../bin/update.php

And wait for it to complete.. duh...

Tuesday, April 26, 2011

Kloxo Roundcube unable to connect to database

Its most likely to occur after an update on kloxo.
To fix it, go to shell:
and sudo /script/fixwebmail

sudo chmod 644 /home/kloxo/httpd/webmail/roundcube/config/db.inc.php
sudo chmod 644 /home/kloxo/httpd/webmail/horde/config/conf.php

then try again, it shall work now...
if not, please try searching their forum