Db2

 View Only
Expand all | Collapse all

dmc db2 docker ibmcom/db2console APIError: HWCBAS0030E: The requested resource is not found in service dbapi

  • 1.  dmc db2 docker ibmcom/db2console APIError: HWCBAS0030E: The requested resource is not found in service dbapi

    Posted Thu April 20, 2023 08:02 AM

    I start docker container from "ibmcom/db2console" , login to dmc  via www and start configure REPO.
    When it's finish on the web i see "HWCBAS0030E: The requested resource is not found in service dbapi."

    [ERROR] [ErrorService] - APIError: HWCBAS0030E: The requested resource is not found in service dbapi. {"req":{"url":"/dbapi/v4/monitorprofile/eventmonitor/optin","requestId":"18799279-666b-ca35-b23d-b34ea7019705","method":"GET","headers":{"X-Request-ID":"18799279-666b-ca35-b23d-b34ea7019705","ucUserID":"********","X-DB-Profile":"undefined","Authorization":"********","Accept":"application/json","Content-Type":"application/json"}},"res":{"status":404,"data":{"trace":"18799279-666b-ca35-b23d-b34ea7019705","errors":[{"code":"not_found","message":"HWCBAS0030E: The requested resource is not found in service dbapi.","target":{"type":"","name":""},"more_info":""}]}}}

    When I go to "Administration -> Monitoring profile " there isn't  "default" profile
    I can't create any, nothing works



    ------------------------------
    Maciej Podstawka
    ------------------------------


  • 2.  RE: dmc db2 docker ibmcom/db2console APIError: HWCBAS0030E: The requested resource is not found in service dbapi

    Posted Mon July 10, 2023 10:22 AM
    Edited by Andres Parada Wed July 12, 2023 02:11 PM

    Had same error when i was running docker on fedora, tried running on ubuntu 20.04.2 and it works

    After some testing managed to run it without errors on fedora with --privileged and -e NAMESERVER=localhost



  • 3.  RE: dmc db2 docker ibmcom/db2console APIError: HWCBAS0030E: The requested resource is not found in service dbapi

    IBM Champion
    Posted Thu July 13, 2023 01:34 PM

    Ensure your container was initialised correctly. this cause the issue very often



    ------------------------------
    Youssef Sbai Idrissi
    Software Engineer
    ------------------------------