<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cPanel/WHM - Spheron1</title>
	<atom:link href="https://www.spheron1.uk/category/technical/control-panels/cpanel-whm/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.spheron1.uk</link>
	<description></description>
	<lastBuildDate>Tue, 13 Jan 2026 11:01:44 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>cPanel Dovecot 2.4 upgrade breaking Windows 7 clients</title>
		<link>https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/</link>
					<comments>https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Tue, 13 Jan 2026 11:01:44 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[ciphers]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Diffie-Hellman]]></category>
		<category><![CDATA[Dovecot]]></category>
		<category><![CDATA[Dovecot 2.3]]></category>
		<category><![CDATA[Dovecot 2.4]]></category>
		<category><![CDATA[ECDSA]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[POP3]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[SSL certificate]]></category>
		<category><![CDATA[SSL/TLS]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[WHM]]></category>
		<category><![CDATA[Windows 7]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=5250</guid>

					<description><![CDATA[<p>cPanel recently rolled out an upgrade from Dovecot 2.3 to 2.4 which has accidentally broken old IMAP and POP3 clients, such as those running on Windows 7 as it removes some key configuration needed to support certain SSL/TLS ciphers. For example, a Microsoft Outlook client running on Windows 7 would report: Receiving reported error (0x800CCC1A) Your server does not support&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/">cPanel Dovecot 2.4 upgrade breaking Windows 7 clients</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">cPanel recently rolled out an upgrade from Dovecot 2.3 to 2.4 which has accidentally broken old IMAP and POP3 clients, such as those running on Windows 7 as it removes some key configuration needed to support certain SSL/TLS ciphers.</p>



<p class="wp-block-paragraph">For example, a Microsoft Outlook client running on Windows 7 would report:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Receiving reported error (0x800CCC1A) Your server does not support the connection encryption type you have specified. Try changing the encryption method. Contact your mai server administrator or Internet service provider (ISP) for additional assistance.&#8221;</p>
</blockquote>



<p class="has-luminous-vivid-amber-background-color has-background wp-block-paragraph">Despite the minor version number increment, Dovecot 2.4 is a major update which has significant breaking changes to the structure of the configuration files and thus the old configuration files need to be carefully converted in order to work with Dovecot 2.4.<br><br>Dovecot 2.4 should really have been called Dovecot 3.0. I have no idea why Open-Xchange considered a minor version number bump to be appropriate for this release.</p>



<p class="wp-block-paragraph">The default TLS ciphers enabled for Dovecot (both 2.3 and 2.4) on cPanel are:</p>



<ul class="wp-block-list">
<li>ECDHE-ECDSA-AES128-GCM-SHA256</li>



<li>ECDHE-RSA-AES128-GCM-SHA256</li>



<li>ECDHE-ECDSA-AES256-GCM-SHA384</li>



<li>ECDHE-RSA-AES256-GCM-SHA384</li>



<li>ECDHE-ECDSA-CHACHA20-POLY1305</li>



<li>ECDHE-RSA-CHACHA20-POLY1305</li>



<li>DHE-RSA-AES128-GCM-SHA256</li>



<li>DHE-RSA-AES256-GCM-SHA384</li>
</ul>



<p class="wp-block-paragraph">This is almost identical to the very useful <a href="https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_(recommended)" title="">Mozilla &#8220;Intermediate&#8221; list</a>, except that the DHE-RSA-CHACHA20-POLY1305 cipher is missing.</p>



<p class="wp-block-paragraph">Windows 7 has very poor support for modern cryptography since it went end-of-life in January 2020 and so hasn&#8217;t received any updates for 6 years now.</p>



<p class="wp-block-paragraph">The supported cipher suites advertised in the SSL/TLS handshake by a Windows 7 client device are:</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><tbody><tr><td><strong>IANA name</strong></td><td><strong>OpenSSL name</strong></td></tr><tr><td>TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384</td><td>ECDHE-RSA-AES256-SHA384</td></tr><tr><td>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256</td><td>ECDHE-RSA-AES128-SHA256</td></tr><tr><td>TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA</td><td>ECDHE-RSA-AES256-SHA</td></tr><tr><td>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA</td><td>ECDHE-RSA-AES128-SHA</td></tr><tr><td>TLS_DHE_RSA_WITH_AES_256_GCM_SHA384</td><td>DHE-RSA-AES256-GCM-SHA384</td></tr><tr><td>TLS_DHE_RSA_WITH_AES_128_GCM_SHA256</td><td>DHE-RSA-AES128-GCM-SHA256</td></tr><tr><td>TLS_RSA_WITH_AES_256_GCM_SHA384</td><td>AES256-GCM-SHA384</td></tr><tr><td>TLS_RSA_WITH_AES_128_GCM_SHA256</td><td>AES128-GCM-SHA256</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384</td><td>ECDHE-ECDSA-AES256-GCM-SHA384</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256</td><td>ECDHE-ECDSA-AES128-GCM-SHA256</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384</td><td>ECDHE-ECDSA-AES256-SHA384</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256</td><td>ECDHE-ECDSA-AES128-SHA256</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA</td><td>ECDHE-ECDSA-AES256-SHA</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA</td><td>ECDHE-ECDSA-AES128-SHA</td></tr><tr><td>TLS_RSA_WITH_AES_256_CBC_SHA256</td><td>AES256-SHA256</td></tr><tr><td>TLS_RSA_WITH_AES_128_CBC_SHA256</td><td>AES128-SHA256</td></tr><tr><td>TLS_RSA_WITH_AES_256_CBC_SHA</td><td>AES256-SHA</td></tr><tr><td>TLS_RSA_WITH_AES_128_CBC_SHA</td><td>AES128-SHA</td></tr><tr><td>TLS_DHE_DSS_WITH_AES_256_CBC_SHA256</td><td>DHE-DSS-AES256-SHA256</td></tr><tr><td>TLS_DHE_DSS_WITH_AES_128_CBC_SHA256</td><td>DHE-DSS-AES128-SHA256</td></tr><tr><td>TLS_DHE_DSS_WITH_AES_256_CBC_SHA</td><td>DHE-DSS-AES256-SHA</td></tr><tr><td>TLS_DHE_DSS_WITH_AES_128_CBC_SHA</td><td>DHE-DSS-AES128-SHA</td></tr><tr><td>TLS_RSA_WITH_3DES_EDE_CBC_SHA</td><td>DES-CBC3-SHA</td></tr><tr><td>TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA</td><td>EDH-DSS-DES-CBC3-SHA</td></tr><tr><td>TLS_RSA_WITH_RC4_128_SHA</td><td>RC4-SHA</td></tr><tr><td>TLS_RSA_WITH_RC4_128_MD5</td><td>RC4-MD5</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">Most of these are now considered insecure and thus are not enabled on the server side.</p>



<p class="wp-block-paragraph">The overlap between the TLS ciphers supported by the client and the TLS ciphers which are allowed on the server side is just four ciphers:</p>



<ul class="wp-block-list">
<li>ECDHE-ECDSA-AES128-GCM-SHA256</li>



<li>ECDHE-ECDSA-AES256-GCM-SHA384</li>



<li>DHE-RSA-AES256-GCM-SHA384</li>



<li>DHE-RSA-AES128-GCM-SHA256</li>
</ul>



<p class="wp-block-paragraph">Unfortunately, the two ECDHE-ECDSA-* ones will only work if you are using ECDSA SSL certificates. If you are using RSA certificates then you can only use the DHE-RSA-* ones.<br>Still, we have TLS ciphers which are supported by both the client and the server so this should be working&#8230; why isn&#8217;t it?</p>



<p class="wp-block-paragraph">Previously under Dovecot 2.3, cPanel had the following configuration in /etc/dovecot/dovecot.conf for the Diffie-Hellman parameters file necessary for the DHE-RSA-* ciphers to function:</p>



<pre class="wp-block-code"><code># SSL DH parameters
# Generate new params with `openssl dhparam -out /etc/dovecot/dh.pem 4096`
# Or migrate from old ssl-parameters.dat file with the command dovecot
# gives on startup when ssl_dh is unset.
ssl_dh = &lt;/etc/dovecot/dh.pem</code></pre>



<p class="wp-block-paragraph">In Dovecot 2.4 this configuration directive changed to &#8220;ssl_server_dh_file&#8221; (see <a href="https://doc.dovecot.org/2.4.2/installation/upgrade/2.3-to-2.4.html#converted-settings">https://doc.dovecot.org/2.4.2/installation/upgrade/2.3-to-2.4.html#converted-settings</a>) and it isn&#8217;t present anywhere in /etc/dovecot/ post-upgrade on cPanel servers.</p>



<p class="has-pale-cyan-blue-background-color has-background wp-block-paragraph">As a random, aside; the old configuration &#8220;ssl_dh&#8221; option value was for the contents of the certificate, which could be read from a file with the redirect. The new &#8220;ssl_server_dh_file&#8221; option takes file path as the value, which Dovecot then reads itself. As such, when moving from 2.3 to 2.4 it&#8217;s important to ensure that you don&#8217;t copy over the less than symbol that precedes the path, otherwise Dovecot will try to read the contents of that file and treat those as the path that it should use.</p>



<p class="wp-block-paragraph">In order to add the configuration for the Diffie-Hellman parameters file to the Dovecot 2.4 configuration yourself, you will need to make use of the cPanel configuration file templating system, otherwise any manual changes to the configuration files in /etc/dovecot/ will get overwritten the next time cPanel regenerates them.</p>



<p class="wp-block-paragraph">First check if the /var/cpanel/templates/dovecot/main.local file already exists (for example if you already have custom Dovecot configuration or if you are using Imunify360). If not, then copy the file /var/cpanel/templates/dovecot/main.default to /var/cpanel/templates/dovecot/main.local and edit it in your favour editor to add the following configuration to the bottom of the file:</p>



<pre class="wp-block-code"><code># Required for DHE-RSA-AES128-GCM-SHA256 and DHE-RSA-AES256-GCM-SHA384 ciphers needed for Windows 7 clients to work
ssl_server_dh_file = /etc/dovecot/dh.pem</code></pre>



<p class="wp-block-paragraph">Once you have modified the /var/cpanel/templates/dovecot/main.local file, you can run &#8220;/scripts/builddovecotconf&#8221; to regenerate the configuration files from your new template, followed by &#8220;/scripts/restartsrv_dovecot&#8221; to restart the Dovecot service.</p>



<p class="wp-block-paragraph">IMAP and POP3 clients running on old devices such as Windows 7 should once again be able to connect as the DHE-RSA-* TLS ciphers that they rely on are functioning again.</p><p>The post <a href="https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/">cPanel Dovecot 2.4 upgrade breaking Windows 7 clients</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Removing APNs certificates in cPanel</title>
		<link>https://www.spheron1.uk/2025/04/24/removing-apns-certificates-in-cpanel/</link>
					<comments>https://www.spheron1.uk/2025/04/24/removing-apns-certificates-in-cpanel/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Thu, 24 Apr 2025 09:00:00 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[APNs]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[Apple macOS]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=2976</guid>

					<description><![CDATA[<p>For many years cPanel has provided support for push notifications on Apple devices for IMAP, CalDAV and CardDAV using the Apple Push Notification service (APNs).In order to set this up, you need to provide APNs certificates for com.apple.mail, com.apple.calendar and com.apple.contact from Apple, which can be installed Service Configuration -> Manage Service SSL Certificates -> iOS Mail Push Notifications (APNs)&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2025/04/24/removing-apns-certificates-in-cpanel/">Removing APNs certificates in cPanel</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">For many years cPanel has provided support for push notifications on Apple devices for IMAP, CalDAV and CardDAV using the Apple Push Notification service (APNs).<br>In order to set this up, you need to provide APNs certificates for com.apple.mail, com.apple.calendar and com.apple.contact from Apple, which can be installed Service Configuration -> Manage Service SSL Certificates -> iOS Mail Push Notifications (APNs) in WHM.</p>



<p class="wp-block-paragraph">Traditionally you needed an old copy of macOS Server in order to get these APNs certificates, but it was also possible to obtain the certificates using third party scripts such as <a href="https://github.com/scintill/macos-server-apns-certs">https://github.com/scintill/macos-server-apns-certs</a> which had reverse engineered the Apple APIs for issuing certificates.<br>Unfortunately, in October 2024 <a href="https://support.apple.com/en-us/101601" title="">Apple discontinued this API</a> and so it was no longer possible to issue new APNs certificates for com.apple.mail, com.apple.calendar and com.apple.contact.</p>



<p class="wp-block-paragraph">Whilst it is annoying that we can&#8217;t provide push notifications to Apple users anymore thanks to these changes, this actually becomes a service affecting problem when these certificates expire as it causes any cPanel servers still using the old Calendar and Contacts Server (CCS) plugin (which behind the scenes is the old open source <a href="https://github.com/apple/ccs-calendarserver" title="">Apple/Darwin Calendar and Contacts Server</a>) to break as the &#8220;cpanel-ccs&#8221; service will stop and refuse to start with a message about the expired APNs certificates:</p>



<pre class="wp-block-code"><code>-- Unit cpanel-ccs.service has begun starting up.
Apr 22 17:57:34 myserverhostname.com ccs_init&#91;24103]: Using /opt/cpanel-ccs/.develop/virtualenv/bin/python as Python
Apr 22 17:57:34 myserverhostname.com ccs_init&#91;24103]: Starting server...
Apr 22 17:57:34 myserverhostname.com ccs_init&#91;24103]: /opt/cpanel-ccs/bin/caldavd  -f /opt/cpanel-ccs/conf/caldavd-dev.plist -P caldav -t Combined
Apr 22 17:57:36 myserverhostname.com ccs_init&#91;24103]: Reading configuration from file: /opt/cpanel-ccs/conf/caldavd-dev.plist
Apr 22 17:57:36 myserverhostname.com ccs_init&#91;24103]: APNS certificate expired /var/cpanel/ssl/caldav_apns/cert.pem
Apr 22 17:57:36 myserverhostname.com systemd&#91;1]: cpanel-ccs.service: control process exited, code=exited status=1
Apr 22 17:57:36 myserverhostname.com systemd&#91;1]: Failed to start Apple Calendar Server.
-- Subject: Unit cpanel-ccs.service has failed</code></pre>



<p class="wp-block-paragraph">Frustratingly, cPanel doesn&#8217;t provide a way to remove an existing APNs certificate, only to install new ones&#8230; given that no new APNs certificates can be issued, this leaves us rather stuck!<br>Sadly this kind of lack of attention to detail for basic management tasks is common throughout cPanel.</p>



<p class="wp-block-paragraph">Even more frustratingly, cPanel seem to have removed all of their documentation about the APNs feature,  so the only evidence that it ever existed are some very old posts on their badly mangled forum.</p>



<p class="wp-block-paragraph">After a bit of poking around, I managed to find that you can manually remove the /var/cpanel/ssl/*apns/*.pem* certificate files and then update the CCS config in /opt/cpanel-ccs/conf/caldavd-dev.plist to remove any mention of them with the following commands:</p>



<pre class="wp-block-code"><code>rm -f /var/cpanel/ssl/*apns/*.pem*
/opt/cpanel-ccs/bin/rebuildccsconfig
systemctl restart cpanel-ccs.service</code></pre>



<p class="wp-block-paragraph">After this, the  &#8220;cpanel-ccs&#8221; service will run normally again so CalDAV and CardDAV services are restored for all users.</p>



<p class="wp-block-paragraph">The one last thing to do is go to Service Configuration -> Service Manager in WHM and disable &#8220;APNSPush&#8221; under &#8220;tailwatchd&#8221;.</p><p>The post <a href="https://www.spheron1.uk/2025/04/24/removing-apns-certificates-in-cpanel/">Removing APNs certificates in cPanel</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2025/04/24/removing-apns-certificates-in-cpanel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Changing the locale in Ubuntu Server</title>
		<link>https://www.spheron1.uk/2019/04/03/979/</link>
					<comments>https://www.spheron1.uk/2019/04/03/979/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Wed, 03 Apr 2019 19:58:48 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Ubuntu and Debian]]></category>
		<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[Apple macOS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=979</guid>

					<description><![CDATA[<p>When logging into any cPanel server via SSH from an Ubuntu jump server I was seeing some strange warnings from Perl which I didn&#8217;t see when logging in from my laptop running macOS: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = &#8220;C.UTF-8&#8221; are supported and installed on&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2019/04/03/979/">Changing the locale in Ubuntu Server</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">When logging into any cPanel server via SSH from an Ubuntu jump server I was seeing some strange warnings from Perl which I didn&#8217;t see when logging in from my laptop running macOS:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>perl: warning: Setting locale failed.<br> perl: warning: Please check that your locale settings:<br>     LANGUAGE = (unset),<br>     LC_ALL = (unset),<br>     LANG = &#8220;C.UTF-8&#8221;<br>     are supported and installed on your system.<br> perl: warning: Falling back to the standard locale (&#8220;C&#8221;).<br> perl: warning: Setting locale failed.<br> perl: warning: Please check that your locale settings:<br>     LANGUAGE = (unset),<br>     LC_ALL = (unset),<br>     LANG = &#8220;C.UTF-8&#8221;<br>     are supported and installed on your system.<br> perl: warning: Falling back to the standard locale (&#8220;C&#8221;).<br> perl: warning: Setting locale failed.<br> perl: warning: Please check that your locale settings:<br>     LANGUAGE = (unset),<br>     LC_ALL = (unset),<br>     LANG = &#8220;C.UTF-8&#8221;<br>     are supported and installed on your system.<br> perl: warning: Falling back to the standard locale (&#8220;C&#8221;).</p></blockquote>



<p class="wp-block-paragraph">After a quick rummage, I found that the reason was that the &#8220;<em>LANG</em>&#8221; environment variable on my laptop was defaulting to &#8220;en_GB.UTF-8&#8221;, whilst on the Ubuntu jump server it was &#8220;C.UTF-8&#8221;.<br></p>



<p class="wp-block-paragraph">The cPanel server runs some Perl stuff when bash starts and if it doesn&#8217;t like your locale settings, then it spits out these warnings.<br></p>



<p class="wp-block-paragraph">The &#8220;<em>LANG</em>&#8221; environment variable is part of the locale system and so the best way to fix this is to update the locale settings configured on the Ubuntu jump server.</p>



<p class="wp-block-paragraph">By default, SSH on both macOS and Ubuntu is configured to send the local &#8220;<em>LANG&#8221;</em> and &#8220;<em>LC_*&#8221;</em> environment variables used for locale settings to the remote system.</p>



<p class="wp-block-paragraph">You can use the &#8220;<em>locale</em>&#8221; command to see your current locale settings as well as &#8220;<em>locale -a</em>&#8221; to see installed locales.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>$ locale<br> LANG=C.UTF-8<br> LANGUAGE=<br> LC_CTYPE=&#8221;C.UTF-8&#8243;<br> LC_NUMERIC=&#8221;C.UTF-8&#8243;<br> LC_TIME=&#8221;C.UTF-8&#8243;<br> LC_COLLATE=&#8221;C.UTF-8&#8243;<br> LC_MONETARY=&#8221;C.UTF-8&#8243;<br> LC_MESSAGES=&#8221;C.UTF-8&#8243;<br> LC_PAPER=&#8221;C.UTF-8&#8243;<br> LC_NAME=&#8221;C.UTF-8&#8243;<br> LC_ADDRESS=&#8221;C.UTF-8&#8243;<br> LC_TELEPHONE=&#8221;C.UTF-8&#8243;<br> LC_MEASUREMENT=&#8221;C.UTF-8&#8243;<br> LC_IDENTIFICATION=&#8221;C.UTF-8&#8243;<br> LC_ALL=</p><p>$ locale -a<br>  C<br>  C.UTF-8<br>  POSIX<br>  en_US.utf8</p></blockquote>



<p class="wp-block-paragraph">In my case I wanted to use en_GB.utf8, which wasn&#8217;t installed. You can use the &#8220;<em>locale-gen</em>&#8221; command to generate locales, but they are also provided in official Ubuntu packages , so I installed the &#8220;<em>language-pack-en</em>&#8221; package from the Ubuntu repositories using APT.<br>This added several English locales and then I could reconfigure Ubuntu to use the one that I needed.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>$ apt-get install language-pack-en<br> Reading package lists… Done<br> Building dependency tree<br> Reading state information… Done<br> The following additional packages will be installed:<br>   language-pack-en-base<br> The following NEW packages will be installed:<br>   language-pack-en language-pack-en-base<br> 0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.<br> Need to get 420 kB of archives.<br> After this operation, 3756 kB of additional disk space will be used.<br> Do you want to continue? [Y/n] y<br> Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 language-pack-en-base all 1:18.04+20180712 [419 kB]<br> Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 language-pack-en all 1:18.04+20180712 [1904 B]<br> Fetched 420 kB in 0s (3606 kB/s)<br> Selecting previously unselected package language-pack-en-base.<br> (Reading database … 50814 files and directories currently installed.)<br> Preparing to unpack …/language-pack-en-base_1%3a18.04+20180712_all.deb …<br> Unpacking language-pack-en-base (1:18.04+20180712) …<br> Selecting previously unselected package language-pack-en.<br> Preparing to unpack …/language-pack-en_1%3a18.04+20180712_all.deb …<br> Unpacking language-pack-en (1:18.04+20180712) …<br> Setting up language-pack-en (1:18.04+20180712) …<br> Setting up language-pack-en-base (1:18.04+20180712) …<br> Generating locales (this might take a while)…<br>   en_AG.UTF-8… done<br>   en_AU.UTF-8… done<br>   en_BW.UTF-8… done<br>   en_CA.UTF-8… done<br>   en_DK.UTF-8… done<br>   en_GB.UTF-8… done<br>   en_HK.UTF-8… done<br>   en_IE.UTF-8… done<br>   en_IL.UTF-8… done<br>   en_IN.UTF-8… done<br>   en_NG.UTF-8… done<br>   en_NZ.UTF-8… done<br>   en_PH.UTF-8… done<br>   en_SG.UTF-8… done<br>   en_ZA.UTF-8… done<br>   en_ZM.UTF-8… done<br>   en_ZW.UTF-8… done<br> Generation complete.</p><p>$ locale -a<br>  C<br>  C.UTF-8<br>  en_AG<br>  en_AG.utf8<br>  en_AU.utf8<br>  en_BW.utf8<br>  en_CA.utf8<br>  en_DK.utf8<br>  en_GB.utf8<br>  en_HK.utf8<br>  en_IE.utf8<br>  en_IL<br>  en_IL.utf8<br>  en_IN<br>  en_IN.utf8<br>  en_NG<br>  en_NG.utf8<br>  en_NZ.utf8<br>  en_PH.utf8<br>  en_SG.utf8<br>  en_US.utf8<br>  en_ZA.utf8<br>  en_ZM<br>  en_ZM.utf8<br>  en_ZW.utf8<br>  POSIX<br> $ update-locale LANG=en_GB.utf8</p></blockquote>



<p class="wp-block-paragraph">The locale settings are stored in &#8220;<em>/etc/default/locale</em>&#8220;, so you can either edit this file manually or use the handy &#8220;<em>update-locale</em>&#8221; utility to do it for you.<br>Either way, once you start a new session, you are using the new locale settings and Perl no longer complains when you SSH to a cPanel server.</p><p>The post <a href="https://www.spheron1.uk/2019/04/03/979/">Changing the locale in Ubuntu Server</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2019/04/03/979/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>cPanel 54</title>
		<link>https://www.spheron1.uk/2015/10/16/cpanel-54/</link>
					<comments>https://www.spheron1.uk/2015/10/16/cpanel-54/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Fri, 16 Oct 2015 12:21:28 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=815</guid>

					<description><![CDATA[<p>Yesterday cPanel laid out the upcoming changes in cPanel 11.54, or just cPanel 54 as it&#8217;s now known (see http://blog.cpanel.com/whats-next-for-cpanel-whm). Whilst light on any details, there are at least some interesting tidbits. The new versioning system This makes very little real world difference, but I can&#8217;t help but feel like they&#8217;re following Google Chrome and Mozilla Firefox in a race&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2015/10/16/cpanel-54/">cPanel 54</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Yesterday cPanel laid out the upcoming changes in cPanel 11.54, or just cPanel 54 as it&#8217;s now known (see http://blog.cpanel.com/whats-next-for-cpanel-whm). Whilst light on any details, there are at least some interesting tidbits.</p>
<p><strong>The new versioning system</strong><br />
This makes very little real world difference, but I can&#8217;t help but feel like they&#8217;re following Google Chrome and Mozilla Firefox in a race to have the largest possible version number!</p>
<p><strong>X3 being retired</strong><br />
Finally! X3 is an absolutely horrible theme which provides a truly terrible experience for users and I&#8217;ll be glad to see the back of it at long last!</p>
<p><strong>Paper Lantern becoming the only choice</strong><br />
Hopefully with Paper Lantern becoming the only cPanel user interface (and dropping the silly &#8220;Paper Lantern&#8221; name!), it will start to move away from just being a tarted up version of X3 with some nicer icons and towards a more friendly, usable interface which doesn&#8217;t just feel the need to dump everything on one page!</p>
<p><strong>cPassword, OpenID Connect and 2FA</strong><br />
I&#8217;ve got mixed feelings about this &#8211; the new cPassword interface sounds like a great idea, but the OpenID Connect feature sounds like a security nightmare, particularly with the default service being hosted externally on cPanel.com. At least we&#8217;re going to have the option of replacing it with our own backend (as well as being able to disable it altogether, hopefully!).<br />
That said, Two factor authentication is a great addition, although I suspect that we are going to see more support tickets as people lose their phones etc. and lock themselves out of their hosting!</p>
<p><strong>IPv6 only</strong><br />
cPanel were massively behind the game when it came to adding full IPv6 support, so it&#8217;s good to see them adding the ability to run completely without IPv4 now, particularly given the recent IPv4 exhaustion at ARIN.</p>
<p><strong>Nginx front end</strong><br />
Good to see cPanel finally starting to catch up with Odin Plesk on this one! Hopefully we&#8217;ll see support for more complex configurations in future versions.</p>
<p><strong>Directory Syncing</strong><br />
This could be quite useful depending on how it&#8217;s implemented. I suspect that it will be some form of asynchronous rsync based system, possibly with FTP and/or inode based hooks. Hopefully it won&#8217;t just be a periodic cron job task!</p>
<p><strong>EasyApache 4</strong><br />
Hopefully EasyApache 4 will move towards using the operating system package management (RPM and YUM) for Apache and PHP, instead of insisting on needlessly compiling everything from scratch. This is one of my biggest pet peeves with cPanel at the moment &#8211; it adds needlessly complexity to system administration, makes simple tasks like adding an Apache module or PHP extension slow and laborious and even makes installing cPanel pointlessly time consuming. If they have finally caught up with how the rest of the world has been working for the past decade (or more) then it will be great news!</p>
<p><strong>Courier support finally being dropped</strong><br />
Dovecot beats Courier hands down, so it makes sense to stop supporting Courier and move everyone over to Dovecot. There really is little point in spending the extra development effort support two mail servers, so I&#8217;m a bit surprised that it has taken this long.<br />
I wonder if we&#8217;ll continue to see support for both ProFTPD and Pure-FTPd as well as BIND/named, NSD and MyDNS in future or if they will also move those towards only supporting a single daemon.</p><p>The post <a href="https://www.spheron1.uk/2015/10/16/cpanel-54/">cPanel 54</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2015/10/16/cpanel-54/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>cPanel breaking Dovecot in 11.40</title>
		<link>https://www.spheron1.uk/2014/01/02/cpanel-breaking-dovecot-in-11-40/</link>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Thu, 02 Jan 2014 22:56:59 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Dovecot]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=675</guid>

					<description><![CDATA[<p>Recently I&#8217;ve had a couple of cases where cPanel randomly breaks Dovecot with one of the cPanel 11.40.x updates. In one of these cases, cPanel actually uninstalled the Dovecot RPM as part of the automated, overnight upcp process! In the other cases, Dovecot was still running and accepting connections, but POP3/IMAP clients were getting messages that their passwords were wrong.&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2014/01/02/cpanel-breaking-dovecot-in-11-40/">cPanel breaking Dovecot in 11.40</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Recently I&#8217;ve had a couple of cases where cPanel randomly breaks Dovecot with one of the cPanel 11.40.x updates.</p>
<p>In one of these cases, cPanel actually uninstalled the Dovecot RPM as part of the automated, overnight upcp process! In the other cases, Dovecot was still running and accepting connections, but POP3/IMAP clients were getting messages that their passwords were wrong.</p>
<p>Reinstalling Dovecot if upcp has decided to remove it for some reason is quite simple &#8211; just use the cPanel script to check and repair their RPMs:</p>
<blockquote><p>/scripts/check_cpanel_rpms &#8211;fix</p></blockquote>
<p>Whilst the Dovecot RPM is now installed, chances are that Dovecot is still left in a broken state with any login attempt failing and messages like this in /var/log/maillog:</p>
<blockquote><p>dovecot: auth: Fatal: execv(/usr/local/cpanel/bin/dovecot-wrap) failed: Permission denied</p></blockquote>
<p>If you look at the ownership and permissions on /usr/local/cpanel/bin/dovecot-wrap, you&#8217;ll find that it&#8217;s root:root instead of root:dovecot and so you need to run the following in order to fix the ownership:</p>
<blockquote><p>chgrp dovecot /usr/local/cpanel/bin/dovecot-wrap</p></blockquote>
<p>At this point, you won&#8217;t be seeing any of the permission errors in the maillog, but you&#8217;ll still be seeing failed authentication attempts. Now you want to trick cPanel into thinking that the RPM has been removed so that it will try and re-install it. This should mean that the scripts from the RPM are executed without replacing any of the files:</p>
<blockquote><p>rpm -e &#8211;nodeps &#8211;justdb dovecot<br />
/scripts/check_cpanel_rpms &#8211;fix </p></blockquote>
<p>If you are still having problems at this point, then try running the following to set the setuid flag for the owner on the script:</p>
<blockquote><p>chmod u+s /usr/local/cpanel/bin/dovecot-wrap</p></blockquote>
<p>Then you just need to re-run the above RPM trick and Dovecot should spring back into life with successful authentication attempts being logged into the maillog.</p>
<p>According to cPanel support, this is a &#8220;known issue&#8221; which has somehow made its way through the EDGE, CURRENT and RELEASE tiers into the STABLE tier&#8230;</p><p>The post <a href="https://www.spheron1.uk/2014/01/02/cpanel-breaking-dovecot-in-11-40/">cPanel breaking Dovecot in 11.40</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ImageMagick and PHP 5.4</title>
		<link>https://www.spheron1.uk/2013/09/13/imagemagick-and-php-5-4/</link>
					<comments>https://www.spheron1.uk/2013/09/13/imagemagick-and-php-5-4/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Fri, 13 Sep 2013 20:38:28 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[PEAR]]></category>
		<category><![CDATA[PECL]]></category>
		<category><![CDATA[PHP 5.4]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=651</guid>

					<description><![CDATA[<p>When building the PHP imagick module for ImageMagick on a server running PHP 5.4 (a cPanel/WHM box in this case), you receive the following error: /root/tmp/pear/imagick/imagick_class.c: In function &#8216;zim_imagick_setfont&#8217;: /root/tmp/pear/imagick/imagick_class.c:1442: error: &#8216;struct _php_core_globals&#8217; has no member named &#8216;safe_mode&#8217; /root/tmp/pear/imagick/imagick_class.c:1442: error: &#8216;CHECKUID_CHECK_FILE_AND_DIR&#8217; undeclared (first use in this function) /root/tmp/pear/imagick/imagick_class.c:1442: error: (Each undeclared identifier is reported only once /root/tmp/pear/imagick/imagick_class.c:1442: error: for each&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2013/09/13/imagemagick-and-php-5-4/">ImageMagick and PHP 5.4</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>When building the PHP imagick module for ImageMagick on a server running PHP 5.4 (a cPanel/WHM box in this case), you receive the following error:</p>
<blockquote><p>/root/tmp/pear/imagick/imagick_class.c: In function &#8216;zim_imagick_setfont&#8217;:<br />
/root/tmp/pear/imagick/imagick_class.c:1442: error: &#8216;struct _php_core_globals&#8217; has no member named &#8216;safe_mode&#8217;<br />
/root/tmp/pear/imagick/imagick_class.c:1442: error: &#8216;CHECKUID_CHECK_FILE_AND_DIR&#8217; undeclared (first use in this function)<br />
/root/tmp/pear/imagick/imagick_class.c:1442: error: (Each undeclared identifier is reported only once<br />
/root/tmp/pear/imagick/imagick_class.c:1442: error: for each function it appears in.)<br />
/root/tmp/pear/imagick/imagick_class.c:1442: error: &#8216;CHECKUID_NO_ERRORS&#8217; undeclared (first use in this function)<br />
/root/tmp/pear/imagick/imagick_class.c: In function &#8216;zim_imagick_setimageprogressmonitor&#8217;:<br />
/root/tmp/pear/imagick/imagick_class.c:9534: error: &#8216;struct _php_core_globals&#8217; has no member named &#8216;safe_mode&#8217;<br />
/root/tmp/pear/imagick/imagick_class.c:9534: error: &#8216;CHECKUID_CHECK_FILE_AND_DIR&#8217; undeclared (first use in this function)<br />
/root/tmp/pear/imagick/imagick_class.c:9534: error: &#8216;CHECKUID_NO_ERRORS&#8217; undeclared (first use in this function)<br />
make: *** [imagick_class.lo] Error 1<br />
ERROR: `make&#8217; failed</p></blockquote>
<p>The solution is to install the beta version of the module instead:</p>
<blockquote><p>pear config-set preferred_state beta<br />
pecl install imagick</p></blockquote><p>The post <a href="https://www.spheron1.uk/2013/09/13/imagemagick-and-php-5-4/">ImageMagick and PHP 5.4</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2013/09/13/imagemagick-and-php-5-4/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Remove CDP 2.0 cPanel integration</title>
		<link>https://www.spheron1.uk/2011/06/19/remove-cdp-2-0-cpanel-integration/</link>
					<comments>https://www.spheron1.uk/2011/06/19/remove-cdp-2-0-cpanel-integration/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Sun, 19 Jun 2011 18:05:05 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[R1Soft CDP]]></category>
		<category><![CDATA[CDP]]></category>
		<category><![CDATA[CDP 2.0]]></category>
		<category><![CDATA[CDP 3.0]]></category>
		<category><![CDATA[CDP Advanced Edition]]></category>
		<category><![CDATA[CDP Enterprise Edition]]></category>
		<category><![CDATA[CDP Server]]></category>
		<category><![CDATA[CDP Standard Edition]]></category>
		<category><![CDATA[CDP2]]></category>
		<category><![CDATA[CDP2.0]]></category>
		<category><![CDATA[CDP3]]></category>
		<category><![CDATA[CDP3.0]]></category>
		<category><![CDATA[Continuous Data Protection]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[R1Soft]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=424</guid>

					<description><![CDATA[<p>A handy feature of R1Soft CDP Server 2.0 (now known as Enterprise Edition) is that it can integrate with cPanel so that your users can restore their own files from your backups using a self service interface. If you want to remove this integration for any reason, then R1Soft provide a BASH shell script to do this for you: /usr/lib/buagent/control-panels/cpanel/remove-cpanel-integration.sh&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2011/06/19/remove-cdp-2-0-cpanel-integration/">Remove CDP 2.0 cPanel integration</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>A handy feature of R1Soft CDP Server 2.0 (now known as Enterprise Edition) is that it can integrate with cPanel so that your users can restore their own files from your backups using a self service interface. If you want to remove this integration for any reason, then R1Soft provide a BASH shell script to do this for you:</p>
<blockquote><p>/usr/lib/buagent/control-panels/cpanel/remove-cpanel-integration.sh
</p></blockquote>
<p>This script doesn&#8217;t always work for one reason or another, so the other way of doing this is to manually call the cPanel plugin uninstaller:</p>
<blockquote><p>/usr/local/cpanel/bin/unregister_cpanelplugin  /var/cpanel/registered_cpanelplugins/righteousbackup
</p></blockquote>
<p>This is particularly helpful if you forgot to uninstall the cPanel integration before upgrading to R1Soft CDP 3.0 or thought that the r1soft-uninstall-buagent utility would do it for you when removing the R1Soft CDP 2.0 agent (unfortunately it doesn&#8217;t, but it does helpfully remove the remove-cpanel-integration.sh script).</p>
<p>Unfortunately the cPanel integration in R1Soft CDP 3.0 is severely lacking compared to R1Soft CDP 2.0 and in my opinion is virtually useless in it&#8217;s current form.</p>
<p>As the control panel integration system is a pretty new feature in R1Soft CDP 3.0 (it was missing entirely from the initial release), hopefully it will be bolstered in subsequent R1Soft CDP 3.0 releases to restore it to the same level of functionality as was formerly available in R1Soft CDP 2.0.</p><p>The post <a href="https://www.spheron1.uk/2011/06/19/remove-cdp-2-0-cpanel-integration/">Remove CDP 2.0 cPanel integration</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2011/06/19/remove-cdp-2-0-cpanel-integration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>cPanel root partition space warning disabling operation of some features in WHM</title>
		<link>https://www.spheron1.uk/2011/02/03/cpanel-root-partition-space-warning-disabling-operation-of-some-features-in-whm/</link>
					<comments>https://www.spheron1.uk/2011/02/03/cpanel-root-partition-space-warning-disabling-operation-of-some-features-in-whm/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Thu, 03 Feb 2011 21:15:51 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=345</guid>

					<description><![CDATA[<p>If you manage to accidentally fill up the root partition on your cPanel/WHM server, then WHM helpfully disables some features such as creating and terminating (deleting) accounts so that you don&#8217;t end up with half of an account. You will see a message something along the lines of this in WHM when attempting a restricted function: The / partition on&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2011/02/03/cpanel-root-partition-space-warning-disabling-operation-of-some-features-in-whm/">cPanel root partition space warning disabling operation of some features in WHM</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>If you manage to accidentally fill up the root partition on your cPanel/WHM server, then WHM helpfully disables some features such as creating and terminating (deleting) accounts so that you don&#8217;t end up with half of an account. You will see a message something along the lines of this in WHM when attempting a restricted function:</p>
<blockquote><p>The / partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. </p></blockquote>
<p>Annoyingly, WHM doesn&#8217;t notice as soon as you free up some disk space, so not only can you not carry out some essential maintenance tasks until WHM next checks the free disk space but any of your customers with access to WHM (such as resellers) might come across this potentially embarrassing message!</p>
<p>cPanel stores a cache of it&#8217;s disk space calculation (basically the output of df) in &#8220;<em>/root/.cpanel/datastore/_bin_df_-P_-k_-l</em>&#8221; so you can either regenerate this file with the /usr/local/cpanel/bin/build_global_cache script, or alternatively just move/delete this file to get WHM back to normal operation.</p><p>The post <a href="https://www.spheron1.uk/2011/02/03/cpanel-root-partition-space-warning-disabling-operation-of-some-features-in-whm/">cPanel root partition space warning disabling operation of some features in WHM</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2011/02/03/cpanel-root-partition-space-warning-disabling-operation-of-some-features-in-whm/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>cPanel Native SSL support failed error</title>
		<link>https://www.spheron1.uk/2010/12/31/cpanel-native-ssl-support-failed-error/</link>
					<comments>https://www.spheron1.uk/2010/12/31/cpanel-native-ssl-support-failed-error/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Fri, 31 Dec 2010 17:15:07 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[ExtUtils]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=341</guid>

					<description><![CDATA[<p>If your cPanel/WHM install randomly sends you an e-mail one day along the lines of: Native SSL support failed to pass the startup test. stunnel was started instead. The exact error was: [linktest=/usr/local/cpanel/bin/linktest-ssl: error while loading shared libraries: /usr/local/cpanel/perl/Net/SSLeay/SSLeay.so: cannot open shared object file: No such file or directory ] [binary=/usr/local/cpanel/cpsrvd-ssl] [cpsrvd=/usr/local/cpanel/cpsrvd-ssl: error while loading shared libraries: /usr/local/cpanel/perl/Net/SSLeay/SSLeay.so: cannot open&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2010/12/31/cpanel-native-ssl-support-failed-error/">cPanel Native SSL support failed error</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>If your cPanel/WHM install randomly sends you an e-mail one day along the lines of:</p>
<blockquote><p>Native SSL support failed to pass the startup test.  stunnel was started instead.<br />
	The exact error was: [linktest=/usr/local/cpanel/bin/linktest-ssl: error while loading shared libraries: /usr/local/cpanel/perl/Net/SSLeay/SSLeay.so: cannot open shared object file: No such file or directory<br />
] [binary=/usr/local/cpanel/cpsrvd-ssl] [cpsrvd=/usr/local/cpanel/cpsrvd-ssl: error while loading shared libraries: /usr/local/cpanel/perl/Net/SSLeay/SSLeay.so: cannot open shared object file: No such file or directory<br />
]</p>
<p>You should attempt run /usr/local/cpanel/bin/nativessl-install or submit a support request at https://tickets.cpanel.net/submit/</p></blockquote>
<p>Then hopefully the following will restore it to it&#8217;s previous working state:</p>
<blockquote><p>perl -MCPAN -e &#8216;install ExtUtils::Install&#8217;<br />
/usr/local/cpanel/bin/nativessl-install</p></blockquote>
<p>I have no idea what causes this or why /scripts/checkperlmodules doesn&#8217;t flag the ExtUtils::Install Perl module as missing, but it seems to fix the problem even when using perl588installer.tar.gz from layer1.cpanel.net to re-install the cPanel provided version of Perl and associated CPAN modules doesn&#8217;t.</p><p>The post <a href="https://www.spheron1.uk/2010/12/31/cpanel-native-ssl-support-failed-error/">cPanel Native SSL support failed error</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2010/12/31/cpanel-native-ssl-support-failed-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>cPanel/WHM and yum-updatesd</title>
		<link>https://www.spheron1.uk/2010/03/15/cpanelwhm-and-yum-updatesd/</link>
					<comments>https://www.spheron1.uk/2010/03/15/cpanelwhm-and-yum-updatesd/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Mon, 15 Mar 2010 21:49:46 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[WHM]]></category>
		<category><![CDATA[yum-updatesd]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=38</guid>

					<description><![CDATA[<p>In my continuing fight with yum-updatesd, I found that on servers with cPanel/WHM installed it was crashing with mysterious Python errors: root@tma03 [/etc/yum]# yum-updatesd &#8211;debug &#8211;no-fork Traceback (most recent call last): File &#8220;/usr/sbin/yum-updatesd&#8221;, line 35, in ? import dbus File &#8220;/usr/lib64/python2.4/site-packages/dbus/__init__.py&#8221;, line 1, in ? from _dbus import * File &#8220;/usr/lib64/python2.4/site-packages/dbus/_dbus.py&#8221;, line 48, in ? from proxies import * File&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2010/03/15/cpanelwhm-and-yum-updatesd/">cPanel/WHM and yum-updatesd</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>In my continuing fight with yum-updatesd, I found that on servers with cPanel/WHM installed it was crashing with mysterious Python errors:</p>
<blockquote><p>root@tma03 [/etc/yum]# yum-updatesd &#8211;debug &#8211;no-fork<br />
Traceback (most recent call last):<br />
  File &#8220;/usr/sbin/yum-updatesd&#8221;, line 35, in ?<br />
    import dbus<br />
  File &#8220;/usr/lib64/python2.4/site-packages/dbus/__init__.py&#8221;, line 1, in ?<br />
    from _dbus import *<br />
  File &#8220;/usr/lib64/python2.4/site-packages/dbus/_dbus.py&#8221;, line 48, in ?<br />
    from proxies import *<br />
  File &#8220;/usr/lib64/python2.4/site-packages/dbus/proxies.py&#8221;, line 2, in ?<br />
    import introspect_parser<br />
  File &#8220;/usr/lib64/python2.4/site-packages/dbus/introspect_parser.py&#8221;, line 1, in ?<br />
    import libxml2<br />
  File &#8220;/usr/lib64/python2.4/site-packages/libxml2.py&#8221;, line 215<br />
    pass<br />
       ^<br />
TabError: inconsistent use of tabs and spaces in indentation</p></blockquote>
<p>In the end, I fixed this by forcing a re-install of the dbus-python and libxml2-python RPMs from the official CentOS mirrors. In my case, this was:</p>
<blockquote><p>rpm &#8211;force -hUv <a href="http://mirrors.freethought-internet.co.uk/centos/5/os/x86_64/CentOS/dbus-python-0.70-7.el5.x86_64.rpm">http://mirrors.freethought-internet.co.uk/centos/5/os/x86_64/CentOS/dbus-python-0.70-7.el5.x86_64.rpm</a> <a href="http://mirrors.freethought-internet.co.uk/centos/5/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.8.x86_64.rpm">http://mirrors.freethought-internet.co.uk/centos/5/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.8.x86_64.rpm</a><br />
</span></p></blockquote>
<p>Adjust using your mirrors, distribution, version, architecture and RPM revision as appropriate.<br />
Also, always remember to check for updates after manually re-installing RPMs from the OS repository.</p>
<p>I have no idea what cPanel/WHM does to break Python like this or if updates to cPanel are going to break yum-updatesd again in the future, but I have fixed this on several cPanel 11.25 boxes now!<br />
I know cPanel likes to mess with system files, but these RPMs aren&#8217;t in the exclude list that the cPanel installer adds to /etc/yum.conf and forcing a re-installation of them seems to fix yum-updatesd.</p><p>The post <a href="https://www.spheron1.uk/2010/03/15/cpanelwhm-and-yum-updatesd/">cPanel/WHM and yum-updatesd</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2010/03/15/cpanelwhm-and-yum-updatesd/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 0/168 objects using Redis
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching using Redis

Served from: spheron1.uk @ 2026-07-01 11:35:43 by W3 Total Cache
-->