cPanel 11.36.0.2 and CSF issues

 
From configserver.com

cPanel v11.36 has now entered the CURRENT tree and you will notice that most of your addon perl scripts failing. You can resolve this easily with our addons by reinstalling them. We have provided a simple script that can do this for you that we posted previously. This has to be done regardless as to whether you are running the latest versions:

This script will update: cmm, cmc, cmq, cse, csf, cxs, msinstall, msfe

Only those scripts that are already installed will be updated. Those that are updated are done so regardless as to whether they are the same or an older version of those available.

To use this method you must be logged into root via SSH to the server and then run:

curl -s configserver.com/free/csupdate | perl

You should take care to read through the output to ensure that all the upgrades have worked as expected. If a perl script that was working before the upgrade is now failing try this. We recommend option 1:

cpanel.net/prepare-your-perl-scripts-for-11-36/

#!/bin/sh
eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"}; else exec /usr/bin/perl -x $0 ${1+"$@"}; fi;'
if 0;

#!/usr/bin/perl

Ideally you should update your OS perl modules to support your specific application.

Mail and FTP server settings updated incorrectly by cPanel

 
Hello interwebers!

Recently, we saw a number of issues regarding a failed cPanel upgrade that involved the Mail and FTP server. It looks like an incorrect value was updated in the cpanel.config file for the mail server and FTP server. In order to correct this:

1) Login to WHM
2) Change mail server to something other than what it is currently and then save
3) Change it back to the original mail server setting and save
4) Change FTP server to something other than what it is on and save
5) Change it back to original ftp server setting and save
6) Kick off /scripts/upcp in a screen on the server
7) ?????
8) PROFIT!!

Continue reading “Mail and FTP server settings updated incorrectly by cPanel”

Database Name Prefix #mysql50#

 

We recently ran into an issue in which after a migration, several of the clients db names were prepended with the #mysql50# prefix. The db names were formatted as: “#mysql50#dbname”, where it used to be just “dbname”. The clients previous version of MySQL was 5.0 and the new servers MySQL version was 5.1.
Evidently, the change was made internally by MySQL 5.1 because the data directory structure changed between MySQL versions.

To repair this issue, you can either change your queries to retrieve from the new db named “#mysql50#dbname” or you can run this query to upgrade the data directory structure.
(Assuming you have root access)

Continue reading “Database Name Prefix #mysql50#”

WordPress asking for ftp username and password on update

 
I had a client ask how to remove the request for the ftp username and password each time an wordpress update was requested. To remove this, just add the following information to your wp-config.php


define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', 'ftp.example.org:21');

voila! No more asky πŸ™‚

End of Life for cPanel & WHM 11.30

From cpanel.net

This is the notification of the End of Life for cPanel & WHM 11.30. The 18-month lifetime of cPanel & WHM 11.30 ends now. The last release of cPanel & WHM 11.30, being 11.30.8.0, will remain on our mirrors indefinitely. You may continue using this last release, however no updates for version 11.30 will be released going forward. Older releases of cPanel & WHM 11.30 will be removed from our mirrors.

cPanel strongly recommends that you migrate any existing installs of cPanel & WHM 11.30 to a newer version (either 11.32 or 11.34). If you have a server setup that complicates migrating to a newer version of cPanel & WHM, for example an out-of-date operating system, cPanel is here to help. Please open a support ticket via https://tickets.cpanel.net/submit/. Our professional support staff will help with recommendations, migration assistance and more.

For more detailed information visit cPanel End of Life docs.

From cpanel.net

Update Ruby On Rails

Update Ruby On Rails
Ruby on Rails has recently released patches for a critical security vulnerability affecting nearly all versions of Rails. It is critical that your Rails applications be updated to one of the following versions:
3.2.11
3.1.10
3.0.10
2.3.15
If you have a cPanel server, make sure you have cPanel’s daily updates running. cPanel versions
11.35.0.4
11.34.1.7
11.32.5.18
11.30.7.6
include the updated versions of Rails.

Continue reading “Update Ruby On Rails”

Useful Linux Networking Commands – Part 1

Someone recently asked me what some of the more useful linux networking commands are and what some of the implementations are. Here is a compiled list for some of those commands:

(click continue reading below first before using the links… long page is long)
 
1. netstat
2. ping
3. traceroute
4. mtr
5. whois
6. finger
7. iptables
8. host
9. nslookup
10. ss
11. route

In my next post, I will be going over 10 more useful linux networking commands. I will be touching on:
ifconfig, iwconfig, ethtool, arp, tcpdump, tracepath, nmap, telnet and dig

Continue reading “Useful Linux Networking Commands – Part 1”