• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Roundcube and Enigma

psyche699

New Pleskian
Hello all

i have a problem, with Enigma for Roundcube, of courses.

Code:
Application Error (600): Enigma plugin: Keys directory isn't writeable: /usr/share/psa-roundcube/plugins/enigma/home

I change the directory for other with a chmod 777, but have the same problem.

How to fix that ?

Thanks
 
Hmm... I have reproduced this issue, but after

# chmod 777 /usr/share/psa-roundcube/plugins/enigma/home

all works fine for me.
 
Hello

Thanks you IgorG.

Yes is my first test.. but is not work for me... and i restart httpd and nginx after change the chmod.

I tested to install a roundcube in directory vhost/mydomain.com/httpdocs/roundcube
But is not find th binary gpg...
I dont know why...

Awww.. i really need that..
 
New test:

So I installed a roundcube in my website space.

I activate the plugin enigma.
And i have this error

Application Error (600): Enigma plugin: GPG binary not found. If you are sure the GPG binary is installed, please specify the GPG binary using the 'binary' driver option.

So, i test to import the pgp certificate.
And here, have the same problem before:

SERVICE CURRENTLY NOT AVAILABLE!
Error No. [600]


It's strange !!
 
I restart and update my server...

and now have a big problem :

Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

Impossible to restart a httpd...
 
Hi psyche699,

you might have SELinux enabled on your system and therefore the folder ( and its files ) "/usr/share/psa-roundcube/plugins/enigma/home" should be owned by your apache - group ( the name might vary, depending to YOUR used operating system!!! ) and the system - user root.

chown -R root:apache /usr/share/psa-roundcube/plugins/enigma/home
chmod -R g+w /usr/share/psa-roundcube/plugins/enigma/home
 
Hi UFHH01

Okay, I began to understand ...
I tested is command yesterday :
chown -R root:apache /usr/share/psa-roundcube/plugins/enigma/home

But, only that.. is not work.

I juste test your command :
chmod -R g+w /usr/share/psa-roundcube/plugins/enigma/home
But this line is create a error :
chmod: cannot access ‘/usr/share/psa-roundcube/plugins/enigma/home’: No such file or directory

So, I went into the enigma folder.
And I made this command:
chmod -R g+w home/
No mistake.
In doubt I re-ordered complete:
chmod -R g+w /usr/share/psa-roundcube/plugins/enigma/home
no mistake.

but dont work...
Application Error (600): Enigma plugin: Keys directory isn't writeable: /usr/share/psa-roundcube/plugins/enigma/home

So, i look all user on my system ( Centos 7.2 )
I searched for a user with the rights in this folder.
I reapplied them
Unfortunately, not work.


So i tested this :
nano /etc/sysconfig/selinux

Code:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=permissive

I reboot the server....

and..

IS WORK :D

But, is not good security to change the selinux on permissive, right ?

Thanks
 
Have a new problem

I generate the key, with my password.
I test to send a mail :
I insert the password, and .... I re-type my password.. and once again... again... again..
The password does not register ... Why? Have you had this problem?
 
Back
Top