Tag archive for ‘cpanel’

EasyApache Custom Modules

Custom Apache and PHP modules add features to the EasyApache system, and are accessible from both the command line and graphical WHM interfaces. These modules are compiled into Apache and/or PHP just like the modules provided with EasyApache. Before you begin You can find documentation for creating custom modules your server at WHM > EasyApache [...]

cPanel transfer restore error

Forcing the restore of a transfered cPanel account , even if the new system says the username is all ready in use /scripts/restorepkg –force –skipres account.tar.gz Incoming search terms:plesk 10 dnsmng: service /etc/init d/named failed to start (–start dns) (1)

services that are not necessary on a web server

These are some services I would normally turn off on web servers. NOTE: usage may vary. gpm — mouse mdmonitor — monitor raid devices netfs — nfs, samba etc… autofs — automount, nfs, cd etc… kudzu — detect new hardware restorecond — monitor selinux file context mcstrans — mandatory access control selinux translation There may [...]

Account Creation Status: failed (out of available ip addresses)

Account Creation Status: failed (Your system has run out of available ip addresses, or you do not have permission to use any more ip addresses. (Unable to find an ip address.) ) You receive the “Account Creation Status: failed” error message while adding a domain from WHM >> Account Functions >> “Create a New Account” [...]

There was an error when you login Cpanel

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 [...]

Cpanel File Manager Zip Compress failling

Cannot compressing files into zip format using the built in cPanel compressor: (internal death while parsing ./frontend/x3/filemanager/live_fileop.xml) Tue Aug 11 19:04:14 2009 [30234] error: open3: exec of zip -r /home/fxhost/public_html/player/hsplaylist.xspf.zip hsplaylist.xspf index.html mhsplaylist.xspf failed at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21 Carp::croak(‘open3: exec of zip -r /home/fxhost/public_html/player/hsplayli…’) called at /usr/lib/perl5/5.6.2/IPC/Open3.pm line 230 IPC::Open3::_open3(‘open3′, ‘Cpanel::SafeRun::Errors’, ‘<&RNULL’, ‘GLOB(0xb0e4500)’, ‘GLOB(0xb0e4500)’, ‘zip’, [...]

Check file and directory permissions under present working directory

Below commands can be used to check file and diretcory permissions under the present working diretcory (pwd) * Check files with permission 755 root@master [~]# find $x -type f -perm 755 * Check files with permission 777 root@master [~]# find $x -type f -perm 777 * Check diretcory with permissions 777 root@master [~]# find $x [...]

How to create a swap file

To add a swap file: Determine the size of the new swap file in megabytes and multiply by 1024 to determine the number of blocks. For example, the block size of a 64 MB swap file is 65536. At a shell prompt as root, type the following command with count being equal to the desired [...]

Tomcat failure after Apache rebuild in CPanel

After rebuilding Apache in CPanel using easyapache or WHM there are many things that can go wrong even if you use a stable branch of CPanel. For example Tomcat that was installed from CPanel can fail after the build and even if this might look unrelated to the apache build this can happen quite frequently. [...]

How to Optimize and Secure a Virtual Private Server (VPS) and Virtual Dedicated Server (VDS)

This article covers a wide range of methods for securing and optimizing your VPS/VDS. We do not provide any warranty for this article, so if you are not sure what you are doing please make sure you research before you do it. Secure cPanel/WHM and the Root User on VDS: Checking for formmail: Form mail [...]