Mail and FTP server settings updated incorrectly by cPanel

  • Post author:
  • Post category: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!!

(more…)

Continue ReadingMail and FTP server settings updated incorrectly by cPanel

Database Name Prefix #mysql50#

  • Post author:
  • Post category:MySql

 

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)

(more…)

Continue ReadingDatabase Name Prefix #mysql50#

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.

(more…)

Continue ReadingUpdate 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

(more…)

Continue ReadingUseful Linux Networking Commands – Part 1