Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
<img src="//i.stack.imgur.com/RUiNP.png" height="16" width="18" alt="" class="sponsor tag img">elasticsearch 重新启动服务器时,Elasticsearch不会自动启动_<img Src="//i.stack.imgur.com/RUiNP.png" Height="16" Width="18" Alt="" Class="sponsor Tag Img">elasticsearch_Elastic Stack_Elk - Fatal编程技术网 elasticsearch 重新启动服务器时,Elasticsearch不会自动启动,elasticsearch,elastic-stack,elk,elasticsearch,Elastic Stack,Elk" /> elasticsearch 重新启动服务器时,Elasticsearch不会自动启动,elasticsearch,elastic-stack,elk,elasticsearch,Elastic Stack,Elk" />

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

当我按照以下步骤重新启动服务器时,我试图使Elasticsearch自动启动

问题是,当我重新启动服务器时,
/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,我刚刚解决了这个问题。