MEM Agent Installation Fails - : Permission denied

(Doc ID 2315386.1)

Last updated on OCTOBER 11, 2017

Applies to:

MySQL Enterprise Monitor - Version 3.3 to 3.4 [Release 3.3 to 3.0]
Linux x86-64


MEM Agent installation fails with an error like below:

MySQL Enterprise Monitor Options

Hostname or IP address]: localhost

Tomcat SSL Port [18443]:

The following are the username and password that the Agent will use to
to the Monitor. They were defined when you installed the Monitor. They can
modified under Settings, Manage Users. Their role is defined as "agent".

Agent Username [agent]:

Agent Password [********] :
Re-enter [********] :
Warning: Error running su mysql -c '"/opt/mysql/enterprise/agent/bin/" -f --agent-user=agent --url=https://localhost:18443 ':sh: /opt/mysql/enterprise/agent/bin/ Permission denied

Press [Enter] to continue:



 As of MEM 3.3.3, there has been a change in which is quoted here.

As of this release, it is not possible to run from the command line as root, but only as mysql.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms