Menu

#4732 Cluster - unable to add users

1.791
closed-fixed
nobody
None
5
2016-04-10
2016-04-07
Richard
No

Webmin 1.791 running on Debian Jessie, up to date with all patches. Apache2.

After creating a cluster of (currently) 2 servers, I tried to synchronise the user accounts from the main server to the new one, and it kept freezing on the report-back page with the first user account.

Miniserv.error on the second server contains the following:

Error: acl::create_user failed : Can't use string ("ARRAY(0x21a3c98)") as an ARRAY ref while "strict refs" in use at /usr/share/webmin/acl/acl-lib.pl line 473.

I can find similar in older bug reports (google search) but says that this should be fixed. Both servers are running 1.791.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2016-04-09

    That's an odd one - which specific module and page are you getting that error on though?

     

    Last edit: Jamie Cameron 2016-04-09
  • Richard

    Richard - 2016-04-09

    When I try to synchronise the users and groups from the master to the other server in the cluster, it comes up with the name of the first user (and if I exclude a name, it comes up with the next one and so on), and sits there forever. The miniserv.log on the receiving server has that error in.

     
  • Richard

    Richard - 2016-04-10

    Detailed steps

    • Logged in to Webmin as a root level user
    • Cluster
    • Cluster Webin Servers
    • Two servers in cluster, second one logged in as a root level user in the cluster as well
    • Click on "Synchronize'
    • Servers to Synchronize - can be either <all hosts=""> or the secondary</all>
    • Users to create - All Missing Users
    • Groups to create - All missing Groups (no groups missing, I managed to synchronise them previously by selected "No users" in an earlier test)
    • Click on Create Users and Groups

    Error message above then appears in the log on the secondary server

     
  • Jamie Cameron

    Jamie Cameron - 2016-04-10
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2016-04-10

    Ok, I see the bug that causes this - it will be fixed in the next Webmin release.

     
  • Richard

    Richard - 2016-04-10

    Many thanks - is there anything I can do in advance to make this work locally pending the next release, or do you know roughly when it'll be released?

     
  • Richard

    Richard - 2016-04-10

    Thank you - now works.

     

Log in to post a comment.