Open lixiaodongsql opened 10 hours ago
When I enable the Tun mode of Linux version v2rayN 7.1.0, An error occurred trying to start process '/bin/sudo' with working directory '/the location that I store v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory
Although I save my sudo password in Tun mode settings, and I run Linux version v2rayN 7.1.0 as non-administrator in Ubuntu 18.04, v2rayN 7.1.0 can not work in Tun mode in Ubuntu 18.04
Send out log Is there any space in your app running directory?
There is no space in the name of the folder which I store Linux version v2rayN 7.1.0 program files
2024-11-14 16:59:45.7474-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/v2rayN 2024-11-14 16:59:45.7637-INFO Unix 4.15.0.22 - 64 2024-11-14 16:59:47.6848-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.) 2024-11-14 16:59:47.6848-DEBUG 2024-11-14 16:59:47.6848-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-11-14 16:59:47.6912-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.) 2024-11-14 16:59:47.6912-DEBUG 2024-11-14 16:59:47.6912-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-11-14 16:59:47.7324-INFO UpdateTaskRunGeo 2024-11-14 17:00:47.7289-INFO UpdateTaskRunSubscription 2024-11-14 17:01:03.4818-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 17:01:03.4835-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) 2024-11-14 17:02:44.6209-INFO MyAppExit Begin 2024-11-14 17:02:44.6557-INFO MyAppExit End 2024-11-14 17:02:44.6671-INFO OnClosing -> ApplicationShutdown 2024-11-14 17:02:44.6671-INFO MyAppExit Begin 2024-11-14 20:04:04.6335-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/v2rayN 2024-11-14 20:04:04.6489-INFO Unix 4.15.0.22 - 64 2024-11-14 20:04:06.3989-INFO UpdateTaskRunGeo 2024-11-14 20:04:06.6311-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 20:04:06.6311-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) 2024-11-14 20:04:19.9474-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/the location which I store Linux version v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 20:04:19.9474-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) 2024-11-14 20:05:06.3987-INFO UpdateTaskRunSubscription 2024-11-14 20:05:11.7080-INFO MyAppExit Begin 2024-11-14 20:05:11.7453-INFO MyAppExit End 2024-11-14 20:05:11.7476-INFO OnClosing -> ApplicationShutdown 2024-11-14 20:05:11.7476-INFO MyAppExit Begin
Above is the contents of the file in the guiLogs folder
Do not replace any strings in the log
2024-11-14 16:59:45.7474-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/directory/v2rayN-7.1.0/v2rayN-linux-64/v2rayN 2024-11-14 16:59:45.7637-INFO Unix 4.15.0.22 - 64 2024-11-14 16:59:47.6848-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.) 2024-11-14 16:59:47.6848-DEBUG 2024-11-14 16:59:47.6848-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-11-14 16:59:47.6912-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.) 2024-11-14 16:59:47.6912-DEBUG 2024-11-14 16:59:47.6912-ERROR System.NullReferenceException: Object reference not set to an instance of an object. 2024-11-14 16:59:47.7324-INFO UpdateTaskRunGeo 2024-11-14 17:00:47.7289-INFO UpdateTaskRunSubscription 2024-11-14 17:01:03.4818-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 17:01:03.4835-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) 2024-11-14 17:02:44.6209-INFO MyAppExit Begin 2024-11-14 17:02:44.6557-INFO MyAppExit End 2024-11-14 17:02:44.6671-INFO OnClosing -> ApplicationShutdown 2024-11-14 17:02:44.6671-INFO MyAppExit Begin 2024-11-14 20:04:04.6335-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/directory/v2rayN-7.1.0/v2rayN-linux-64/v2rayN 2024-11-14 20:04:04.6489-INFO Unix 4.15.0.22 - 64 2024-11-14 20:04:06.3989-INFO UpdateTaskRunGeo 2024-11-14 20:04:06.6311-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 20:04:06.6311-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) 2024-11-14 20:04:19.9474-DEBUG An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory,An error occurred trying to start process '/bin/sudo' with working directory '/home/directory/v2rayN-7.1.0/v2rayN-linux-64/guiConfigs'. No such file or directory 2024-11-14 20:04:19.9474-DEBUG at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) 2024-11-14 20:05:06.3987-INFO UpdateTaskRunSubscription 2024-11-14 20:05:11.7080-INFO MyAppExit Begin 2024-11-14 20:05:11.7453-INFO MyAppExit End 2024-11-14 20:05:11.7476-INFO OnClosing -> ApplicationShutdown 2024-11-14 20:05:11.7476-INFO MyAppExit Begin
The name of the folder which I store Linux version v2rayN 7.1.0 program files has no space
相关问题
When I enable the Tun mode of Linux version v2rayN 7.1.0, An error occurred trying to start process '/bin/sudo' with working directory '/the location that I store v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory
描述你希望的解决方案
When I enable the Tun mode of Linux version v2rayN 7.1.0, An error occurred trying to start process '/bin/sudo' with working directory '/the location that I store v2rayN 7.1.0 program files/v2rayN-linux-64/guiConfigs'. No such file or directory
描述你所考虑的替代方案
No response
我确认已查询历史issues