[How To] install OpenERP on CentOS

openerp-logo

OpenERP is an open-source enterprise resource planning (ERP) software and alternative to the paid ERP software. OpenERP installation is bit tedious but on CentOS 6.x version, it becomes very easy. CentOS 6.x is recommended for using OpenERP as the packages required for OpenERP are easily available. Let us see how to install OpenERP: 1) Enable EPEL & REMI Repository: Download repositories: REMI …

Read More »

[How To] Install Sendmail on Amazon EC2 BitNami stack server

amazon ec2

The Amazon EC2  BitNami stack servers are used for hosting e-commerce/web applications. BitNami stacks are ready to use virtual machines. Being an e-commerce/Web application, it will require functionality to send email from the server. One may receive below error in the Apache error log if Sendmail service is not present in the server. /usr/bin/sendmail: not found/usr/bin/sendmail: not found Solution 1) Install …

Read More »

[How To] 1045 Cannot log in to the MySQL server phpMyAdmin

php logo

The phpMyAdmin might display following error when trying to login: 1045 Cannot log in to the MySQL server Solution: 1) Check if MySQL service is running or not. 2) Try to login in the MySQL command prompt using the MySQL username and password. If no MySQL root password is set then set the password first. If the above two steps …

Read More »

PHP error: Unable to allocate memory for pool

php logo

If you are getting below error Warning: Unable to allocate memory for pool then you may think it is PHP memory issue and update memory size in php.in file.. But the error occurs due to Alternative PHP Cache (APC). The APC directives need to be updated in this case. To resolve the issue, open apc.ini or php.ini file in editor and follow …

Read More »

[How To] Automatically start Tomcat Service on boot in RHEL/CentOS/Ubuntu

tomcat

The Apache Tomcat is widely use in the Application servers. Sometimes, naive users are not aware of starting/stopping tomcat service. Also, Apache Tomcat service auto start is required in case of server reboot. To achieve this, Apache Tomcat should be added in the desired runlevel with a script, as explained in the below steps. 1) Create script name tomcat containing …

Read More »

LFD Excessive Resource Usage Alerts

Linux logo

The LFD service sometimes send excessive resource usage alerts as below: Time: Tue Nov 19 09:41:10 2013 +0530 Account: xxxxxx Resource: Virtual Memory Size Exceeded: 205 > 200 (MB) Executable: /usr/bin/php Command Line: /usr/bin/php /home/xxxxxx/public_html/index.php PID: 24933 (Parent PID:22578) Killed: No The above alerts are received when a process utilizes more than the memory defined in the CSF configuration file …

Read More »

MySQL Got error 28 from storage engine [Resolved]

mysql logo

The MySQL database backup can be taken using mysqldump command from command line in a Linux server. Sometimes, the following error may occur while taking database backup "'Got error 28 from storage engine' when trying to dump tablespaces" Though the error does not provide much information, the issue is related with the disk space on the server. In this case …

Read More »

How to install PHP pear mail on CentOS & RedHat

php logo

The PHP mail() function is use inside PHP scripts to send emails. This is the simplest way to send emails but not secure. Sometimes, the PHP mail() function might be missing and scripts migh start displaying warning/error messages. In this case, install PHP Mail extension using PEAR. This is simple and east way. 1) Make sure PHP PEAR is present …

Read More »

How to make directory writable by non-root users

To make folder writable by all the selected non-root users, group can be used in which specific non-root users will be added in the group. The following steps requires root user privileges and can be followed in Ubuntu, CentOS, Fedora and RedHat 1) Create a group: sudo groupadd <groupname> 2) Add user to the group: sudo useradd -g <username> <groupname> …

Read More »

[How To] install RabbitVCS SVN client on Ubuntu

rabbitvcs-logo

RabbitVCS is an alternative to TortoiseSVN for Linux distributions. It has clean GUI integrated with shell and capable of doing almost all the activities offered in TortoiseSVN. Installing RabbitVCS on Ubuntu sometimes goes bad with lots if dependencies. But installing RabbitVCS through binaries is pretty easy. Following steps should help you in the same: 1) Install prerequisites: $ sudo apt-get …

Read More »

http upload error on image upload in Magento [Solved]

Magento admins may receive following error while uploading image files from Magento admin panel using image upload option: http upload error Such error is received due to 'n' number of reasons like folder permission, server PHP handler, etc and solutions for the same are easily available on web. But in my case, everything was fine still the issue was not …

Read More »

How to resolve WordPress double dash problem

Bloggers using WordPress might be facing issues with double dash being converted into the single dash. This happens because of the wptexturize filter applied to the content by the WordPress. There are two methods to disable the wptexturize filter.   1) Creating a plugin Create a php file under wp-content/plugins/disable-wptexturize.php with following contents <?php /* Plugin Name: Remove the wptexturize …

Read More »

[Solved] ERROR: phpize failed, command not found in PECL

php logo

If you are installing PHP extensions using PECL, you might end up with an error pecl install uploadprogress   WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading uploadprogress-1.0.3.1.tgz ... Starting to download uploadprogress-1.0.3.1.tgz (9,040 bytes) ....done: 9,040 bytes 4 source files, building running: phpize sh: phpize: command not found ERROR: `phpize' failedpecl install uploadprogress …

Read More »

[How To] Install glib glibc on CentOS/RedHat/Fedora

Linux logo

GLib provides the core application building blocks for libraries and applications written in C. It provides the core object system employed in GNOME, the most loop implementation, and an outsized set of utility functions for strings common data structures. Some applications require glib to be present on the server. To install glib on CentOS/RedHat/Fedora: 1) Login as root user via …

Read More »

CSF command not found in WHM cPanel server

Some of you may face strange issues with CSF firewall on cPanel WHM 11.38.x in which the csf command does not work. # csf -r bash: csf: command not found... # /usr/sbin/csf nothing found.. The CSF plugin though was successfully added to the WHM's AppConfig. There were no modifications in the CSF files nor in WHM. Updating WHM and re-installing CSF …

Read More »