systemtap:while resolving probe point: identifier 'process' at source: probe process().function no match

I had installed nginx and lua in my docker image, but I didn’t install nginx on my physical CentOS system. I “docker run my image” and start nginx on my physical CentOS system. So the nginx master and worker process are working. I run an example of nginx-systemtap-toolkit. I run:

sudo ./ngx-active-reqs -p 24945

24945 is worker process id. errors as following:

  • Ping work but Java code fails with host is unreachable in Docker
  • docker swarm - if the container in a service dies on an error, will the task be replicated elsewhere?
  • Implications of exposing /var/lib/docker over NFS to serve hosts with limited memory
  • RabbitMQ cluster fails when one node is not reachable
  • execSync compilation failed with npm 3
  • Start Docker container with random host port and return the port to use it elsewhere
  • semantic error: while resolving probe point: identifier 'process' at <input>:6:7
        source: probe   process("/data1/nginx/sbin/nginx").function("ngx_process_events_and_timers"),
                        ^
    semantic error: no match
    Pass 2: analysis failed.  [man error::pass2]
    Number of similar error messages suppressed: 1
    

    In fact, “/data1/nginx/sbin/nginx” is the nginx path in docker image, nginx is not installed on my physical system. So whether I must install nginx on my physical system , or is there other method to use nginx’s process function? I don’t know how to solve the problem.

  • artifactory oss docker 5.0.0 upgraded to 5.1.0 now it won't start
  • Installing MySQL in Docker fails with error message “Can't connect to local MySQL server through socket”
  • Install node in Dockerfile?
  • Docker images across multiple disks
  • Get service file information using docker container id
  • Implementing a CI/Deployment Pipeline for a Node app
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.