摘要:
故障案例:服务器重启了,但设定了systemctl enable mongod 但mongo还是没有自动和机器重启,systemd日志报: ExecStart=/usr/local/mongodb/bin/mongod -f /etc/mongod.conf (code=exited, status 阅读全文
posted @ 2021-12-17 14:45
mmgithub123
阅读(278)
评论(0)
推荐(0)
摘要:
make test 时需要: 安装一下8.5或者最新的tcl 1 2 3 4 5 6 [root@etcd3 tmp]# wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz [root@etcd3 tmp]# tar xzvf 阅读全文
posted @ 2021-12-17 14:25
mmgithub123
阅读(116)
评论(0)
推荐(0)
摘要:
shell返回值与异常处理: $?是接收上一条函数的执行结果,在例一中,$?接收test函数的执行结果,执行结果其实就是其返回值,就是return 传出来的数值(return只能是数字,不能是字符串之类的),如果函数中没有显式调用return返回出来状态,那么系统会使用函数中最后一条shell指令的 阅读全文
posted @ 2021-12-17 13:36
mmgithub123
阅读(246)
评论(0)
推荐(0)
浙公网安备 33010602011771号