解决 logstash java.lang.IllegalStateException: Logstash stopped processing because of an error: (Syste

news/2024/7/7 5:49:13 标签: mac os x, elasticsearch

@[TOC](java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit)

mac os在安装logstash的时候,总会出现这条错误,在官网找到了答案

macOS Gatekeeper warnings

苹果对更严格的公证要求的推出影响了7.10.2 Logstash工件的公证。如果macOS Catalina在首次运行Logstash时显示一个对话框,中断该对话框,则需要采取措施使其运行。为防止网守检查Logstash文件,请对下载的.tar.gz存档或解压缩到的目录运行以下命令

xattr -d -r com.apple.quarantine <archive-or-directory>

假如你的解压目录是默认的logstash-7.10.2,命令就是

xattr -d -r com.apple.quarantine logstash-7.10.2

如果显示Permission denied
则在上面那条命令前面加入sudo

sudo xattr -d -r com.apple.quarantine logstash-7.10.2

http://www.niftyadmin.cn/n/1018041.html

相关文章

冒泡排序实现(Java)

冒泡排序是一种交换排序&#xff0c;它的基本思路是&#xff1a; 两两比较相邻记录的关键字&#xff0c;如果反序则交换&#xff0c;知道没有反序的记录位置。 依次比较相邻的两个数&#xff0c;将小数放在前面&#xff0c;大数放在后面。即在第一趟&#xff1a;首先比较第1个和…

pyqt5 保存qGraphicsView编辑的图片

本文参考 Filling a drawn path using QPainterPath in pyqt5 from PyQt5 import QtCore, QtGui, QtWidgets import sys import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5 import QtWidgets from PyQt5 import Qt…

pwnable.tw dubblesort 分析

本系列为用于记录那些比较有意思的题目。 题目为一个排序算法&#xff0c;就如题目名称那样&#xff0c;dubblesort&#xff0c;32位程序。 利用思路为栈溢出&#xff0c;先是栈溢出泄露出栈上libc的相关数据从而获取libc地址&#xff0c;再是栈溢出覆盖ebp下一处劫持控制流。第…

pyqt5 GraphicsView 加载图片 鼠标托画填充路径并保存成图片

本文仅供记录&#xff0c;各位如有参考&#xff0c;不胜荣幸 解决之前临时变量销毁导致的程序奔溃&#xff0c;使用成员变量定义 from PyQt5 import QtCore, QtGui, QtWidgets import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import…

Python 基于python操纵zookeeper介绍

基于python操纵zookeeper介绍 by:授客 QQ:1033553122 测试环境 Win7 64位 Python 3.3.4 kazoo-2.6.1-py2.py3-none-any.whl&#xff08;windows&#xff09; kazoo-2.6.1.tar.gz (linux) https://pypi.org/project/kazoo/#files zookeeper-3.4.13.tar.gz 下载地址&#xff1a…

python在图上画出射线及平行线

import math import numpy as np import cv2 as cvdef Polar2Cartesian(theata):"""极坐标转直角坐标系:return: 斜率"""pi 3.14radian pi * theata / 180return math.tan(radian)def Painter(ori,theta):"""painter a picture…

除法 (Division,UVa 725 )

#include<stdio.h>#include<iostream>#include<string.h>using namespace std;int main(){ int n,j,ans0,h0,frist0; int a[11]; while(cin>>n&&n!0) { h0; if(frist) cout<<endl;//输出格式要求 for(int i1234;i<50000;i) { memset…

QT 中Widgets-Scene3d例子学习

QT中自带的例子widgets-scene3d实现在基于Widget的应用程序中使用qml 3d场景的功能&#xff0c;我在此基础上&#xff0c;将basicshapes-cpp的例子加以嵌入&#xff1a; 相关代码如下&#xff1a; C Code 1234567891011121314151617181920212223242526272829303132333435363738…