April 21st, 2013 |
There was an error when you login Cpanel Can’t locate GDBM_File.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/perl /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/5.6.2/i686-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/i686-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 14. Cpanel::Locale::Utils::BEGIN() called at GDBM_File.pm line 14 eval {…} called at GDBM_File.pm line 14 require Cpanel/Locale/Utils.pm called at /usr/local/cpanel/Cpanel/Locale.pm line 15 Cpanel::Locale::BEGIN() called at GDBM_File.pm line 14 [...]
April 21st, 2013 |
The Volume Management daemon, vold, creates and maintains a file system image rooted at root-dir that contains symbolic names for CD-ROM and floppy, ZIP/JAZ, and DVD-ROM devices and other removable devices. Use volcheck command to checks for media in a drive and by default checks all floppy media. 1) First put CDROM/DVD into drive 2) [...]
April 20th, 2013 |
Here’s a great trick if you need to add custom classes to the body tag output of your Drupal theme. This goes above the standard body tag output using a line like this in your page.tpl.php <body class=”<?php print $body_classes; ?>”> Which only creates the usual body classes like: <body class=”front logged-in page-node one-sidebar sidebar-right”> [...]
April 20th, 2013 |
Q. How do I enable EPEL (Extra Packages for Enterprise Linux) repo and install the packages under RHEL / CentOS Linux? A. EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and [...]
April 19th, 2013 |
I’m using RHEL 6 / CentOS 6.x and install the memcached server. However, whey I try to start the server using service memcached start command, I get the following error: Starting memcached: failed to set rlimit for open files. Try running as root or requesting smaller maxconns value. [FAILED] How do I fix this problem? [...]
April 19th, 2013 |
As you know, Webalizer stats are usually updated once a day, when using a Directadmin server. What to do, if you need more current stats? Here are some solutions (work good for me on CentOS 5). If you need to update all server accounts, just type in the following command as root: echo “action=tally&value=all” >> [...]
April 18th, 2013 |
# open screen session screen # list screen sessions screen -ls # reattach to screen session screen -r <name of screen session> # attach to a not detached session screen -x <name of screen session> # detach from unattached session screen -d Note: ^A = Ctrl-a (Press the “a” key while holding down Control key) [...]
April 18th, 2013 |
How to check the version of Debian OR Ubuntu OS? To find out the version of Debian OS you are running, execute # cat /etc/debian_version There are 2 ways to find out the version of Ubuntu OS you are running. 1. Check the file /etc/issue and the output will be something like: # cat /etc/issue [...]
April 17th, 2013 |
Download RPMForge Package. Check your system with uname -a command to get the suitable package. Below is the current one I got : 32-bit system: wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm 64-bit system wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm If you want to check for the latest one, check it from -> http://packages.sw.be/ My instruction will base on x86_64 package. 2. Install GPG [...]
April 17th, 2013 |
Have you thought of hiding what you are doing on your linux bash shell prompt? and not allowing your colleague to see what command you are entering or do you want to confuse your colleague by showing something invisible but work as visible? then read out this… Today I came across a neat, but pointless [...]