elasticsearch 重新启动服务器时,Elasticsearch不会自动启动
当我按照以下步骤重新启动服务器时,我试图使Elasticsearch自动启动 问题是,当我重新启动服务器时,
elasticsearch 重新启动服务器时,Elasticsearch不会自动启动,
elasticsearch,elastic-stack,elk,
elasticsearch,Elastic Stack,Elk,当我按照以下步骤重新启动服务器时,我试图使Elasticsearch自动启动 问题是,当我重新启动服务器时,/tmp正在使用noexec选项装载,我需要运行mount-o remount、exec/tmp并再次手动启动Elasticsarch 有人告诉我需要从/etc/fstab中删除noexec,但是noexec不存在 编辑: 我认为,/scripts/securetmp 当我运行mount时,我看到: /usr/tmpDSK on /tmp type ext3 (rw,relatime,da
/tmp
正在使用noexec
选项装载,我需要运行mount-o remount、exec/tmp
并再次手动启动Elasticsarch
有人告诉我需要从/etc/fstab
中删除noexec
,但是noexec
不存在
编辑:
我认为,/scripts/securetmp
当我运行mount
时,我看到:
/usr/tmpDSK on /tmp type ext3 (rw,relatime,data=ordered)
/usr/tmpDSK on /var/tmp type ext3 (rw,nosuid,noexec,relatime,data=ordered)
通过停用
/scripts/securetmp
解决。有关更多信息,请参阅
我提取了这些步骤,以防将来帖子消失
跑
将出现以下内容:
Would you like to secure /tmp & /var/tmp at boot time? (y/n)
securetmp will not be added to system startup at this time.
Would you like to disable securetmp from the system startup? (y/n)
Would you like to secure /tmp & /var/tmp now? (y/n)
/tmp & /var/tmp will not be secured at this time.
键入n
将出现以下内容:
Would you like to secure /tmp & /var/tmp at boot time? (y/n)
securetmp will not be added to system startup at this time.
Would you like to disable securetmp from the system startup? (y/n)
Would you like to secure /tmp & /var/tmp now? (y/n)
/tmp & /var/tmp will not be secured at this time.
类型y
将出现以下内容:
Would you like to secure /tmp & /var/tmp at boot time? (y/n)
securetmp will not be added to system startup at this time.
Would you like to disable securetmp from the system startup? (y/n)
Would you like to secure /tmp & /var/tmp now? (y/n)
/tmp & /var/tmp will not be secured at this time.
键入n
将出现以下内容:
Would you like to secure /tmp & /var/tmp at boot time? (y/n)
securetmp will not be added to system startup at this time.
Would you like to disable securetmp from the system startup? (y/n)
Would you like to secure /tmp & /var/tmp now? (y/n)
/tmp & /var/tmp will not be secured at this time.
这不是弹性问题。你是用deb软件包安装的吗?@hamidbayat和RPM,在CentOS 7上你有什么
/etc/systemd/system/local fs.target.wants/tmp.mount
文件?@IanGabes我有dir/etc/systemd/system/local fs.target.wants
但没有tmp.mount
文件。谢谢@IanGabes,我刚刚解决了这个问题。