Bug #61430 Installer restarts agent multiple times
Submitted: 7 Jun 2011 8:44 Modified: 9 Nov 2015 15:34
Reporter: Daniël van Eeden Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:2.3.4.2075 OS:Any
Assigned to: CPU Architecture:Any

[7 Jun 2011 8:44] Daniël van Eeden
Description:
# ./mysqlmonitoragent-2.3.4.2075-linux-glibc2.3-x86-64bit-update-installer.bin
--snip--
Restart Agent immediately after updating all files [Y/n]: Y
--snip--
Starting MySQL Enterprise agent service...                 [  OK  ]
----------------------------------------------------------------------------
Setup has finished installing MySQL Enterprise Monitor Agent Update on your 
computer.

Restart MySQL Enterprise Monitor Agent now [Y/n]: 
--snip--

How to repeat:
[root@host1 user1]# ./mysqlmonitoragent-2.3.4.2075-linux-glibc2.3-x86-64bit-update-installer.bin 
Language Selection

Please select the installation language
[1] English - English
[2] Japanese - 日本語
Please choose an option [1] : 
----------------------------------------------------------------------------
Welcome to the setup wizard for the MySQL Enterprise Monitor Agent Update

----------------------------------------------------------------------------
Please specify the directory that contains the previous installation of the 
MySQL Enterprise Monitor Agent

Installation directory [/opt/mysql/enterprise/agent]: /opt/mysqlenterprise/agent

----------------------------------------------------------------------------
Backup and Restart Options

Do you want to create a backup during the update process?

Backup the current installation [Y/n]: 

Backup directory [/opt/mysqlenterprise/agent/patchbackup]: 

Restart Agent immediately after updating all files [Y/n]: 

----------------------------------------------------------------------------
Setup is now ready to begin installing MySQL Enterprise Monitor Agent Update on 
your computer.

Do you want to continue? [Y/n]: 

----------------------------------------------------------------------------
Please wait while Setup installs MySQL Enterprise Monitor Agent Update on your 
computer.

 Installing
 0% ______________ 50% ______________ 100%
 |Warning: The Agent account in the MySQL server does not have the following 
required privileges:

CREATE
INSERT

Please grant these privileges for the Agent user in the MySQL server.
Press [Enter] to continue :
#########################################

Starting MySQL Enterprise agent service...                 [  OK  ]
----------------------------------------------------------------------------
Setup has finished installing MySQL Enterprise Monitor Agent Update on your 
computer.

Restart MySQL Enterprise Monitor Agent now [Y/n]: 

View Readme File [Y/n]: n

[root@host1 user1]# Starting MySQL Enterprise agent s[  OK  ].(already running)

[root@host1 user1]# 

Suggested fix:
Remove "Restart MySQL Enterprise Monitor Agent now [Y/n]:" if restart was accepted earlier in the installation process.
[9 Nov 2015 15:34] Mark Leith
Not an issue in 3.x.