Bug #22478 Agent unInstall incomplete (empty dirs 'log' and 'run' remains) (br 1515)

Submitted: 19 Sep 2006 15:10 Modified: 10 Nov 2006 11:27
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:0.6.17 - 0.7.13 OS:multiple, except Windows
Assigned to: Keith Russell CPU Architecture:Any

[19 Sep 2006 15:10] Carsten Segieth
Description:
after unInstall (BitRock 0.6.17) the directories 

 ...\log
 ...\run

and the main directory remains on the system. 

Detected with RH4, Suse9 and Solaris8 installer.

How to repeat:
install and unInstall using the BitRock installer

Suggested fix:
remove any objects created during the install, but leave user created objects (--> remove empty directories, but leave created directories if there are objects which were not created by the installer)
[26 Oct 2006 21:37] Carsten Segieth
FAILed with 0.7.13 on a RH4/x86 machine (net-qa1):

csegieth@net-qa1:~/mysql/network/agent/0.7.13/rhas4-x86/net-qa1>./uninstall
Do you want to uninstall MySQL Network Service Agent 0.7.13 and all of its modules? [Y/n]:

----------------------------------------------------------------------------
Uninstall Status

 Uninstalling MySQL Network Service Agent
 0% ______________ 50% ______________ 100%
 #########################################

Info: Uninstallation completed
Press [Enter] to continue :
csegieth@net-qa1:~/mysql/network/agent/0.7.13/rhas4-x86/net-qa1>ll
total 64
drwxrwxrwx  2 csegieth csegieth  4096 Oct 26 23:35 etc
-rw-rw-rw-  1 csegieth csegieth 46925 Oct 26 23:12 install_debug.log
drwxrwxrwx  2 csegieth csegieth  4096 Oct 26 23:12 log
drwxrwxrwx  2 csegieth csegieth  4096 Oct 26 23:12 run
-rw-rw-rw-  1 csegieth csegieth   197 Oct 26 23:12 who.installed.this.build.txt
csegieth@net-qa1:~/mysql/network/agent/0.7.13/rhas4-x86/net-qa1>ll -R
.:
total 64
drwxrwxrwx  2 csegieth csegieth  4096 Oct 26 23:35 etc
-rw-rw-rw-  1 csegieth csegieth 46925 Oct 26 23:12 install_debug.log
drwxrwxrwx  2 csegieth csegieth  4096 Oct 26 23:12 log
drwxrwxrwx  2 csegieth csegieth  4096 Oct 26 23:12 run
-rw-rw-rw-  1 csegieth csegieth   197 Oct 26 23:12 who.installed.this.build.txt

./etc:
total 4
-rw-rw-rw-  1 csegieth csegieth 892 Oct 26 23:12 win2003a-x86.win2003a-x86.3307.ini

./log:
total 0

./run:
total 0
csegieth@net-qa1:~/mysql/network/agent/0.7.13/rhas4-x86/net-qa1>
[6 Nov 2006 19:00] Keith Russell
Reported by Bitrock as corrected in ver => 7.25
[10 Nov 2006 11:27] Carsten Segieth
tested OK with 0.7.27 on 3 different Linux:

- empty dirs .../log and .../run were removed. 
- in one case i had in .../log an old log file, it blocked removing the dir (= OK).
- I saw only 'user created' objects remaining.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.