Archive for the tag 'error'

Upcp Error Message for changing host IP to 0.0.0.0

Error Message
The hostname (domain.server.com) resolves to xxx.xxx.xxx.xxx. It should resolve to 0.0.0.0 Please be sure to correct /etc/hosts as well as the ‘A’entry in zone file for the domain. Some are all of these problems can be caused by /etc/resolv.conf being setup incorrectly. Please check this file if you believe everything else is correct.

Issue is due to wrong ethernet interface specified in “WHM >> Basic cPanel/WHM Setup”.

In order to resolve this check the ethernet configuration file for the value “IPADDR” and add this interface in “WHM >> Basic cPanel/WHM Setup”

Now for crosschecking take the option “Add an A Entry for your Hostname” in WHM.

Finally start “ipaliases” (/etc/rc.d/init.d/ipaliases) service for the new interface.

SBDavid

Park Wrapper Error

Park Wrapper Error

When trying to add an addon domain, or parked domain, you might run across a ‘Park Wrapper Error’. Here are some common errors, and how to fix them:

Error from park wrapper: domainname.com is already configured.

This means that a DNS Zone File already exists for this domain. If you have WHM, simply go to Delete a DNS Zone and remove the domain name you are trying to add.

Error from park wrapper: Using nameservers with the following IPs…. Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server.

This means you still need to point the domain name to the server before you can add it.

Error from park wrapper: Unable to find out which user owns the parked domain

To solve this error message (usually received when attempting to remove a parked domain name), simply try adding the domain name to the Addon Domains section of cPanel. It will error out. After you receive the error message, go into the Parked Domains section of cPanel and remove the domain name.

Error from park wrapper: domainname.com is owned by another user

This means the domain name is already setup with hosting on your server, under a different user’s account.

SBDavid

IonCube PHP Loader Error on website

IonCube PHP Loader Error on website

Site error: the file /home/USER/public_html/index.php requires the ionCube PHP Loader ioncube_loader_lin_X.X.so to be installed.

To Resolve this issue

Create a ‘php.ini’ within the following:

zend_extension = /home/USER/public_html/ioncube/ioncube_loader_lin_4.X.so

Download from : http://www.ioncube.com/loaders.php

Replace USER with the username of the account you are uploading the php.ini file to.

Replace “X” with the appropriate version of the ioncube loader

Upload the php.ini to your public_html directory.

If you are running your script from a directory other than public_html - for example /home/USER/public_html/blog/index.php you will need to upload the php.ini file to that directory.

How do I enable error logging for PHP scripts which helps in debugging application?

PHP errors are by default logged to the web server’s error log file (at least they are with the default setup on most Linux distros) but it is also possible to instead log PHP errors to a file of your choice. This is useful on production websites so you can periodically check for errors and fix them in a location other than the default webserver error log file.

If you do not currently have a php.ini, make one and place it in the same folder(s) as the PHP script(s) that you want to track errors for. You will need to add the following 2 lines:

log_errors = On
error_log = error_log

If we choose to enable error logging, then we MUST check the error_log often and take corrective actions for persistent errors, it’s recommend having it disabled for security reasons.

SBDavid

Yum error: No module named sqlite

Yum error: No module named sqlite

yum seems to be showing sqlite error.

yum clean all

There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:

No module named sqlite

Reference : http://wiki.linux.duke.edu/YumFaq

To fix this download the latest python-sqlite rpm from CentOS mirror and peform a forceful upgrade.

rpm -Uvh python-sqlite-1.1.7-1.2.1.i386.rpm –force

yum clean all

yum update

« Prev - Next »