Layer7 API Management

 View Only
  • 1.  API POrtal issue

    Posted Oct 10, 2019 05:18 AM
    Edited by Pratyush Singh Oct 10, 2019 07:00 AM
    Hi Team,

    I have 2 environments and I ran below 1 command in both environments but for one getting output and for other one I am not getting anything, Can someone please suggest how to proceed:

    1.) 
    bash-4.2# docker ps |grep portal_apim
    f30b2684475d apim-portal.packages.ca.com/apim-portal/ingress:4.2.9 "/usr/local/bin/dumb…" 5 days ago Up 5 days (healthy) portal_apim.s3r3s8xdory4hpi6ihnsw4mkk.lkmfqrwc9q6b2tmi69d0kelw7

    But in other environment no output : 

    2.) bash-4.2# docker ps |grep portal_apim
    bash-4.2#
     
    How to proceed further or how can I get the same process status for ingress. Please help. Also due to which I am seeing as below:

    bash-4.2# docker inspect $(docker ps --filter name=portal_apim -q) | grep SSG_ADMIN_PASSWORD
    "docker inspect" requires at least 1 argument.
    See 'docker inspect --help'.

    Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] [flags]

    Return low-level information on Docker objects


    Thanks
    Praty


  • 2.  RE: API POrtal issue

    Broadcom Employee
    Posted Oct 13, 2019 08:07 PM
    Dear Praty,
    Have you run the status.sh under the portal install folder to ensure portal is running ?

    Regards,
    Mark


  • 3.  RE: API POrtal issue

    Broadcom Employee
    Posted Oct 16, 2019 08:01 PM
    Dear Praty,
    As mentioned, tt depends on how the docker is configured, if you cannot find docker logs in messages file, you may try the journal log,
    journalctl -u docker.service

    Regards,
    Mark


  • 4.  RE: API POrtal issue
    Best Answer

    Broadcom Employee
    Posted Oct 15, 2019 07:30 PM
    Dear Praty,
    As per your email, the docker daemon seems to have problem.
    - enable docker service,
    systemctl enable docker
    - restart docker service,
    systemctl restart docker
    - check docker status and last few logs
    systemctl status docker

    If you still have problem to start docker, you may check /var/log/messages (depends on the settings of docker, the docker log may be somewhere else)

    Regards,
    Mark