Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
There is some additional documentation required when installing Maxscale 2.4.2 on CentOS 7
$ yum -y install maxscale-2.4.2-1.centos.7.x86_64 |
$ maxkeys
|
$ maxpasswd my-maxscale-plaintext-password
|
Output from maxpasswd is placed in the /etc/maxscale.cnf file
The problem is that the /var/lib/maxscale/.secrets file is created as owned by the user who ran the commands rather than maxscale.
This leads to the following error when starting MaxScale:
Access for secrets file [/var/lib/maxscale/.secrets] failed. Error 13, Permission denied.
It can be fixed with:
$ chown maxscale: /var/lib/maxscale/.secrets
|
The yum install creates the maxscale user but does not advise that you change to that user to perform the other actions.