按照文档中安装指南-二进制包安装-ubuntu环境安装greatSQL8.0.32-27,systemctl启动时报如下错误: × greatsql.service - GreatSQL Server Loaded: loaded (/etc/systemd/system/greatsql.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2025-06-18 19:34:31 CST; 1min 46s ago Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html Process: 2609 ExecStartPre=/usr/local/GreatSQL-8.0.32-27-Linux-glibc2.28-x86_64/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS) Process: 2636 ExecStart=/usr/local/GreatSQL-8.0.32-27-Linux-glibc2.28-x86_64/bin/mysqld $MYSQLD_OPTS (code=exited, status=1/FAILURE) Main PID: 2636 (code=exited, status=1/FAILURE) Status: "Server shutdown complete" Error: 13 (Permission denied) CPU: 241ms 6月 18 19:34:31 yui-virtual-machine mysqld[2636]: 2025-06-18T11:34:31.737950Z 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path. 6月 18 19:34:31 yui-virtual-machine mysqld[2636]: 2025-06-18T11:34:31.737953Z 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-log-path: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path. 6月 18 19:34:31 yui-virtual-machine mysqld[2636]: 2025-06-18T11:34:31.737994Z 0 [System] [MY-010116] [Server] /usr/local/GreatSQL-8.0.32-27-Linux-glibc2.28-x86_64/bin/mysqld (mysqld 8.0.32-27) starting as process 2636 6月 18 19:34:31 yui-virtual-machine mysqld[2636]: 2025-06-18T11:34:31.740091Z 0 [Warning] [MY-010091] [Server] Can't create test file /usr/local/GreatSQL-8.0.32-27-Linux-glibc2.28-x86_64/data/mysqld_tmp_file_case_insensitive_test.lower-test 6月 18 19:34:31 yui-virtual-machine mysqld[2636]: mysqld: File './binlog.index' not found (OS errno 13 - Permission denied) 6月 18 19:34:31 yui-virtual-machine mysqld[2636]: 2025-06-18T11:34:31.740523Z 0 [ERROR] [MY-010119] [Server] Aborting 6月 18 19:34:31 yui-virtual-machine mysqld[2636]: 2025-06-18T11:34:31.740606Z 0 [System] [MY-010910] [Server] /usr/local/GreatSQL-8.0.32-27-Linux-glibc2.28-x86_64/bin/mysqld: Shutdown complete (mysqld 8.0.32-27) GreatSQL, Release 27, Revision aa66a385910. 6月 18 19:34:31 yui-virtual-machine systemd[1]: greatsql.service: Main process exited, code=exited, status=1/FAILURE 6月 18 19:34:31 yui-virtual-machine systemd[1]: greatsql.service: Failed with result 'exit-code'. 6月 18 19:34:31 yui-virtual-machine systemd[1]: Failed to start GreatSQL Server. 应该如何解决? |
yejr
前天 11:04
| ||
sdcx
前天 19:16
| ||
yejr
昨天 08:10
| ||
sdcx
昨天 22:32
| ||
yejr
2 小时前
| ||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com