Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/27.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
Linux AWS监督员spawnerr:can';在Ubuntu上找不到命令_Linux_Ubuntu_Amazon Web Services_Supervisord - Fatal编程技术网

Linux AWS监督员spawnerr:can';在Ubuntu上找不到命令

Linux AWS监督员spawnerr:can';在Ubuntu上找不到命令,linux,ubuntu,amazon-web-services,supervisord,Linux,Ubuntu,Amazon Web Services,Supervisord,最近,我正在使用数字海洋云实例,并设置了如下运行的监控程序: [program:programname] command=/root/programnamefolder/src/programnameexecutable stdout_logfile=/var/log/supervisor/%(program_name)s.log stderr_logfile=/var/log/supervisor/%(program_name)s.log autorestart=true 但当我在amazo

最近,我正在使用数字海洋云实例,并设置了如下运行的监控程序:

[program:programname]
command=/root/programnamefolder/src/programnameexecutable
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
autorestart=true
但当我在amazon上切换到相同的Ubuntu设置时,我的主管无法找到命令 我猜这是因为根设置等,这是不同的亚马逊实例 我做错什么了吗? 谢谢


解决了这个问题,ubuntu用户使用了amazon实例而不是root,所以它是

/ubuntu/home/programfolder
希望这对其他人有帮助:)

/ubuntu/home/programfolder