【.netcore学习】.netcore添加到 supervisor 守护进程自启动报错
2018-01-19 16:02
513 查看
配置 supervisor
启动 supervisor 的时候
报错log如下:
尚未查到原因
[program:HelloWebApp] command=dotnet run directory=/home/python/dotnet/myweb/mywebapi environment=ASPNETCORE__ENVIRONMENT=Production user=root stopsignal=INT autostart=true autorestart=true startsecs=1 stderr_logfile=/var/log/HelloWebApp.err.log stdout_logfile=/var/log/HelloWebApp.out.log
启动 supervisor 的时候
报错log如下:
python@ubuntu:~/dotnet/myweb/mywebapi$ sudo service supervisor stop python@ubuntu:~/dotnet/myweb/mywebapi$ sudo service supervisor start python@ubuntu:~/dotnet/myweb/mywebapi$ cat /var/log/HelloWebApp.err.log System.ArgumentNullException: Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at Microsoft.DotNet.Configurer.CliFallbackFolderPathCalculator.get_DotnetUserProfileFolderPath() at Microsoft.DotNet.Configurer.FirstTimeUseNoticeSentinel..ctor(CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator) at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient) at Microsoft.DotNet.Cli.Program.Main(String[] args) System.ArgumentNullException: Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at Microsoft.DotNet.Configurer.CliFallbackFolderPathCalculator.get_DotnetUserProfileFolderPath() at Microsoft.DotNet.Configurer.FirstTimeUseNoticeSentinel..ctor(CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator) at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient) at Microsoft.DotNet.Cli.Program.Main(String[] args)
尚未查到原因
相关文章推荐
- 在Ubuntu中和Android中添加开机自启动的守护进程
- 【09.03.24】在Ubuntu中和Android中添加开机自启动的守护进程
- 在Ubuntu中和Android中添加开机自启动的守护进程
- 进程守护supervisor之学习路线
- 一种较方便在Android中添加开机自启动的守护进程的方法
- 一种较方便在Android中添加开机自启动的守护进程的方法
- 在Ubuntu中和Android中添加开机自启动的守护进程
- 在Ubuntu中和Android中添加开机自启动的守护进程
- ubuntu 守护进程supervisor的安装及使用(转载)
- 守护进程二三事与Supervisor
- linux(Debian)配置supervisor守护进程
- UNIX再学习 -- 守护进程(转)
- Mjpeg-streamer源码学习笔记-Main-守护进程Daemon(二)
- 使用Supervisor守护Python进程
- Linux学习-守护进程
- supervisor运行golang守护进程
- nginx学习十三 初始fork和nginx守护进程ngx_daemon
- Linux进程学习总结---孤儿进程和守护进程
- Linux下学习守护进程的笔记
- Gradle学习(四)——Gradle守护进程