stoneatom / stonedb

StoneDB is an Open-Source MySQL HTAP and MySQL-Native DataBase for OLTP, Real-Time Analytics, a counterpart of MySQLHeatWave. (https://stonedb.io)
https://stonedb.io/
GNU General Public License v2.0
862 stars 139 forks source link

bug: install stonedb failed with install.sh #22

Closed hustjieke closed 2 years ago

hustjieke commented 2 years ago

Describe the problem

When I did /stonedb56/install/install.sh, StoneDB was installed failed:

./mysql_server: line 264: kill: (29232) - No such process
+ break
+ log_failure_msg
+ /etc/redhat-lsb/lsb_log_message failure
                                                           [FAILED]
+ return 1
+ return_value=1
+ test -w /var/lock/subsys
+ touch /var/lock/subsys/mysql
+ exit 1

The log in log/mysqld.log indicates that the binlog.index is not exist:

/stonedb56/install//bin/mysqld: File '/stonedb56/install/binlog/binlog.index' not found (Errcode: 2 - No such file or directory)
2022-06-18 00:09:48 30449 [ERROR] Aborting

Expected behavior

We should get success msg after execute install.sh.

How To Reproduce

After make install,

$ cd /stonedb56/install
$ ./install.sh

Environment

Additional context

hustjieke commented 2 years ago

The reason for binlog.index' not found is thatmkdir binlog has been comment:

#mkdir binlog