尝试创建pg和mysql均失败
1.mysql
2022-08-17-14:56:27.694 [ 1950][ 4317][ EVENT]: Step [Generate plan](sequoiasql-mysql.js:run)
2022-08-17-14:56:29.134 [ 1950][ 4317][ EVENT]: Finish generate plan(sequoiasql-mysql.js:GeneratePlan)
2022-08-17-14:56:29.163 [ 1950][ 4321][ EVENT]: Step [Doit](sequoiasql-mysql.js:run)
2022-08-17-14:56:29.163 [ 1950][ 4321][ EVENT]: Begin to send packet: host [db127](sequoiasql-mysql.js:SendPackage)
2022-08-17-14:57:36.026 [ 1950][ 4321][ EVENT]: Finish to Send packet: host [db127](sequoiasql-mysql.js:SendPackage)
2022-08-17-14:57:36.027 [ 1950][ 4321][ EVENT]: Begin to install packet: host [db127](sequoiasql-mysql.js:InstallPackage)
2022-08-17-14:57:41.439 [ 1950][ 4321][ *ERROR]: SdbError: Failed to install package: host [db127], detail[spawn sudo su -l -c /tmp/omatmp/packet/sequoiasql-mysql.run --mode unattended --prefix /opt/sequoiasql/mysql/ --username sdbadmin --userpasswd sdbadmin --groupname sdbadmin_group
Begin to upgrade package ......
*********************** check list **********************************
Check: get user in /etc/default/sequoiasql-mysql ...... ok
Check: install dir /opt/sequoiasql/mysql is not empty ...... There has been an error.
Install dir /opt/sequoiasql/mysql is empty or not-existed. You should install instead of upgrade.
], errcode=1(sequoiasql-mysql.js:InstallPackage)
2022-08-17-14:57:41.780 [ 1950][ 4317][ EVENT]: Step [Check result](sequoiasql-mysql.js:run)
2022-08-17-14:57:41.780 [ 1950][ 4317][ *ERROR]: SdbError: Task failed, errcode=1(sequoiasql-mysql.js:CheckResult)
2022-08-17-14:57:41.780 [ 1950][ 4317][ EVENT]: Finish check result(sequoiasql-mysql.js:CheckResult)
2.pg
2022-08-17-15:10:48.467 [ 1950][ 6086][ EVENT]: Step [Generate plan](sequoiasql-postgresql.js:run)
2022-08-17-15:10:48.467 [ 1950][ 6086][ EVENT]: Finish generate plan(sequoiasql-postgresql.js:GeneratePlan)
2022-08-17-15:10:48.494 [ 1950][ 6087][ EVENT]: Step [Doit](sequoiasql-postgresql.js:run)
2022-08-17-15:10:48.494 [ 1950][ 6087][ EVENT]: Begin to create instance [db126](sequoiasql-postgresql.js:CreateInst)
2022-08-17-15:10:48.503 [ 1950][ 6087][ EVENT]: Begin to add instance [db126](sequoiasql-postgresql.js:CreateInst)
2022-08-17-15:10:48.504 [ 1950][ 6087][ ERROR]: SdbError: PostgreSQL Install path not found: /opt/sequoiasql/postgresql/, Invalid Argument, errcode=-6(sequoiasql-postgresql.js:CreateInst)
2022-08-17-15:10:48.524 [ 1950][ 6086][ EVENT]: Step [Check result](sequoiasql-postgresql.js:run)
2022-08-17-15:10:48.524 [ 1950][ 6086][ ERROR]: SdbError: Task failed, errcode=5(sequoiasql-postgresql.js:CheckResult)
2022-08-17-15:10:48.542 [ 1950][ 6086][ EVENT]: Step [Rollback](sequoiasql-postgresql.js:run)
2022-08-17-15:10:48.542 [ 1950][ 6086][ EVENT]: Begin to rollback instance [db126](sequoiasql-postgresql.js:Rollback)
2022-08-17-15:10:48.546 [ 1950][ 6086][ EVENT]: Finish to rollback instance [db126](sequoiasql-postgresql.js:Rollback)