Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error usermod: user mysql is currently used by process #49

Open
Pepan opened this issue Feb 25, 2021 · 1 comment
Open

Fatal error usermod: user mysql is currently used by process #49

Pepan opened this issue Feb 25, 2021 · 1 comment

Comments

@Pepan
Copy link

Pepan commented Feb 25, 2021

I used this ansible role few years ago.
But today I updated this galaxy component and run for another project on same server.
I ended with :

TASK [bertvv.mariadb : Create daemon user with specified uid] *************************************************************************************************************************************************************************************************************************************************************************************************
fatal: [81.2.216.251]: FAILED! => {"changed": false, "msg": "usermod: user mysql is currently used by process 5741\n", "name": "mysql", "rc": 8}

It is obvious that there will be running proces and also existing user ...

What should I do?

@Pepan
Copy link
Author

Pepan commented Feb 25, 2021

I solved it by stopping mariadb server before running playbook. But it should do this role automatically I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant