apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Permission Denied when running scripts/bootstrap.sh

Open michaelowenliu opened this issue 7 years ago • 6 comments

root@in_dev_docker:/apollo# sudo bash scripts/bootstrap.sh scripts/bootstrap.sh: line 30: ./scripts/monitor.sh: Permission denied scripts/bootstrap.sh: line 31: ./scripts/dreamview.sh: Permission denied root@in_dev_docker:/apollo# bash scripts/bootstrap.sh scripts/bootstrap.sh: line 30: ./scripts/monitor.sh: Permission denied scripts/bootstrap.sh: line 31: ./scripts/dreamview.sh: Permission denied

michaelowenliu avatar Mar 19 '19 08:03 michaelowenliu

find . -name "*.sh" | xargs chmod a+x find . -name "*.bash" | xargs chmod a+x

Eclipsehelio avatar Mar 19 '19 12:03 Eclipsehelio

find . -name ".sh" | xargs chmod a+x find . -name ".bash" | xargs chmod a+x

@Eclipsehelio Hi, Thank you. solve this problem. Now dreamview webpage shows nothing. Module monitor and dreamview are running. I have followed previous issues already, but it still fails to show.

My host server is Ubuntu 18.04

root@in_dev_docker:/apollo# sudo bash scripts/bootstrap.sh Module monitor is already running - skipping. Module dreamview is already running - skipping.

michaelowenliu avatar Mar 20 '19 01:03 michaelowenliu

@michaelowenliu Sorry for the delayed response. Are you visiting dreamview on another computer? What's the web browser you are using(recommended to use firefox)? I think you should use wget command to verify that dreamview is actually running in the docker container firstly, just like this: wget localhost:8888 As the first step is ok, then you could do it outside the container. Or all the above steps do failed, could you upload the dreamview's log(/apollo/data/log/)?

Eclipsehelio avatar Mar 20 '19 12:03 Eclipsehelio

@michaelowenliu Sorry for the delayed response. Are you visiting dreamview on another computer? What's the web browser you are using(recommended to use firefox)? I think you should use wget command to verify that dreamview is actually running in the docker container firstly, just like this: wget localhost:8888 As the first step is ok, then you could do it outside the container. Or all the above steps do failed, could you upload the dreamview's log(/apollo/data/log/)?

@Eclipsehelio Hi, after updating the repo, it works. Thank you.

michaelowenliu avatar Mar 21 '19 01:03 michaelowenliu

monitor.log.info.20190819-174547.13339 Log file created at: 2019/08/19 17:45:47 Running on machine: in_dev_docker Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg I0819 17:45:47.556493 13339 class_loader_utility.h:78] registerclass:Monitor,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/monitor/libmonitor.so

omaidb avatar Aug 19 '19 11:08 omaidb

log.tar.gz 这是相关的日志

omaidb avatar Aug 19 '19 11:08 omaidb