Instalasi otrs tidak selamanya berjalan mulus, kendala yang umum dijumpai adalah saat instalasi web otrs salah satunya adalah berkaitan dengan innodb log file size seperti dibawah ini.
Error: Please set the value for innodb_log_file_size on your database to at least 256 MB (current: 5 MB, recommended: 512 MB).
Merujuk pada permasalahan diatas, dapat diatasi dengan langkah-langkah sebagai berikut: (dapat juga dilihat pada forum otrs pada link disini)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Stop mysql
# service mysqld stop
Rename all logfiles to xyz_OLD
# find /var/lib/mysql -type f -name "ib_logfile?" -exec mv {} {}_OLD \;
Check the logfiles if this is renamed
# ls -la /var/lib/mysql/ib_logfile*
-rw-rw---- 1 mysql mysql 5242880 Apr 3 01:24 /var/lib/mysql/ib_logfile0_OLD
-rw-rw---- 1 mysql mysql 5242880 Jan 31 2010 /var/lib/mysql/ib_logfile1_OLD
Grep your my.cnf if there a parameter already set
# grep innodb_log_file_size /etc/my.cnf
You will see, nothing will displayed.
Open my.cnf in "etc" with notepad++ or similar
And add following parameter
innodb_log_file_size = 265M
Looks like:
[mysqld]
query_cache_size = 48M
max_allowed_packet = 48M
innodb_log_file_size = 256M
Run the command again
# grep innodb_log_file_size /etc/my.cnf
And you will see the grep will now show you a value.
# grep innodb_log_file_size /etc/my.cnf
innodb_log_file_size = 256M
Start mysql
#service mysqld start
Selesai!
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Selamat mencoba!

