GithubHelp home page GithubHelp logo

Comments (1)

bimalkjha avatar bimalkjha commented on August 25, 2024

@lucaskuperman Yes, the license info get cached under Common App Data Path as displayed in db2cli validate output and it is C:\ProgramData\IBM\DB2\C_Users_052664613_git_umar_umar-fun_node_modules_ibm_db_installer_clidriver in your case.

When ibm_db and actually clidriver tries to connect to Db2 for z/OS or Db2 for iSeries server, license check happens for first connection and get stored in cache file on disk. The license may be at client side or on server using db2connectactivate utility. clidriver checks for both client and server side db2connect license.
If a valid license found, clidriver cache the license info in Common App Data Path\license\nodelock and nodelock.bak files for Windows and in Install Dir\license\nodelock and nodelock.bak files for non-Windows systems. Next license check happens after 7 days only. Till 7 days, if clidriver founds license info in cache, it allows connection.
License info also get cached in .....clidriver\cfgcache\conlic.bin file for server side db2connect license.

So, to enforce license check after deleting the license file, you need to delete C:\ProgramData\IBM\DB2\C_Users_052664613_git_umar_umar-fun_node_modules_ibm_db_installer_clidriver\license\nodelock* files. Thanks.

from node-ibm_db.

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.