[MDEV-12154] mysql_install_db fail Created: 2017-03-01 Updated: 2017-03-01 Resolved: 2017-03-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Configuration |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | seoungho | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
I execute bottom command. I got a error message. what shall I do for fixing this error? [maria@cento7 mariadb]$ ./scripts/mysql_install_db --defaults-file=/etc/my.cnf --datadir=/maria_data/db01 --basedir=/maria/mariadb --user=maria To start mysqld at boot time you have to copy PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! '/maria/mariadb/bin/mysqladmin' -u root password 'new-password' Alternatively you can run: which will also give you the option of removing the test See the MariaDB Knowledgebase at http://mariadb.com/kb or the You can start the MariaDB daemon with: You can test the MariaDB daemon with mysql-test-run.pl Please report any problems at http://mariadb.org/jira The latest information about MariaDB is available at http://mariadb.org/. [maria@cento7 mariadb]$ log-error messages bottom |
| Comments |
| Comment by seoungho [ 2017-03-01 ] |
|
strace ./scripts/mysql_install_db --defaults-file=/etc/my.cnf --datadir=/maria_data/db01 --user=maria |
| Comment by seoungho [ 2017-03-01 ] |
|
strace show me a error. rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4203 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4204 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4205 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7ff89bc61250}, {0x43e670, [], SA_RESTORER, 0x7ff89bc61250} , 8) = 0 — |
| Comment by seoungho [ 2017-03-01 ] |
|
[maria@cento7 mariadb]$ gdb (gdb) exec-file /maria/mariadb/bin/mysqld (gdb) run --defaults-file=/etc/my.cnf --datadir=/maria_data/db01 --user=maria --basedir=/maria/mariadb |
| Comment by seoungho [ 2017-03-01 ] |
|
I solved this problem [maria@cento7 ~]$ cat /etc/security/limits.conf
|
| Comment by Sergei Golubchik [ 2017-03-01 ] |
|
Closing, as requested |