简体   繁体   English

我该如何解决PostgreSQL的“ Aborted(core dumped)”错误?

[英]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.

相关问题 如何解决 postgresql 错误“连接尝试失败”? - How do I solve postgresql error "connection attempt failed"? Postgresql initdb - 分段错误(核心转储) - Postgresql initdb - Segmentation fault (core dumped) PostgreSQL:我该如何解决这个问题? - PostgreSQL:How can I solve this? homebrew的data_directory在哪里?或者对于postgresql或者如何解决错误,“”global / pg_filenode.map“:没有这样的文件或目录”? - Where is data_directory for homebrew? or for postgresql or how do I solve error, “”global/pg_filenode.map“: No such file or directory”? 我该如何解决PostgreSQL JDBC org.postgresql.util.PSQLException错误: - How can i solve PostgreSQL JDBC org.postgresql.util.PSQLException Error: 我如何解释这个Rails / PostgreSQL错误? - How do I interpret this Rails/PostgreSQL error? 如何解决将 PostgreSQL 与 Vercel 同步的错误 - How to solve error with syncing PostgreSQL with Vercel 如何使用Ruby项目解决PostgreSQL中的AmbiguousColumn错误 - How to solve AmbiguousColumn error in postgresql with ruby project 尝试继承PostgreSQL中的表时,如何解决错误? - How can I solve the error when I try to inherit a table in PostgreSQL? Kubernetes Postgres 总线错误(核心转储) - Kubernetes Postgres Bus error (core dumped)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM