CentOS

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 »

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 »

[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 »

[Solved] Device eth0 does not seem to be present

Linux logo

After cloning a CentOS machine from Oracle Virtualbox or from VMware template and generating new MAC address, I received following error message wile starting networking service. Device eth0 does not seem to be present, delaying initialisation Initially, I thought the issue might be with the network adapter but was not sure exactly which network adapter settings should be kept or changed.On further investigation …

Read More »