ilkerccom / bitcrackrandomiser

Solo pool for Bitcoin Puzzle Transaction 66, 67 and 68.
https://btcpuzzle.info/
MIT License
73 stars 38 forks source link

Error when running BitcrackRandomiser.dll #51

Open luongthomas opened 1 month ago

luongthomas commented 1 month ago

Hi, I've gotten the docker image ilkercndk/bitcrackrandomiser:latest to run on my machine and after running dotnet BitcrackRandomiser.dll <arguments>, I ran into a Permission Denied issue

Here is the command I ran it with

dotnet BitcrackRandomiser.dll target_puzzle=38 user_token=<my_token> wallet_address=<my_wallet_address> app_type=bitcrack app_path=cuBitcrack app_arguments="-b 128 -t 256 -p 1024" test_mode=true scan_type=default gpu_count=1 gpu_index=0 scan_rewards=true custom_range=none api_share=none telegram_share=false telegram_accesstoken=0 telegram_chatid=0 telegram_share_eachkey=false untrusted_computer=false force_continue=false private_pool=none
[2024-08-25-02:53:56] [Info] [v1.3.1.1] [bitcrack] starting... Puzzle: [TEST]
[2024-08-25-02:53:56] [Info] Target address:
[2024-08-25-02:53:56] [Info] Test mode is active.
[2024-08-25-02:53:56] [Info] Scan type(s): [1] scan type(s) have been set.
[2024-08-25-02:53:56] [Info] API share: False / Telegram share: False
[2024-08-25-02:53:56] [Info] Untrusted computer: False
[2024-08-25-02:53:56] [Info] Progress: Visit the [btcpuzzle.info] for statistics.
[2024-08-25-02:53:56] [Info] Worker name: 

--------------------------------------------------------------------------------------------------------------------------------
Unhandled exception. System.AggregateException: One or more errors occurred. (An error occurred trying to start process '/app/bitcrackrandomiser/bitcrack/./cuBitcrack' with working directory '/app/bitcrackrandomiser'. Permission denied)
 ---> System.ComponentModel.Win32Exception (13): An error occurred trying to start process '/app/bitcrackrandomiser/bitcrack/./cuBitcrack' with working directory '/app/bitcrackrandomiser'. Permission denied
   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 System.Diagnostics.Process.Start()
   at BitcrackRandomiser.Randomiser.Scan(Settings settings, Int32 gpuIndex) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Randomiser.cs:line 234
   at BitcrackRandomiser.Program.<>c__DisplayClass2_0.<Main>b__3(Int32 i) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Program.cs:line 66
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body)
   at BitcrackRandomiser.Program.Main(String[] args) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Program.cs:line 62
Aborted

Thank you