missing lib error when installing MEM monitor agent
Posted by: Dayo Lasode
Date: March 05, 2018 05:54AM

Version: MEM v4.0.3.5192
OS version: Ubuntu 16.04 LTS (x86_64)
OS Kernel: 4.4.0-116-generic


Currently evaluating the MEM within a sandbox environment for demonstration before purchase consideration and I got the below error while trying an unattended install of the agent on a test target.

root@dbbox1:~# ./agent.sh
Unable to create symbolic link /opt/mysql/enterprise/agent/java/lib/amd64/server/libjsig.so -> ../libjsig.so
There has been an error.
Unable to create symbolic link /opt/mysql/enterprise/agent/java/lib/amd64/server/libjsig.so -> ../libjsig.so

root@dbbox1:~# cat agent.sh
./mysqlmonitoragent- \
--agent_installtype database \
--agentpassword testpass \
--agentuser agentlogin \
--generalpassword pa55word \
--generaluser memGeneral \
--limitedpassword pa55word \
--limiteduser memLimited \
--managerhost memsrv \
--mode unattended \
--mysqlconnectiongroup lab \
--mysqlconnmethod socket \
--mysqlport 3306 \
--agent_autocreate 0 \
--mysqlhost localhost \
--mysqluser memAdmin \
--mysqlpassword pa55word \
--mysqlsocket /var/run/mysqld/mysqld.sock

The file is actually missing from the package:

root@dbbox1:~# ls -l /opt/mysql/enterprise/agent/java/lib/amd64/server/libjsig.so
ls: cannot access '/opt/mysql/enterprise/agent/java/lib/amd64/server/libjsig.so': No such file or directory

The MEM server is running fine on the same OS version on a separate box

root@memsrv:~# mysqlmonitorctl.sh status
MySQL Enterprise MySQL is running
MySQL Enterprise Tomcat is running

I initially tried a GUI based installation and got the same error before attempting this. Any hints will be appreciated



Options: ReplyQuote

Written By
missing lib error when installing MEM monitor agent
March 05, 2018 05:54AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.