[英]How do I solve PostgreSQL “Aborted (core dumped)” error?
I am trying to install postgreSQL-9.6.4 on Ubuntu 14.04. 我正在尝试在Ubuntu 14.04上安装postgreSQL-9.6.4。 But when I am running ' initdb ' to create database cluster, it shows error.
但是,当我运行' initdb '创建数据库集群时,它显示错误。
$ ./configure --prefix=/path/to/install
$ make
$ make install
$ initdb -U user1 -D /path/to/install/data
When I run the ' initdb ', it shows the following error: 当我运行“ initdb ”时,它显示以下错误:
Aborted (core dumped)
child process exited with exit code 134
initdb: removing contents of data directory "/path/to/install/data"
Any help? 有什么帮助吗?
Exit status 134 means that the process was called by a SIGABRT
signal, since that signal has number 6, and 128 + 6 = 134. 退出状态134表示该进程已由
SIGABRT
信号调用,因为该信号的编号为6,并且128 + 6 = 134。
Your process probably failed an assert(3)
assertion. 您的过程可能未通过
assert(3)
断言。 Did you ./configure --with-cassert
? 您是否
./configure --with-cassert
吗?
Try to read the core dump with gdb
and use bt
to get a back trace. 尝试使用
gdb
读取核心转储,并使用bt
进行追溯。 That should tell you where exactly execution failed, so you can fix the problem. 那应该告诉您确切执行失败的位置,以便您解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.