Docker container

after I loaded the container, and launch it, nothing is listening to port 8162 in container, lpar2rrd is not running in container.

Comments

  • in the container,
    bash-5.1# netstat -antup
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      989/httpd
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      992/sshd: /usr/sbin
    tcp6       0      0 :::22                   :::*                    LISTEN      992/sshd: /usr/sbin
    udp        0      0 0.0.0.0:54538           0.0.0.0:*                           991/rsyslogd
    bash-5.1# ps -ef
    PID   USER     TIME  COMMAND
        1 root      0:00 {startup.sh} /bin/bash /startup.sh
      987 root      0:00 {supervisord} /usr/bin/python3 /usr/bin/supervisord -c /etc/supervisord.conf -l /var/log/supe
      989 root      0:00 /usr/sbin/httpd -DFOREGROUND
      990 root      0:00 /usr/sbin/crond -f -L /dev/stdout
      991 root      0:00 /usr/sbin/rsyslogd -n
      992 root      0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
      997 lpar2rrd  0:00 /usr/sbin/httpd -DFOREGROUND
      998 lpar2rrd  0:00 /usr/sbin/httpd -DFOREGROUND
      999 lpar2rrd  0:00 /usr/sbin/httpd -DFOREGROUND
     1000 lpar2rrd  0:00 /usr/sbin/httpd -DFOREGROUND
     1001 lpar2rrd  0:00 /usr/sbin/httpd -DFOREGROUND
     1002 lpar2rrd  0:00 /usr/sbin/httpd -DFOREGROUND
     1515 root      0:00 bash
     1522 root      0:00 ps -ef
    bash-5.1#


  • Have you just build the container? Is it less than 1 hour ago?
    You should see the UI already, try it.
  • Thank you Pavel. You are exactly correct. I just checked after I saw your comments,  now I see lpar2rrd daemon is running in the container and listening to port 8162:
    bash-5.1# netstat -antup
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:8162            0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      989/httpd
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      992/sshd: /usr/sbin
    tcp6       0      0 :::22                   :::*                    LISTEN      992/sshd: /usr/sbin
    udp        0      0 0.0.0.0:54538           0.0.0.0:*                           991/rsyslogd
    bash-5.1#

    bash-5.1# ps -ef | grep lpar2rrd | grep  daemon
     1655 lpar2rrd  0:00 /usr/bin/perl /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl
    bash-5.1#

    and I see the web ui also on port 8080 which I am testing.

    So just wait a little ( several minutes, maybe. it is all working now!

Sign In or Register to comment.