Coder Social home page Coder Social logo

IOError KMSDatabase not found about py-kms HOT 4 CLOSED

thunderex avatar thunderex commented on July 25, 2024
IOError KMSDatabase not found

from py-kms.

Comments (4)

ThunderEX avatar ThunderEX commented on July 25, 2024

I tried again and find no problem. do you have KmsDataBase.xml? what's its location?

from py-kms.

 avatar commented on July 25, 2024

I've just done a "git clone" of your reposity, so this file is at the root of the py-kms directory.

When i setup py-kms from scratch, I do the following :
cd /root
git init
git clone py-kms
chmod +x /root/py-kms/*.py (make all Python scripts executable)
cd /root/py-kms/pyaes/ && chmod +x ./*.py (same thing here)
cd /root
Then I manually launch the service :
python ./py-kms/server.py 10.0.0.254 -v
Then the socket is created successfully but KMS requests fails with the "File not found" error described above.

So as you can see, I don't do anything fancy.

But something might be wrong though.

from py-kms.

ThunderEX avatar ThunderEX commented on July 25, 2024

It's due to you execute from /root instead of dir of py-kms. And I introduce a bug that it only look for KmsDataBase.xml in current work dir. So it didn't find that xml file.
I've fix it. Thanks a lot and please check latest update!

from py-kms.

 avatar commented on July 25, 2024

Hello,

Yay, it works again.

Thank you. :)

Cheers.

from py-kms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.