如何解决 PostgreSQL "Aborted (core dumped)" 错误?
How do I solve PostgreSQL "Aborted (core dumped)" error?
我正在尝试在 Ubuntu 14.04 上安装 postgreSQL-9.6.4。但是当我 运行ning '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"
有什么帮助吗?
退出状态 134 表示进程被 SIGABRT
信号调用,因为该信号的编号为 6,因此 128 + 6 = 134。
您的进程可能未通过 assert(3)
断言。你./configure --with-cassert
了吗?
尝试使用 gdb
读取核心转储并使用 bt
获取回溯。那应该会告诉您执行失败的确切位置,以便您解决问题。
我正在尝试在 Ubuntu 14.04 上安装 postgreSQL-9.6.4。但是当我 运行ning '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"
有什么帮助吗?
退出状态 134 表示进程被 SIGABRT
信号调用,因为该信号的编号为 6,因此 128 + 6 = 134。
您的进程可能未通过 assert(3)
断言。你./configure --with-cassert
了吗?
尝试使用 gdb
读取核心转储并使用 bt
获取回溯。那应该会告诉您执行失败的确切位置,以便您解决问题。