zoukankan      html  css  js  c++  java
  • 如何正常停止nodeos?(database dirty flag set (likely due to unclean shutdown): replay required)

    kill 命令再次执行时会导致以下错误。

    pkill -9 nodeos or kill -9 {pid}
    database dirty flag set (likely due to unclean shutdown): replay required

    当重新运行nodeos时,必须使用--replay-blockchain命令忽略它。

    让我们安全的结束nodeos 进程

    This appears to be two different issues.
    
    Startup after a crash or ungraceful shutdown nearly always fails due to corruption of the boost shared memory cache of the in-memory database. --resync is required to clean up the mess.
    
    For normal shutdown, never kill with -9. Always use either the default (no argument) signal (which is SIGTERM) or SIGINT. Numerically, those are 15 and 2, respectively.
    
    pkill nodeos | Safe
    pkill -15 nodeos | Safe
    pkill -2 nodeos | Safe
    pkill -TERM nodeos | Safe
    pkill -SIGTERM nodeos | Safe
    pkill -INT nodeos | Safe
    pkill -SIGINT nodeos | Safe
    pkill -9 nodeos | Not Safe
    pkill -KILL nodeos | Not Safe
    pkill -SIGKILL nodeos | Not Safe
    
    The core dump is a different problem. That looks like a corrupted network packet, specifically a signed_block_summary. Summary messages are being eliminated from the protocol, so this particular error will no longer be possible soon.

    参考自:github

  • 相关阅读:
    java.lang.IllegalArgumentException: node to traverse cannot be null!
    c3p0连接池的使用
    eclipse插件
    eclipse字体颜色设置
    oracle增删改查
    resultMap / resultType
    oracle 序列 ,check约束
    JSP:一种服务器端动态页面技术的组件规范。
    js
    字体
  • 原文地址:https://www.cnblogs.com/gao88/p/10088502.html
Copyright © 2011-2022 走看看