Fix for “Missing owner for domain X, force lookup to root”

On recent cPanel versions, rebuilding the Apache conf returns the following non-fatal error: root@savannah [~]# /scripts/rebuildhttpdconf info [rebuildhttpdconf] Missing owner for domain savannah.tcaserversolutions.com, force lookup to root Built /usr/local/apache/conf/httpd.conf OK   The error does not adversely effect the way the httpd.conf file is built, but the presence of the unnecessary info message can be annoying. …

Read more

Unable to Change Shell via WHM or CLI

When trying to change a user’s shell via WHM, you may occasionally see the following error: Shell could not be modified As shown below: Attempting to change the shell via command line fails as well: # chsh -s /bin/bash myuser Changing shell for myuser. setpwnam: File exists Shell *NOT* changed.  Try again later. This means there is a…

Read more

Fixing cPanel Locale Errors

If you receive an “Internal Death” (generic cPanel speak for “something broke”) when accessing WHM and/or cPanel, the first thing you should do is check the cPanel error logs at /usr/local/cpanel/logs/error_log.  You may see something like this: die [Internal Death while parsing [stdin] xxxxx] Read of CDB_File failed: Protocol error at /usr/local/cpanel/Cpanel/CPAN/Locale/Maketext.pm line 217. Cpanel::CPAN::Locale::Maketext::maketext()…

Read more

Restoring DNS Zones on a cPanel Server

In rare situations, the DNS zones located in /var/named might disappear. We’ve heard of this happening after certain bind package updates, or simply due to administrator error. In either case, it may be possible to restore or at least recreate the missing zones.  Even if the server in question does not act as a nameserver,…

Read more

Restoring Database Privileges

I’ve seen several cases in the last few months where database users seemingly “disappear” or privileges appear to become invalid when restoring MySQL data or an entire server from raw backups. This may commonly be attributed to a MySQL version mismatch, for example, when a server is running MySQL 5.0 and then is suddenly running…

Read more

Errors on /scripts/upcp: Undefined subroutine…

When running a cPanel update, you may get the following error: /scripts/upcp /scripts/upcp syntax OK Running Futex Check/Fix……Done Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273. To fix this, run the following command: wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static –manual Then you can proceed running a cPanel update: /scripts/upcp –force…

Read more

Fixing Quotas on a cPanel Server

If you go into WHM > List Accounts and all your accounts are showing an unlimited quota and 0 disk space usage, you probably have a quota problem. First thing, try running /scripts/fixquotas This’ll take a while depending on your current disk usage, but will usually fix the problem. If it doesn’t, make sure that…

Read more

User Databases Missing from cPanel

After upgrading to cPanel 11.28, a number of our users indicated that databases were missing from their cPanels, despite the actual databases existing on the server. There are a number of things that can cause this, including corrupted Perl modules and MySQL not running, but the major cause that I’ve seen is from the new…

Read more

Log in