|
SmobilerService已经成功部署到了Linux上,Linux发行版是Ubuntu Server 20.04,运行时环境 .net core 3.1添加应用后,运行提示如下:
- 2023/03/02 08:48:17 [SmobilerProcess8180_RunSingleProcess_Ex] System.Exception: /home/imarmot/www/les/SmobilerProcess8180.dll文件不存在!
- at x78kiAThmELNWaiToD.E7bL8XDcr47HOx90p7.zAnhjp1jeE()
- 2023/03/02 08:48:17 [SmobilerProcess8180_StopSingleProcess] for RunSingleProcess_Finally server status True deamon status False
复制代码 同样的东西,在Windows Server下运行没问题。
我将SmobilerService下 server/bin/netcoreapp3.1/下的SmobilerProcess.dll和SmobilerProcess.runtimeconfig.json重命名后放到了
/home/imarmot/www/les目录下。依然无法运行。日至如下:
- 2023/03/02 08:57:42 [SmobilerProcess8180_RunSingleProcess] Init:listenval=60 MaxMemory=0 IsHidden=False
- 2023/03/02 08:57:43 [SmobilerProcess8180_RunSingleProcess_While_Ex] System.Exception: Process HasExited with code 0
- at x78kiAThmELNWaiToD.E7bL8XDcr47HOx90p7.zAnhjp1jeE()
- 2023/03/02 08:57:43 [SmobilerProcess8180_StopSingleProcess] for RunSingleProcess_While_Finally server status True deamon status False
- 2023/03/02 08:57:43 [SmobilerProcess8180_StopSingleProcess] Begin Leap......
- 2023/03/02 08:57:43 [SmobilerProcess8180_StopSingleProcess] Leap Sucessful.....
- 2023/03/02 08:57:43 [SmobilerProcess8180_StopSingleProcess] for RunSingleProcess_Finally server status True deamon status False
复制代码
请问Smobiler应用可以运行在Linux下吗?如果仅仅SmobilerService能运行在Linux就没有意义了。
开发Smobiler应用时,目标框架只能选择 .Net Framework,无法选择.net Core。
所以我怀疑是.Net Framework的问题,又在Linux上安装了Mono。Smobiler应用依然无法运行起来。
请问如何能让Smobiler应用运行起来?谢谢。
|
|