首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ROS项目中的mini-httpd中出现此错误的原因是什么?

ROS项目中的mini-httpd中出现此错误的原因是什么?
EN

Stack Overflow用户
提问于 2020-06-10 00:34:51
回答 1查看 255关注 0票数 0

错误:

已关闭pid 6395,退出代码127,cmd /home/santiago/catkin_ws/src/map_nav_manager/scripts/mini-httpd.sh __name:=mini_httpd __log:=/home/santiago/.ros/log/53d109f0-aaae-11ea-83ba-7085c2b46229/mini_httpd-2.log.

_httpd-2进程日志文件: /home/santiago/.ros/log/53d109f0-aaae-11ea-83ba-7085c2b46229/mini_httpd-2*.log

Mini-httpd.sh中的代码:

代码语言:javascript
复制
#!/bin/sh 

# Run the mini-httpd webserver on the port defined in the
# mini-httpd.conf file and set the document directory to the current
# directory

PID=`pidof mini-httpd`

if [ ! -z $PID ]; then
    kill $PID
fi

sleep 1

echo "Launching mini-httpd..."

/usr/sbin/mini-httpd -C `rospack find map_nav_manager`/scripts/mini-httpd.conf -d `rospack find map_nav_manager`

Mini-httpd.conf中的代码:

代码语言:javascript
复制
# Example config for mini_httpd.
# Author: Marvin Stark <marv@der-marv.de>

# Uncomment this line for turning on ssl support.
#ssl

# On which host mini_httpd should bind?
host=*

# On which port mini_httpd should listen?
port=8181

# Which user mini_httpd should use?
user=nobody

# Run in chroot mode?
#chroot # yes
nochroot # no

# Working directory of mini_httpd.
#dir=<work_dir>

# We are the web files stored?
# Please change this to your needs.
data_dir=./web/

# CGI path
cgipat=cgi-bin/*

# Which certificate to use?
#certfile=<certfile>

# Which logfile to use?
#logfile=

# Which pidfile to use?
#pidfile=/dev/null

# Which charset to use?
charset=iso-8859-1"

有人知道这个错误可能是什么吗?

EN

回答 1

Stack Overflow用户

发布于 2020-12-24 18:11:59

日志上写了什么?

也许用户没有读取或访问/home/santiago/catkin_ws/src/map_nav_manager/./web/.的权限

票数 -2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62294046

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档