logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

nginx 配置监听端口出现 nginx: [emerg] bind() to 0.0.0.0:8081 failed (13: permission denied) SELinux

场景nginx配置8081端口监听,通过查看日志,出现nginx: [emerg] bind() to 0.0.0.0:8081 failed (13: permission denied)异常。但是其它端口监听/访问正常。解决方案检查已开放端口sudo semanage port -l | grep http_port_t如果8081端口未出现在列表中,则执行:sudo seman...

Vue子组件传值 Expected String, got Function.异常

现象父组件引入子组件,子组件props中有title属性,这个title需要通过http请求确定。父组件中data定义:data: function () {return {title: String}}子组件定义:<p-table v-bind:title="$data.title"></p-table>解决...

kafka启动报错Native memory allocation (mmap) failed to map 1073741824 bytes for

环境说明使用了腾讯云的免费试用的1CPU/1GB服务器,通过bin/kafka-server-start.sh config/server.properties命令启动kafka服务,出现以下错误:OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, the..

#kafka
Nginx 启动报错 directive is not allowed here in

Nginx 启动报错 "worker_processes" directive is not allowed here in

#nginx
hikari 数据库连接池满了怎么排查 Hikari - Connection is not available, request timed out after XX ms.

日志出现如下关键信息:如果配置了相关监控,很有可能会发现激活连接数(Hikari.pool.ActiveConnections)等于或者接近于最大连接数(Hikari.pool.MaxConnections)

文章图片
#数据库#java
hikari 数据库连接池满了怎么排查 Hikari - Connection is not available, request timed out after XX ms.

日志出现如下关键信息:如果配置了相关监控,很有可能会发现激活连接数(Hikari.pool.ActiveConnections)等于或者接近于最大连接数(Hikari.pool.MaxConnections)

文章图片
#数据库#java
Vue Cannot read property 'xxx' of undefined解决办法

问题场景使用{{}}文本插值方式,通过.级联显示内容。如下代码,foo通过后端接口返回。后端内容返回之前,控制台会Cannot read property ‘xxx’ of undefined的错误。<div><h1>{{ foo.title }}</h1><p>{{ foo.descr

Nginx 启动报错 directive is not allowed here in

Nginx 启动报错 "worker_processes" directive is not allowed here in

#nginx
到底了