ViciBox v.6.0 Bug Fixes - Updated 10/23/2015

This thread will contain gotchas, patches, bugs, and other useful information related to ViciBox v.6.0 installs. The steps assume you are already logged in as the root user and sitting at a shell prompt.
ViciBox v.6.0.0 only fix for Apache access restrictions:
1) sed -i 's/Require all granted/Order allow,deny\n\tAllow from all/' /etc/apache2/conf.d/viciarchive.conf
2) sed -i 's/Require all granted/Order allow,deny\n\tAllow from all/' /etc/apache2/conf.d/vicirecord.conf
3) service apache2 restart
----------
ViciBox v.6.0.1 and under chan_ooh323 segfault fix, prevents asterisk from starting:
1) echo "noload => chan_ooh323.so" >> /etc/asterisk/modules.conf
----------
ViciBox v.6.0.1 and under has an issue with MySQL tmp directory being deleted during an automated filesystem pruning process. Fix is to specify the tmp directory. This should be done after hours as it causes an interruption in database availability:
1) sed -i 's/myisam_repair_threads=1/myisam_repair_threads=1\ntmpdir = \/tmp\//' /etc/my.cnf
2) service mysql restart
----------
For some reason the installation location of the Crypt::RC4 perl module results in issues for the list loader. A symlink seems to make it all work again. Here's the fix:
1) mkdir -p /usr/lib/perl5/site_perl/5.18.1/Crypt/
2) ln -s /usr/lib/perl5/vendor_perl/5.18.1/Crypt/RC4.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/RC4.pm
----------
Missed the concurrent_insert directive in the my.cnf configuration file on ViciBox v.6.0.2 and under:
1) sed -i 's/table_cache=8192/table_cache=8192\nconcurrent_insert=2/' /etc/my.cnf
2) service mysql restart
----------
Default mysql configuration breaks replication if slave server rebooted due to memory tables not being persistent. Applies to ViciBox v.6.0.3 and under.
1) sed -i '/server-id/a slave-skip-errors=1032,1690' /etc/my.cnf
2) service mysql restart
ViciBox v.6.0.0 only fix for Apache access restrictions:
1) sed -i 's/Require all granted/Order allow,deny\n\tAllow from all/' /etc/apache2/conf.d/viciarchive.conf
2) sed -i 's/Require all granted/Order allow,deny\n\tAllow from all/' /etc/apache2/conf.d/vicirecord.conf
3) service apache2 restart
----------
ViciBox v.6.0.1 and under chan_ooh323 segfault fix, prevents asterisk from starting:
1) echo "noload => chan_ooh323.so" >> /etc/asterisk/modules.conf
----------
ViciBox v.6.0.1 and under has an issue with MySQL tmp directory being deleted during an automated filesystem pruning process. Fix is to specify the tmp directory. This should be done after hours as it causes an interruption in database availability:
1) sed -i 's/myisam_repair_threads=1/myisam_repair_threads=1\ntmpdir = \/tmp\//' /etc/my.cnf
2) service mysql restart
----------
For some reason the installation location of the Crypt::RC4 perl module results in issues for the list loader. A symlink seems to make it all work again. Here's the fix:
1) mkdir -p /usr/lib/perl5/site_perl/5.18.1/Crypt/
2) ln -s /usr/lib/perl5/vendor_perl/5.18.1/Crypt/RC4.pm /usr/lib/perl5/site_perl/5.18.1/Crypt/RC4.pm
----------
Missed the concurrent_insert directive in the my.cnf configuration file on ViciBox v.6.0.2 and under:
1) sed -i 's/table_cache=8192/table_cache=8192\nconcurrent_insert=2/' /etc/my.cnf
2) service mysql restart
----------
Default mysql configuration breaks replication if slave server rebooted due to memory tables not being persistent. Applies to ViciBox v.6.0.3 and under.
1) sed -i '/server-id/a slave-skip-errors=1032,1690' /etc/my.cnf
2) service mysql restart