-
Notifications
You must be signed in to change notification settings - Fork 48
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
ERROR: failed to create user 'opensips' #93
Comments
Hey, @johanlantz! To test if that
If the Otherwise, if the commands work, you may have run into a bug of some sorts! |
Could it be a syntax issue? The code is basically running:
Nothing fancy. Do you get any errors if trying to run this? I suspect MySQL 5.5 might be a bit old and could error on that query... |
I get this: |
To be honest, I do not know why I picked CentOS 7, I probably just read it somewhere. I can restart everything and try with CentOS 8 or 9 instead to get a newer mysql server version? |
Yes, please! :D Let's see if behavior improves! |
Yep, trying with Centos 8 and the opensips-cli installs ok but for opensips I just get this: and not able to solve it, the version that installs with yum install lim6.so.6 is 2.28 but I have no idea if that is the issue. I know this is not cli related but wont be able to see if it works if I fail on the initial installation 😓 |
Unfortunately, that's a Red Hat packaging issue that's being tracked in OpenSIPS/opensips#2763. In short: as RPM-based distributions are diverging, a single RPM build is less and less compatible with all of them at the same time. |
Hi,
I am trying to setup my first opensips 3.2 installation on a Digitalocean droplet using Centos 7.
I have installed mysql as:
mysql Ver 15.1 Distrib 5.5.68-MariaDB, for Linux (x86_64) using readline 5.1
When I call opensips-cli -x database create I get the error below:
DEBUG: Loaded module 'database' DEBUG: running in non-interactive mode database create [] DEBUG: running command 'create' '[]' DEBUG: db_name: 'opensips' Password for admin MySQL user (root): DEBUG: read password: '' DEBUG: admin DB URL: 'mysql://root:@localhost' DEBUG: DB URL: 'mysql://opensips:opensipsrw@localhost' DEBUG: connecting to mysql://root:@localhost DEBUG: check database URL 'mysql://root:@localhost/opensips' DEBUG: DB does not exist DEBUG: Create Database 'opensips' for dialect 'mysql' ... DEBUG: success DEBUG: connecting to mysql://opensips:opensipsrw@localhost/opensips INFO: creating access user for opensips ... ERROR: failed to create user 'opensips' ERROR: failed to create user on opensips DB
I found this: #77
But I am too noob to understand how to see if that is the cause or how to apply the suggested solution.
Any advice would be welcome
The text was updated successfully, but these errors were encountered: