Redis 安装求助 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
AlexLJS
V2EX    Redis

Redis 安装求助

  • &bsp;
  •   AlexLJS 2020-07-07 11:59:40 +08:00 6251 次点击
    这是一个创建于 1984 天前的主题,其中的信息可能已经有所发展或是发生改变。

    编译安装,make test 不能通过

    报错我看不太懂, 报错如下 :

    [ok]: diskless loading short read Logged warnings (pid 31050): (none) Logged warnings (pid 31039): (none) [err]: diskless no replicas drop during rdb pipe in tests/integration/replication.tcl rdb child didn't terminate Logged warnings (pid 31439): (none) Logged warnings (pid 31428): (none) Waiting for process 31027 to exit... Logged warnings (pid 31027): (none) [exception]: Executing test client: I/O error reading reply. I/O error reading reply while executing "wait_for_condition 500 100 { [s -2 rdb_bgsave_in_progress] == 0 } else { fail "rdb..." ("uplevel" body line 41) invoked from within "uplevel 1 $code " (procedure "start_server" line 3) invoked from within "start_server {} { lappend replicas [srv 0 client] lappend replicas_alive [srv 0 client] #..." ("uplevel" body line 4) invoked from within "uplevel 1 $code " (procedure "start_server" line 3) invoked from within "start_server {} { lappend replicas [srv 0 client] lappend replicas_alive [srv 0 client] start_server {..." ("uplevel" body line 5) invoked from within "uplevel 1 $code" (procedure "test" line 47) invoked from within "test "diskless $all_drop replicas drop during rdb pipe" { set replicas {} set replicas_alive {} # start one replic..." ("foreach" body line 2) invoked from within "foreach all_drop {no slow fast all} { test "diskless $all_drop replicas drop during rdb pipe" { set replicas {} set re..." ("uplevel" body line 16) invoked from within "uplevel 1 $code " (procedure "start_server" line 3) invoked from within "start_server {tags {"repl"}} { set master [srv 0 client] $master config set repl-diskless-sync yes $master config set repl-diskless-sync-d..." (file "tests/integration/replication.tcl" line 508) invoked from within "source $path" (procedure "execute_test_file" line 4) invoked from within "execute_test_file $data" (procedure "test_client_main" line 10) invoked from within "test_client_main $::test_server_port " Killing still running Redis server 26413 Killing still running Redis server 26446 Killing still running Redis server 26456 Killing still running Redis server 26715 Killing still running Redis server 26774 Killing still running Redis server 31428 Makefile:318: recipe for target 'test' failed make[1]: *** [test] Error 1 make[1]: Leaving directory '/tmp/redis-stable/src' Makefile:6: recipe for target 'test' failed make: *** [test] Error 2 

    查看文件 tests/integration/replication.tcl

    报错位置 :505 行的函数

    # test diskless rdb pipe with multiple replicas, which may drop half way start_server {tags {"repl"}} { set master [srv 0 client] $master config set repl-diskless-sync yes $master config set repl-diskless-sync-delay 1 set master_host [srv 0 host] set master_port [srv 0 port] set master_pid [srv 0 pid] 

    函数体:

     # wait for rdb child to exit wait_for_condition 500 100 { [s -2 rdb_bgsave_in_progress] == 0 } else { fail "rdb child didn't terminate" } 

    请问,我该怎么解决这个问题 ?

    5 条回复    2020-07-07 17:39:05 +08:00
    AlexLJS
        1
    AlexLJS  
    OP
       2020-07-07 12:32:55 +08:00
    最终。redis 依然可以正常安装启动和配置。 没搞懂 make test 为何没通过, 单这台服务器问题,不知道以前配过什么……
    defunct9
        2
    defunct9  
       2020-07-07 13:39:40 +08:00 via iPhone
    make test 过不去很正常,看看你 tcl 支持全了没有。不 make test 也没问题
    ruanimal
        3
    ruanimal  
       2020-07-07 14:22:54 +08:00
    说个题外话?为啥要源码安装?
    defunct9
        4
    defunct9  
       2020-07-07 15:50:12 +08:00 via iPhone
    题外的题外,keydb 它不源码不行啊
    Latin
        5
    Latin  
       2020-07-07 17:39:05 +08:00
    curl -fsSL https://get.docker.com -o install-docker.sh
    chmod +x install-docker.sh
    ./install-docker.sh
    docker run -d -p 6379:6379 redis
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     1027 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 29ms UTC 18:16 PVG 02:16 LAX 10:16 JFK 13:16
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86