Contact
Server Management & Server Support Services - ServerManagementPlus.com
server management plus sales chat
  • Server Management
    • cPanel Server Management
    • Plesk Server Management
    • DirectAdmin Server Management
    • Linux Server Management
    • 24Ă—7 Per Incident Support
    • SolusVM Server Management
  • FAQ
  • cPanel
  • Linux
  • Hosting Support
  • Services
  • About Us
  • Contact Us
  • Login

    Archive for month: June, 2014

    You are here: ServerManagementPlus » Blog » 2014 » June
    June 16, 2014
    16 Jun 2014

    Blank email after WHMCS upgrade to version 5.3.7

    On May 13th, 2014 WHMCS released new upgrade to version 5.3.7. And we have upgraded it on lots of sites during the past month. But there was bug in the update which made it send blank emails. To fix this

    1. Login to WHMCS as administrator
    2. Click on Setup -> General Settings -> Mail Tab
    3. In drop down Mail Encoding  change the value from 8bit to quoted-printable
    4. Now check if the mails are working properly and change it back to 8bit.
    0 Comments/
    Array Likes
    /0 Tweets/in Scripts
    June 14, 2014
    14 Jun 2014

    ModSecurity: Multipart parsing error: Multipart: Failed to create file: /root/tmp/

    mod-security-failed-create-file-root-tmp

    We rebuild the Apache with modsecurity 2.7.3 on one of the server. But for some reason all file uploads to the server started failing with “500 Internal Server Error”. And below errors started showing up in the logs on each file upload.

    [Sat Jun 14 15:04:09 2014] [error] [client xx.xx.xx.xx] ModSecurity: Multipart parsing error: Multipart: Failed to create file: /root/tmp/20140614-150409-U5vXyWcOy2QAB8KdxMEAAAAJ-file-QqYAdi [hostname "domain.com"] [uri "/upload.php"] [unique_id "U5vXyWcOy2QAB8KdxMEAAAAJ"]
    

    On looking at the error closely you will see that for some reason ModSecurity is using /root/tmp for temp data to process requests, but it cannot write there. I will not advise anyone giving Apache write access to /root. Instead we can change the upload file path setting in modsecurity. You can add below lines to Apache/ModSecurity configuration file to change the temp directory path.

    SecUploadDir /tmp
    SecTmpDir /tmp
    SecDataDir /tmp
    SecRequestBodyAccess On
    
    1 Comment/
    Array Likes
    /0 Tweets/in cPanel, Linux Server Support

    Last updated by Sreejit C at June 16, 2014.

    Recent Posts

    • Why you should move to CWP (CentOS WebPanel) instead of using cPanel
    • How query cache can cause performance problems?
    • How to upgrade MariaDB in Plesk CentOS 7
    • nconf stopped working after update to nagios 4
    • Upstream timed out (110: Connection timed out) while reading response header from upstream

    Recent Comments

    • MyLabuan Hosting on Why you should move to CWP (CentOS WebPanel) instead of using cPanel
    • Robbie Ferguson on nconf stopped working after update to nagios 4
    • Deonis on How to upgrade OpenSSH on CentOS 5
    • Luis on Create SUDO user in cPanel
    • Catalin Vasilescu on How to upgrade OpenSSH on CentOS 5

    Archives

    • December 2017
    • November 2017
    • October 2017
    • August 2017
    • August 2014
    • July 2014
    • June 2014
    • May 2014
    • March 2014
    • February 2014
    • January 2014
    • December 2013
    • November 2013
    • October 2013
    • August 2013
    • July 2013
    • June 2013
    • May 2013
    • March 2013
    • February 2013

    Categories

    • cPanel
    • Linux Server Support
    • Nginx
    • Plesk
    • Scripts
    • Virtualization
    • Windows Server Support

    Latest Posts

    • Why you should move to CWP (CentOS WebPanel) instead of using cPanel
    • How query cache can cause performance problems?
    • How to upgrade MariaDB in Plesk CentOS 7
    • nconf stopped working after update to nagios 4
    • Upstream timed out (110: Connection timed out) while reading response header from upstream

    Server Management

    • cPanel Server Management
    • Plesk Server Management
    • DirectAdmin Server Management
    • Linux Server Management

    SSL Certificate

    ©Copyright 2012 - 2018 ServerManagementPlus
    • Risk free trial
    • Satisfaction Guarantee
    • Blog
    • Terms Of Service
    • Privacy Policy
    X
    Special Offer : cPanel Server Management Just for $9.99 per month
    View Details