WordPress 3.5 and DSO error

It appears that when a server is running DSO as the PHP handler and if a WordPress 3.5 update is needed, the maintenance file is written with ownership as user.user during the upgrade process. This may prevent the file from being removed correctly once the upgrade had completed.

The page will display:

Briefly unavailable for scheduled maintenance. Check back in a minute.

In order to repair this, log on to the server, and go to the DocumentRoot:

cd /home/user/public_html
mv .maintenance file .maintenance.save

Clear your browsers cache and the site should then load correctly. After, there is a theme update for Twenty Twelve. Go ahead and run that.

Google secure connection (SSL) and cPanel email issues

As of December 12th 2012, Google is no longer allowing secure connections to servers with self signed SSL’s. This simply means if a client checks a cpanel email account from gmail, (assuming they have forwarding setup) they may run into errors stating the SSL connection is not allowed. There appears to be two fixes, either turn off “Always use a secure connection” or buy a host ssl.

Below is a link to the article from Gmail:

http://support.google.com/mail/bin/answer.py?hl=en&answer=21291&ctx=gmail

Install Cloudlinux in cPanel

PREPARATION

  • Obtain the Cloud Linux License from manage2.cpanel.net
  • Obtain permission from the customer to reboot the server.
  •   

    In cPanel:

    /usr/local/cpanel/cpkeyclt
    /usr/local/cpanel/bin/cloudlinux_system_install -k

    ~Possible error: Might see "Yum error: Plugins are disabled".

    ~Add "plugins=1" to /etc/yum.conf and try again.
    echo "plugins=1" >> /etc/yum.conf that should do the trick

    shutdown -ar now

    ~When its back up rebuild apache.

    /usr/local/cpanel/scripts/easyapache --build

      
    3rd party license

    wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cpanel2cl
    sh cpanel2cl -k $key
    ~Replace $key with your license key.
    reboot
    /scripts/easyapache --build

      

    Continue reading “Install Cloudlinux in cPanel”

    mod_cloudflare and mod_cloudflare cpan

    mod_cloudflare

    When using Cloudflare, in order to retrieve the actual visitors IP that connect to your server, you must install mod_cloudflare. Normally when using Cloudflare, all of the IP’s that connect to your web server will come from a Cloudflare IP address. mod_cloudflare is an Apache module that forces Apache to log actual visitor IP addresses instead of cloudflare server IP’s. It can be installed on servers running cPanel, using the following commands:

    cd /usr/local/src
    wget --no-check-certificate http://github.com/cloudflare/CloudFlare-Tools/raw/master/mod_cloudflare.c
    apxs -a -i -c mod_cloudflare.c
    service httpd restart
    /usr/local/cpanel/bin/apache_conf_distiller --update

    Continue reading “mod_cloudflare and mod_cloudflare cpan”