OpenKB::Server Technical Papers

CPANEL

Cpanel: boxtrapper error Invalid zero length lock file

by admin on Oct.31, 2009, under CPANEL

error: Invalid zero length lock file /home/emailne/etc/email.net/user/.boxtrapper/loopprotect.lock detected. at /usr/local/cpanel/Cpanel/SafeFile.pm line 162

Solution: Disable the boxtrapper for the user and make sure the user has enough storage available. Then renableĀ  the user.

We have seen this mostly on cpanel servers.

Comments Off more...

Cpanel: change outgoing mail ip address

by admin on Oct.10, 2009, under CPANEL

/etc/mailips

domain2.tld: #.#.#.2
sub.domain2.tld: #.#.#.2
addondomain.tld: #.#.#.2
other.domain3.tld: #.#.#.3
*: #.#.#.1
Comments Off more...

PHP: installing magicwand

by admin on Jan.07, 2009, under CPANEL, PHP

** REQUIRED ** ImageMagick version :: 6.3.5-9
Last-known-good ImageMagick version :: 6.3.5-9

1.) Check out the latest version from magicwand servers

svn co https://www.imagemagick.org/subversion/MagickWandForPHP/branches/MagickWandForPHP-1.0.7 MagickWandForPHP-1.0.7

I would recommend going to http://magickwand.org/ to verify the latest version , at the time of the post the latest was 1.0.7

2.) untar the compressed file using tar xvzf filename.tar.gz

3.) cd into the new folder and run phpize
4.) run ./configure
5.) make
6.) make test
7.) make install
8.) make clean

note * on cpanel the make install will install the extension in /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ *
for all other distros you will need to move the magickwand.so to your extension folder. you can locate your current ext_dir by issuing the following command php-config –extension-dir

or added the following to your php.ini file
9) add extension=magickwand.so ** you may need to note the dir location of the module such as =/folder/magickwand.so
Magicwand

Comments Off more...

Cpanel: change Default page

by admin on Dec.07, 2008, under CPANEL

The default page is located at /usr/local/apache/htdocs/

I would not recommend change the docroot within the httpd.conf file as this may get reset during apache updates.

Comments Off more...

cpanel: lowest numbered MX record points to local host

by admin on Aug.22, 2008, under CPANEL

error
using a remote mail server while being hosted on a cpanel server. you will need to remove the domain from the localdomains file. You will then need to add the same domain to the remotedomains file.
or
rejected RCPT <user@domain.com>: lowest numbered MX record points to local host or error 451

solution

make sure the domain exist in /etc/localdomainsĀ  if it does not , adding the domain should fix this error

Comments Off more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!