Bobcares

For every $500 you spend, we will provide you with a $500 credit on your account*

BLACK FRIDAY SPECIAL EXTENSION

*The maximum is $4000 in credits, Offer valid till December 6th, 2024, New Customers Only, Credit will be applied after purchase and expires after six (6) months

For every $500 you spend, we will provide you with a $500 credit on your account*

BLACK FRIDAY SPECIAL EXTENSION

*The maximum is $4000 in credits, Offer valid till December 6th, 2024, New Customers Only, Credit will be applied after purchase and expires after six (6) months

Roundcube file_put_contents failed to open stream: Easy Fix

by | Feb 28, 2023

Let us look at the error Roundcube file_put_contents failed to open stream. With the support of our Plesk hosting support services at Bobcares we can give you a complete note on the causes and the resolution for the error.

Symptoms for Error: Roundcube file_put_contents failed to open stream

  • We can use the CentOS, RedHat, or CloudLinux to install Plesk Onyx 17.8.
  • When Roundcube webmail is utilized, the /var/log/httpd/error_log: has the following problems.

    Roundcube file_put_contents failed to open stream

  • SELinux is in the ‘Enforced’ mode:
    getenforce
    Enforcing

  • The /var/log/plesk-roundcube/sendmail file’s SELinux security context is:

    Roundcube file_put_contents failed to open stream

  • /var/log/audit/audit.log wuill have the error message given below:

    Cause and Resolution for the error

    Cause

    The security context type cron_log_t was assigned to Roundcube log files when it should have been var_log_t.

    Solution

      • Firstly we have to Connect to the server via SSH.
      • To set a valid SELinux type (var log t), use the following commands:

    Roundcube file_put_contents failed to open stream

  • Check that the modifications were correctly implemented:

Roundcube file_put_contents failed to open stream

[Need assistance with similar queries? We are here to help]

Conclusion

To sum up we have now seen the casues and the solutuion for the error Roundcube file_put_contents failed to open stream. With the support of our Plesk hosting support services we have gone through all of the steps to remove the error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.