Error Starting MySQL Enterprise Monitor As Non-root User On Linux (Doc ID 2021476.1)

Last updated on JANUARY 18, 2017

Applies to:

MySQL Enterprise Monitor - Version 3.0 and later
Information in this document applies to any platform.

Goal

There are chances you might face problem in starting the MySQL monitor service as non-root user, when it was installed as root user on a Linux machines.

Possibly with an error message like below:

This is because the startup script is designed in such a way that the mysqld service will get started as "mysql" user and the tomcat service will get started as "mysqlmem" user. So, when attempted to start the service as non root user, the startup script tries to switch between users to start the tomcat as mysqlmem user, hence failing with restricted privilege.

Solution

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