1、报错信息 启动glusterfs文件系统报错,根据网上的排错,基本都是删除glusterfs的数据目录,然并卵。 报错如下: [root@k8s-node2 ~]# systemctl status glusterd.service ● glusterd.service - GlusterFS, ...
分类:
其他好文 时间:
2021-05-24 10:41:35
阅读次数:
0
发送命令 void* redisCommand(redisContext c,const char format,...); 参数 返回值 返回值是一个void类型的指针,实际为指向一个redisReply类型的指针 typedef struct redisReply{ // 命令执行结果的返回类型 ...
安装nginx 1 sudo apt-get install -y nginx 修改配置文件 1 vi /etc/nginx/nginx.conf 2 #注释掉下面这行代码 3 #include /etc/nginx/sites-enabled/*; 4 #保存 在/etc/nginx/conf.d ...
分类:
系统相关 时间:
2021-05-24 09:40:00
阅读次数:
0
添加启动的账户名 sudo vi /etc/systemd/system/getty.target.wants/getty@tty1.service 如图中的 ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM 中添加自启动root用户 ...
分类:
系统相关 时间:
2021-05-24 09:22:34
阅读次数:
0
Swift 异常处理 错误类型 语法错误 逻辑错误 运行时错误 自定义错误 通过error 协议来自定义错误,通常我们使用枚举类型来定义错误 enum SomeError :Error { //关联类型是符串 case illegalArg(String) case outOfBounds(Int, ...
分类:
编程语言 时间:
2021-05-24 09:05:28
阅读次数:
0
出现上图那样的情况 一般是没有在Startup类中的ConfigureServices中注入接口和实现类 注入一个就ok ...
分类:
其他好文 时间:
2021-05-24 09:04:56
阅读次数:
0
一、关于TableException的问题 [ERROR] Could not execute SQL statement. Reason:org.apache.flink.table.api.TableException: Sink `catalog_1`.`mydb`.`region_sales ...
分类:
其他好文 时间:
2021-05-24 08:49:39
阅读次数:
0
1.(1)@Component (2)@Service (3)@Controller (4)@Repository * 上面四个注解功能是一样的,都可以用来创建 bean 实例 2 @Autowired:根据属性类型进行自动装配 @Qualifier(value = "") 根据名称进行注入 使用的 ...
分类:
编程语言 时间:
2021-05-24 08:34:40
阅读次数:
0
1)登陆搭建gitlab的服务器 cd /opt/gitlab/embedded/service/gitlab-rails/config vim gitlab.yml 2) gitlab-ctl restart ...
分类:
系统相关 时间:
2021-05-24 08:07:40
阅读次数:
0
1. 不需要配置ini文件 2. 配置过程中出现问题: MySQL服务无法启动,服务没有报告任何错误,请键入 NET HELPMSG 3534 以获得更多的帮助 首先: 在管理员运行的cmd中转到mysql的安装目录bin下, 键入 mysqld --console 查看问题(error) 在安装过 ...
分类:
数据库 时间:
2021-05-24 08:00:38
阅读次数:
0