@yuu_min

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

Linuxで bit namiを使ってredmineを構築したい

解決したいこと
CentOS7のLinuxにbitnamiを用いてLinuxをredmineを構築したいです…

サポートが終了しているのは承知で、Linuxにbitnamiを用いてredmineを構築しようとしています…

エラーの内容はこちらです。
エラー: 実行中にエラーが起きました /home/ec2-user/redmine-4.2.1-3/mysql/scripts/myscript.sh
/home/ec2-user/redmine-4.2.1-3/mysql "****" : 2023-11-27T07:30:12.433486Z 0
[System] [MY-013169] [Server]
/home/ec2-user/redmine-4.2.1-3/mysql/bin/mysqld.bin (mysqld 8.0.25) initializing
of server in progress as process 10422
2023-11-27T07:30:12.485997Z 1 [System] [MY-013576] [InnoDB] InnoDB
initialization has started.
2023-11-27T07:30:13.281530Z 1 [System] [MY-013577] [InnoDB] InnoDB
initialization has ended.
2023-11-27T07:30:14.261696Z 0 [Warning] [MY-010161] [Server] You need to use
--log-bin to make --binlog-expire-logs-seconds work.
2023-11-27T07:30:14.892838Z 6 [Warning] [MY-010453] [Server] root@localhost is
created with an empty password ! Please consider switching off the
--initialize-insecure option.
bin/mysql.bin: error while loading shared libraries: /lib64/libtinfo.so.5:
cannot read file data: Error 21
bin/mysql.bin: error while loading shared libraries: /lib64/libtinfo.so.5:
cannot read file data: Error 21
bin/mysql.bin: error while loading shared libraries: /lib64/libtinfo.so.5:
cannot read file data: Error 21
bin/mysql.bin: error while loading shared libraries: /lib64/libtinfo.so.5:
cannot read file data: Error 21
続けるには [Enter] キーを押してください :

自分で試したことはlibtinfo.so.5が入っているrpmパッケージをダウンロードして解凍しました。

現状は、libtinfo.so.5が存在はしているのですが、bitnamiを展開して、ダウンロードを開始しても上記のエラーが表示されます。
パーミッションは777に変更してもダメでした…

何か良い方法が有ればご教授いただきたいです。よろしくお願いいたします…

0 likes

2Answer

libtinfo.so.5が存在はしているのですが、bitnamiを展開して、ダウンロードを開始しても上記のエラーが表示されます。

/lib64/libtinfo.so.5 パスも一致しているのでしょうか?
シンボリックリンクになっていませんか?

1Like

Comments

  1. @yuu_min

    Questioner

    回答ありがとうございます。
    パスとシンボリックリンクを確認してみます!

該当のファイルは ncurses-libs パッケージ に含まれるようなので、ダウンロードして解凍するのではなく、yum (rpm) コマンドでインストールしてください。

$ sudo yum install ncurses-libs
1Like

Comments

  1. @yuu_min

    Questioner

    回答ありがとうございます。
    yum(rpm)コマンドで再度インストールしてみます!

Your answer might help someone💌