giovtorres / slurm-docker-cluster

A Slurm cluster using docker-compose
MIT License
293 stars 171 forks source link

standard_init_linux.go:228: exec user process caused: no such file or directory on Windows #19

Closed marcdexet-cnrs closed 2 years ago

marcdexet-cnrs commented 2 years ago

Context

Steps to reproduce

slurmdbd   | standard_init_linux.go:228: exec user process caused: no such file or directory
slurmdbd exited with code 1
slurmctld  | standard_init_linux.go:228: exec user process caused: no such file or directory
slurmctld exited with code 1
c2         | standard_init_linux.go:228: exec user process caused: no such file or directory
c1         | standard_init_linux.go:228: exec user process caused: no such file or directory
marcdexet-cnrs commented 2 years ago

I found out the solution and applied it

See https://stackoverflow.com/questions/68881023/docker-standard-init-linux-go228-exec-user-process-caused-no-such-file-or-dir

Now it's OK.

marcdexet-cnrs commented 2 years ago

May a .gitattribute file be the solution

https://stackoverflow.com/a/42135910

marcdexet-cnrs commented 2 years ago

For windows users who encounter problems as

slurm-dbd  | -- Waiting for database to become active ...
' (2)-dbd  | ERROR 2005 (HY000): Unknown MySQL server host 'mysql
slurm-dbd  | -- Waiting for database to become active ..

for a very long time after getting up, maybe we need to update also README with

git rm --cached -r . # Remove every file from git's index. git reset --hard

giovtorres commented 2 years ago

Closed in #20 . Thanks for your contribution.