Physical disk list
Pages: 1 2
admin
2,930 Posts
January 7, 2021, 5:37 pmQuote from admin on January 7, 2021, 5:37 pmCan you try copy-ing the entire /usr/lib/python3/dist-packages/PetaSAN/ from any working node then systemctl restart petasan-admin
Can you try copy-ing the entire /usr/lib/python3/dist-packages/PetaSAN/ from any working node then systemctl restart petasan-admin
shulemmosko
33 Posts
January 7, 2021, 6:25 pmQuote from shulemmosko on January 7, 2021, 6:25 pmDidn't help. im still getting the same error messages
Thanks!
Didn't help. im still getting the same error messages
Thanks!
admin
2,930 Posts
January 7, 2021, 6:35 pmQuote from admin on January 7, 2021, 6:35 pmcan you check the contents of /usr/bin/python is
#! /bin/bash
if [[ $1 = /opt/petasan/* ]] ; then
python="/usr/bin/python3.6"
else
python="/usr/bin/python2.7"
fi
exec $python "$@"
can you check the contents of /usr/bin/python is
#! /bin/bash
if [[ $1 = /opt/petasan/* ]] ; then
python="/usr/bin/python3.6"
else
python="/usr/bin/python2.7"
fi
exec $python "$@"
shulemmosko
33 Posts
January 7, 2021, 6:47 pmQuote from shulemmosko on January 7, 2021, 6:47 pmshould i create a shell script with the above code and run it?
should i create a shell script with the above code and run it?
admin
2,930 Posts
January 7, 2021, 6:56 pmQuote from admin on January 7, 2021, 6:56 pmit should already be there, if not then it could lead to problems. check the other nodes too.
if not there, yes do create it and chmod +x
it should already be there, if not then it could lead to problems. check the other nodes too.
if not there, yes do create it and chmod +x
shulemmosko
33 Posts
January 7, 2021, 7:16 pmQuote from shulemmosko on January 7, 2021, 7:16 pm🙂 that was the issue the python file on node1 was all gibberish looks like it somehow got corrupt, I replaced it with a new python file.
now everything is working fine.
Thank you!!!!!!
🙂 that was the issue the python file on node1 was all gibberish looks like it somehow got corrupt, I replaced it with a new python file.
now everything is working fine.
Thank you!!!!!!
Pages: 1 2
Physical disk list
admin
2,930 Posts
Quote from admin on January 7, 2021, 5:37 pmCan you try copy-ing the entire /usr/lib/python3/dist-packages/PetaSAN/ from any working node then systemctl restart petasan-admin
Can you try copy-ing the entire /usr/lib/python3/dist-packages/PetaSAN/ from any working node then systemctl restart petasan-admin
shulemmosko
33 Posts
Quote from shulemmosko on January 7, 2021, 6:25 pmDidn't help. im still getting the same error messages
Thanks!
Didn't help. im still getting the same error messages
Thanks!
admin
2,930 Posts
Quote from admin on January 7, 2021, 6:35 pmcan you check the contents of /usr/bin/python is
#! /bin/bash
if [[ $1 = /opt/petasan/* ]] ; then
python="/usr/bin/python3.6"
else
python="/usr/bin/python2.7"
fiexec $python "$@"
can you check the contents of /usr/bin/python is
#! /bin/bash
if [[ $1 = /opt/petasan/* ]] ; then
python="/usr/bin/python3.6"
else
python="/usr/bin/python2.7"
fiexec $python "$@"
shulemmosko
33 Posts
Quote from shulemmosko on January 7, 2021, 6:47 pmshould i create a shell script with the above code and run it?
should i create a shell script with the above code and run it?
admin
2,930 Posts
Quote from admin on January 7, 2021, 6:56 pmit should already be there, if not then it could lead to problems. check the other nodes too.
if not there, yes do create it and chmod +x
it should already be there, if not then it could lead to problems. check the other nodes too.
if not there, yes do create it and chmod +x
shulemmosko
33 Posts
Quote from shulemmosko on January 7, 2021, 7:16 pm🙂 that was the issue the python file on node1 was all gibberish looks like it somehow got corrupt, I replaced it with a new python file.
now everything is working fine.
Thank you!!!!!!
🙂 that was the issue the python file on node1 was all gibberish looks like it somehow got corrupt, I replaced it with a new python file.
now everything is working fine.
Thank you!!!!!!