Hi Vivek,
php agent "undefined symbol: shm_unlink" on Ubuntu has been reported to us before.
Ubuntu is not supported for the php agent and you can see the supported OS versions here on the Product Compatibility Matrix: PCM for CA Software - Agile Operations Product Compatibility Search
64-bit CentOS/RedHat Enterprise Linux (RHEL) 5.5+ and 6.5+, SUSE 11.
php versions: 5.3.x, 5.4.x, 5.5, 5.6, 7.0 & 7.1
Apache WebServer 2.2.x
Sorry I don't have better news on this.
Regards,
Lynn