Forum Stats

  • 3,770,044 Users
  • 2,253,052 Discussions
  • 7,875,280 Comments

Discussions

SQL Plus not runnning on Windows Containers

User_EWK0D
User_EWK0D Member Posts: 2 Green Ribbon


mcr.microsoft.com/windows/servercore:ltsc2019

mcr.microsoft.com/windows:20H2

Tried to install it using the following files to complete the installation :

instantclient-basiclite-windows.x64-19.12.0.0.0dbru.zip

instantclient-sqlplus-windows.x64-19.12.0.0.0dbru.zip

Tired same for version 12 as well. [Main objective is to get sqlplus 12 working.]

Unzipped the file and added the path in environment variable.

While the same installation works fine on the windows system and the sqlplus command works. But in the container nothing is displayed on the console. It identifies the sqlplus commands but does nothing. The process is not getting started.

Attaching screenshots for the same. [on mcr.microsoft.com/windows/servercore:ltsc2019]

  • For SQLPLUS 19
  • Here the PATH is added for the installation. But SQLPLUS command returns nothing. Same output with :
  • sqlplus -v or sqlplus {logincred}.
  • .
  • For SQLPLUS 12


  • Systeminfo for the windows docker container.


Same issue is seen with msi installer method.

Compared all dll files with the ones on the system. msvcr100.dll was missing on the container that was added, but it didn't seem to help.

Can't seem to debug the issue as there are no logs getting generated, no process is created for sqlplus.exe.

Best Answer

  • User_H3J7U
    User_H3J7U Member Posts: 689 Silver Trophy
    Accepted Answer

    Instant Client Installation for Microsoft Windows 64-bit

    ...

    4. Download and install the correct Visual Studio Redistributable from Microsoft. Instant Client 19 requires the Visual Studio 2017 redistributable. Instant Client 18 and 12.2 require the Visual Studio 2013 redistributable. Instant Client 12.1 requires the Visual Studio 2010 redistributable.

    ...

    User_EWK0D

Answers

  • User_H3J7U
    User_H3J7U Member Posts: 689 Silver Trophy
    Accepted Answer

    Instant Client Installation for Microsoft Windows 64-bit

    ...

    4. Download and install the correct Visual Studio Redistributable from Microsoft. Instant Client 19 requires the Visual Studio 2017 redistributable. Instant Client 18 and 12.2 require the Visual Studio 2013 redistributable. Instant Client 12.1 requires the Visual Studio 2010 redistributable.

    ...

    User_EWK0D