hi,i try to folllow the Native installation guide https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/146440579/Native+Open+edX+platform+Ubuntu+16.04+64+bit+Installation
,Some packages were installed manually because some errors were reported before: “There were unauthenticated packages and -y was used without --allow-unauthenticated”, mysql related packages were also installed manually。and then such an error was reported。
TASK [mysql : Install mysql-5.6 and dependencies] ***********************************************************************************************************************************************************************************************
ok: [localhost]TASK [mysql : Set default character sets and collations] ****************************************************************************************************************************************************************************************
ok: [localhost]TASK [mysql : restart mysql] ********************************************************************************************************************************************************************************************************************
[WARNING]: Consider using the service module rather than running ‘service’. If you need to use command because service is insufficient you can add ‘warn: false’ to this command task or set ‘command_warnings=False’ in ansible.cfg to get
rid of this message.
changed: [localhost]TASK [mysql : Ensure Anonymous user(s) does not exist] ******************************************************************************************************************************************************************************************
failed: [localhost] (item=localhost) => {“changed”: false, “item”: “localhost”, “msg”: “unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: (2002, "Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)")”}
failed: [localhost] (item=iZwz92yj97cnbczr9n2zd2Z) => {“changed”: false, “item”: “iZwz92yj97cnbczr9n2zd2Z”, “msg”: “unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: (2002, "Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)")”}
to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retryPLAY RECAP **************************************************************************************************************************************************************************************************************************************
localhost : ok=62 changed=14 unreachable=0 failed=1============================================================
Ansible failed!Decoded error:
== cmd ===========================
dpkg -s mysql-server
== msg ===========================
non-zero return code
== stderr ===========================
dpkg-query: package ‘mysql-server’ is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.============================================================
Installation failed!If you need help, see Connect - Open edX .
When asking for help, please provide as much information as you can.
These might be helpful:
Your log file is at /edx/logs/install-20201029-093857.log
Your environment:
OPENEDX_RELEASE=juniper.masterInstallation finished at 2020-10-29 09:41:10