apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Failed to start Dreamview in a virtualized Ubuntu host

Open alhezmi72 opened this issue 1 year ago • 4 comments

I installed Apollo 8.0 in an Ubuntu virtual machine and tried going through the [https://github.com/ApolloAuto/apollo/blob/master/docs/02_Quick%20Start/apollo_8_0_quick_start.md](Apollo 8.0 Quick Start Guide) and updated the ports and DreamView IP:Port as per the recommendation stated above, but I got the same error message: [ERROR] Failed to start Dreamview. Please check /opt/apollo/neo/data/log/dreamview.log or /opt/apollo/neo/data/log/monitor.log for more information image

Output of the log file: /opt/apollo/neo/data/log/dreamview-dev.log

[ESC[1;32mcyber_launch_23165ESC[0m] ESC[1;32mINFO Launch file [/opt/apollo/neo/packages/dreamview-dev/latest/launch/dreamview.launch]ESC[0m [ESC[1;32mcyber_launch_23165ESC[0m] ESC[1;32mINFO ========================================================================================================================ESC[0m [ESC[1;32mcyber_launch_23165ESC[0m] ESC[1;32mINFO Load module [dreamview] binary: [dreamview --flagfile=/apollo/modules/common/data/global_flagfile.txt] [CYBER_DEFAULT] conf: [] exception_handler: [respawn]ESC[0m [ESC[1;32mcyber_launch_23165ESC[0m] ESC[1;32mINFO Start process [dreamview --flagfile=/apollo/modules/common/data/global_flagfile.txt] successfully. pid: 23167ESC[0m [ESC[1;32mcyber_launch_23165ESC[0m] ESC[1;32mINFO ------------------------------------------------------------------------------------------------------------------------ESC[0m

Output of the log file: /opt/apollo/neo/data/log/monitor-dev.log

[ESC[1;32mcyber_launch_23176ESC[0m] ESC[1;32mINFO Launch file [/opt/apollo/neo/packages/monitor-dev/latest/launch/monitor.launch]ESC[0m [ESC[1;32mcyber_launch_23176ESC[0m] ESC[1;32mINFO ========================================================================================================================ESC[0m [ESC[1;32mcyber_launch_23176ESC[0m] ESC[1;32mINFO Load module [monitor] library: [monitor] [CYBER_DEFAULT] conf: [/apollo/modules/monitor/dag/monitor.dag] exception_handler: []ESC[0m [ESC[1;32mcyber_launch_23176ESC[0m] ESC[1;32mINFO Start process [monitor] successfully. pid: 23178ESC[0m [ESC[1;32mcyber_launch_23176ESC[0m] ESC[1;32mINFO ------------------------------------------------------------------------------------------------------------------------ESC[0m [ESC[1;31mcyber_launch_23176ESC[0m] ESC[1;31mERROR Process [monitor] has died [pid 23178, exit code -4, cmd mainboard -d /apollo/modules/monitor/dag/monitor.dag -p monitor -s CYBER_DEFAULT].ESC[0m [ESC[1;32mcyber_launch_23176ESC[0m] ESC[1;32mINFO All processes has died.ESC[0m [ESC[1;32mcyber_launch_23176ESC[0m] ESC[1;32mINFO Cyber exit.ESC[0m [ESC[1;32mcyber_launch_23176ESC[0m] ESC[1;32mINFO All processes have been stopped.ESC[0m

Originally posted by @alhezmi72 in https://github.com/ApolloAuto/apollo/issues/14730#issuecomment-1820333884

alhezmi72 avatar Nov 21 '23 11:11 alhezmi72

兄弟你解决了吗,跟你一模一样的问题

lsm2842035890 avatar Dec 27 '23 12:12 lsm2842035890

No, I could not! I could run the simulator only on a non-virtualized Ubuntu machine, but not in a VM.

alhezmi72 avatar Dec 28 '23 05:12 alhezmi72

The cause of the error cannot be determined from the log you provided. Please start dreamview_plus again. If the startup fails, please execute the following two commands respectively and take screenshots of the output. I will continue to judge "tail -500f data/log/dreamview_plus.INFO" and "mainboard -d /apollo/modules/monitor/dag/monitor.dag"

WTSRUVF avatar Jan 02 '24 07:01 WTSRUVF

Thanks for your feedback! The error message is still there!

In fact, I have under the log directory only two log files: $>cd data/log dreamview-dev.log monitor-dev.log But I do not see the file: dreamview_plus.INFO

When I run the tail command: tail -500f data/log/dreamview-dev.log The initial logged messages are printed, but when I tried running the dreamview aem bootstrap start from a second screen, nothing is printed in the tail screen.

Regarding the second command, when I try running this command, the following output is prompted: $>mainboard -d /apollo/modules/monitor/dag/monitor.dag
Illegal instruction (core dumped)

alhezmi72 avatar Jan 03 '24 10:01 alhezmi72