[root@izwz9d7kphdifrrmcvfmuiz bin]# ./seata-server.sh
[0.001s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/www/seata-server-1.4.0/seata/logs/seata_gc.log instead.
[0.001s][error ][logging] Error opening log file '/www/seata-server-1.4.0/seata/logs/seata_gc.log': No such file or directory
[0.001s][error ][logging] Initialization of output 'file=/www/seata-server-1.4.0/seata/logs/seata_gc.log' using options '(null)' failed.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
问题原因:下载下来的seata 默认没有存放日志文件的目录,linux环境运行需要输出日志
解决方法
手动创建seata/logs/seata_gc.log 目录和文件