1

我正在尝试在 Ubuntu 14.04 上安装 postgreSQL-9.6.4。但是当我运行' initdb '来创建数据库集群时,它会显示错误。

$ ./configure --prefix=/path/to/install
$ make
$ make install
$ initdb -U user1 -D /path/to/install/data

当我运行“ initdb ”时,它显示以下错误:

Aborted (core dumped)
child process exited with exit code 134
initdb: removing contents of data directory "/path/to/install/data"

有什么帮助吗?

4

1 回答 1

0

退出状态 134 表示进程被SIGABRT信号调用,因为该信号的编号为 6,并且 128 + 6 = 134。

assert(3)您的过程可能使断言失败。你有./configure --with-cassert吗?

尝试读取核心转储gdb并用于bt获取回溯。这应该告诉您执行失败的确切位置,以便您可以解决问题。

于 2018-04-30T07:15:53.373 回答