pgsql启动不了 这个问题怎么解决

2021-09-28 13:51:30.457 CST [29540] LOG:  could not stat file "pg_tblspc/16871": No such file or directory
2021-09-28 13:51:30.457 CST [29540] LOG:  could not stat file "pg_tblspc/18927": No such file or directory
2021-09-28 13:51:30.457 CST [29540] LOG:  could not stat file "pg_tblspc/16870": No such file or directory
2021-09-28 13:51:30.457 CST [29540] LOG:  could not open tablespace directory "pg_tblspc/16871/PG_10_201707211": No such file or directory
2021-09-28 13:51:30.457 CST [29540] LOG:  could not open tablespace directory "pg_tblspc/18927/PG_10_201707211": No such file or directory
2021-09-28 13:51:30.457 CST [29540] LOG:  could not open tablespace directory "pg_tblspc/16870/PG_10_201707211": No such file or directory
2021-09-28 13:51:30.457 CST [29540] LOG:  database system was not properly shut down; automatic recovery in progress

表空间问题,重新创建表空间。

环境变量是否设置了,开机启动设置了吗