directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Arnaud Marcelot ...@marcelot.net>
Subject Re: Uninstall Apache DS on a Mac?
Date Mon, 07 Mar 2011 07:20:49 GMT
On 3 mars 2011, at 04:30, Les Hazlewood wrote:

> Hi all,
> 
> I just installed Apache DS 1.5.7 via the Mac installer.  As a quick
> exercise, I wanted to see if I could easily uninstall it as well.
> 
> I can shut the process down by running:
> 
> sudo launchctl unload /Library/LaunchDaemons/org.apache.directory.server.plist
> 
> But after that how do you uninstall it?
> 
> I could delete /usr/local/apache-directory-1.5.7
> 
> but is that it?
> 
> Because of launchctl, we know that there is a
> /Library/LaunchDaemons/org.apache.directory.server.plist file that
> should probably be removed as well.
> 
> Is there anything else?

Hi Les,

That's almost it.

You have a remaining launch script at /usr/bin/apacheds.

FYI, there's a command line utility, 'lsbom', which allows you to see what files are going
to be installed by any PKG installer.
It takes a *.bom file as input (this file is hidden in the installer itself).
Here's what it shows for ApacheDS 1.5.7:
> MacBook-Pro:~ pajbam$ lsbom /Volumes/Apache\ Directory\ Server\ Installer/Apache\ Directory\
Server\ Installer.pkg/Contents/Archive.bom 
> .	40755	501/20
> ./Library	41775	0/80
> ./Library/LaunchDaemons	40755	0/0
> ./Library/LaunchDaemons/org.apache.directory.server.plist	100644	0/0	1766	637307964
> ./usr	40755	0/0
> ./usr/bin	40755	0/0
> ./usr/bin/apacheds	100775	0/0	859	2081971703
> ./usr/local	40775	0/0
> ./usr/local/apacheds-1.5.7	40775	0/0
> ./usr/local/apacheds-1.5.7/LICENSE	100664	0/0	19378	1185805251
> ./usr/local/apacheds-1.5.7/NOTICE	100664	0/0	1632	906608890
> ./usr/local/apacheds-1.5.7/bin	40775	0/0
> ./usr/local/apacheds-1.5.7/bin/apacheds	100775	0/0	233604	2456202023
> ./usr/local/apacheds-1.5.7/bin/apacheds-tools.jar	100664	0/0	54551	3858066390
> ./usr/local/apacheds-1.5.7/bin/apacheds.init	100775	0/0	15142	2565477022
> ./usr/local/apacheds-1.5.7/conf	40775	0/0
> ./usr/local/apacheds-1.5.7/conf/apacheds.conf	100664	0/0	3260	3865014470
> ./usr/local/apacheds-1.5.7/conf/log4j.properties	100664	0/0	1889	1418089939
> ./usr/local/apacheds-1.5.7/feather.ico	100664	0/0	766	3246068589
> ./usr/local/apacheds-1.5.7/instances	40775	0/0
> ./usr/local/apacheds-1.5.7/instances/default	40775	0/0
> ./usr/local/apacheds-1.5.7/instances/default/conf	40775	0/0
> ./usr/local/apacheds-1.5.7/instances/default/conf/apacheds.conf	100664	0/0	1400	2745256481
> ./usr/local/apacheds-1.5.7/instances/default/conf/log4j.properties	100664	0/0	1889	1418089939
> ./usr/local/apacheds-1.5.7/instances/default/conf/server.xml	100664	0/0	10218	142748788
> ./usr/local/apacheds-1.5.7/instances/default/ldif	40775	0/0
> ./usr/local/apacheds-1.5.7/instances/default/log	40775	0/0
> ./usr/local/apacheds-1.5.7/instances/default/partitions	40775	0/0
> ./usr/local/apacheds-1.5.7/instances/default/run	40775	0/0
> ./usr/local/apacheds-1.5.7/lib	40775	0/0
> ./usr/local/apacheds-1.5.7/lib/antlr-2.7.7.jar	100664	0/0	445288	456215524
> ./usr/local/apacheds-1.5.7/lib/apacheds-avl-partition-1.5.7.jar	100664	0/0	41814	1710796894
> ./usr/local/apacheds-1.5.7/lib/apacheds-core-1.5.7.jar	100664	0/0	325112	1306944069
> ./usr/local/apacheds-1.5.7/lib/apacheds-core-annotations-1.5.7.jar	100664	0/0	24869	408463627
> ./usr/local/apacheds-1.5.7/lib/apacheds-core-api-1.5.7.jar	100664	0/0	186034	1206370371
> ./usr/local/apacheds-1.5.7/lib/apacheds-core-avl-1.5.7.jar	100664	0/0	48986	2228472667
> ./usr/local/apacheds-1.5.7/lib/apacheds-core-constants-1.5.7.jar	100664	0/0	11467	575495884
> ./usr/local/apacheds-1.5.7/lib/apacheds-core-entry-1.5.7.jar	100664	0/0	33434	60393993
> ./usr/local/apacheds-1.5.7/lib/apacheds-core-jndi-1.5.7.jar	100664	0/0	47757	3176955659
> ./usr/local/apacheds-1.5.7/lib/apacheds-core-mock-1.5.7.jar	100664	0/0	25717	2247397109
> ./usr/local/apacheds-1.5.7/lib/apacheds-http-integration-1.5.7.jar	100664	0/0	11850	2540777346
> ./usr/local/apacheds-1.5.7/lib/apacheds-i18n-1.5.7.jar	100664	0/0	38741	1266479967
> ./usr/local/apacheds-1.5.7/lib/apacheds-interceptor-kerberos-1.5.7.jar	100664	0/0	21278
5473398
> ./usr/local/apacheds-1.5.7/lib/apacheds-jdbm-1.5.7.jar	100664	0/0	90385	823673252
> ./usr/local/apacheds-1.5.7/lib/apacheds-jdbm-partition-1.5.7.jar	100664	0/0	13912	2869049786
> ./usr/local/apacheds-1.5.7/lib/apacheds-jdbm-store-1.5.7.jar	100664	0/0	65081	2838127100
> ./usr/local/apacheds-1.5.7/lib/apacheds-kerberos-shared-1.5.7.jar	100664	0/0	266947	3321721734
> ./usr/local/apacheds-1.5.7/lib/apacheds-ldif-partition-1.5.7.jar	100664	0/0	29767	2592257370
> ./usr/local/apacheds-1.5.7/lib/apacheds-noarch-installer-1.5.7.jar	100664	0/0	16930	3837176148
> ./usr/local/apacheds-1.5.7/lib/apacheds-protocol-changepw-1.5.7.jar	100664	0/0	52399
4098586459
> ./usr/local/apacheds-1.5.7/lib/apacheds-protocol-dns-1.5.7.jar	100664	0/0	90875	3729599437
> ./usr/local/apacheds-1.5.7/lib/apacheds-protocol-kerberos-1.5.7.jar	100664	0/0	52582
2047067988
> ./usr/local/apacheds-1.5.7/lib/apacheds-protocol-ldap-1.5.7.jar	100664	0/0	176563	2421826078
> ./usr/local/apacheds-1.5.7/lib/apacheds-protocol-ntp-1.5.7.jar	100664	0/0	30418	913824686
> ./usr/local/apacheds-1.5.7/lib/apacheds-protocol-shared-1.5.7.jar	100664	0/0	27286	3169140261
> ./usr/local/apacheds-1.5.7/lib/apacheds-server-jndi-1.5.7.jar	100664	0/0	15427	1233223152
> ./usr/local/apacheds-1.5.7/lib/apacheds-server-xml-1.5.7.jar	100664	0/0	706050	2615046886
> ./usr/local/apacheds-1.5.7/lib/apacheds-utils-1.5.7.jar	100664	0/0	12406	1520080394
> ./usr/local/apacheds-1.5.7/lib/apacheds-xbean-spring-1.5.7.jar	100664	0/0	29247	1742387281
> ./usr/local/apacheds-1.5.7/lib/apacheds-xdbm-base-1.5.7.jar	100664	0/0	51296	3025320673
> ./usr/local/apacheds-1.5.7/lib/apacheds-xdbm-search-1.5.7.jar	100664	0/0	80567	4143408953
> ./usr/local/apacheds-1.5.7/lib/apacheds-xdbm-tools-1.5.7.jar	100664	0/0	89239	3258302449
> ./usr/local/apacheds-1.5.7/lib/bcprov-jdk15-140.jar	100664	0/0	15934233111985573
> ./usr/local/apacheds-1.5.7/lib/bootstrapper.jar	100664	0/0	28080	2190445371
> ./usr/local/apacheds-1.5.7/lib/commons-cli-1.2.jar	100664	0/0	41123	3584406052
> ./usr/local/apacheds-1.5.7/lib/commons-collections-3.2.1.jar	100664	0/0	575389	2972995801
> ./usr/local/apacheds-1.5.7/lib/commons-daemon-1.0.1.jar	100664	0/0	13619	3937704309
> ./usr/local/apacheds-1.5.7/lib/commons-io-1.4.jar	100664	0/0	109043	4127322997
> ./usr/local/apacheds-1.5.7/lib/commons-lang-2.5.jar	100664	0/0	279193	4241024423
> ./usr/local/apacheds-1.5.7/lib/dom4j-1.6.1.jar	100664	0/0	313898	1781337268
> ./usr/local/apacheds-1.5.7/lib/ext	40775	0/0
> ./usr/local/apacheds-1.5.7/lib/jcl-over-slf4j-1.5.10.jar	100664	0/0	17289	1025799486
> ./usr/local/apacheds-1.5.7/lib/jetty-6.1.14.jar	100664	0/0	516429	632889632
> ./usr/local/apacheds-1.5.7/lib/jetty-util-6.1.14.jar	100664	0/0	163121	3397126889
> ./usr/local/apacheds-1.5.7/lib/junit-4.7.jar	100664	0/0	232354	2042942018
> ./usr/local/apacheds-1.5.7/lib/libwrapper.jnilib	100664	0/0	35332	3797439608
> ./usr/local/apacheds-1.5.7/lib/log4j-1.2.14.jar	100664	0/0	367444	1206850944
> ./usr/local/apacheds-1.5.7/lib/mina-core-2.0.0-RC1.jar	100664	0/0	638294	3312893775
> ./usr/local/apacheds-1.5.7/lib/servlet-api-2.5-6.1.14.jar	100664	0/0	132368	2853773791
> ./usr/local/apacheds-1.5.7/lib/shared-asn1-0.9.19.jar	100664	0/0	96747	3738342333
> ./usr/local/apacheds-1.5.7/lib/shared-asn1-codec-0.9.19.jar	100664	0/0	12769	4082967645
> ./usr/local/apacheds-1.5.7/lib/shared-cursor-0.9.19.jar	100664	0/0	19647	3441285572
> ./usr/local/apacheds-1.5.7/lib/shared-dsml-parser-0.9.19.jar	100664	0/0	183195	1213659842
> ./usr/local/apacheds-1.5.7/lib/shared-i18n-0.9.19.jar	100664	0/0	26078	3658328112
> ./usr/local/apacheds-1.5.7/lib/shared-ldap-0.9.19.jar	100664	0/0	14042062053643685
> ./usr/local/apacheds-1.5.7/lib/shared-ldap-constants-0.9.19.jar	100664	0/0	23568	183436204
> ./usr/local/apacheds-1.5.7/lib/shared-ldap-converter-0.9.19.jar	100664	0/0	32976	626028957
> ./usr/local/apacheds-1.5.7/lib/shared-ldap-jndi-0.9.19.jar	100664	0/0	13196	1408574923
> ./usr/local/apacheds-1.5.7/lib/shared-ldap-schema-0.9.19.jar	100664	0/0	590303	1314614940
> ./usr/local/apacheds-1.5.7/lib/shared-ldap-schema-dao-0.9.19.jar	100664	0/0	6928	1108566101
> ./usr/local/apacheds-1.5.7/lib/shared-ldap-schema-loader-0.9.19.jar	100664	0/0	27319
2274465687
> ./usr/local/apacheds-1.5.7/lib/shared-ldap-schema-manager-0.9.19.jar	100664	0/0	20108
2175318474
> ./usr/local/apacheds-1.5.7/lib/shared-ldif-0.9.19.jar	100664	0/0	44343	2043898787
> ./usr/local/apacheds-1.5.7/lib/slf4j-api-1.5.10.jar	100664	0/0	23659	3776169582
> ./usr/local/apacheds-1.5.7/lib/slf4j-log4j12-1.5.10.jar	100664	0/0	9692	3839301824
> ./usr/local/apacheds-1.5.7/lib/spring-beans-2.5.6.SEC01.jar	100664	0/0	488068	3357726871
> ./usr/local/apacheds-1.5.7/lib/spring-context-2.5.6.SEC01.jar	100664	0/0	476894	3135199183
> ./usr/local/apacheds-1.5.7/lib/spring-core-2.5.6.SEC01.jar	100664	0/0	285603	651196492
> ./usr/local/apacheds-1.5.7/lib/wrapper.jar	100664	0/0	83820	1128021721
> ./usr/local/apacheds-1.5.7/lib/xbean-spring-3.5.jar	100664	0/0	130195	2442895569
> ./usr/local/apacheds-1.5.7/lib/xercesImpl-2.9.1.jar	100664	0/0	12291253921841067
> ./usr/local/apacheds-1.5.7/lib/xpp3-1.1.4c.jar	100664	0/0	120069	437589905
> ./usr/local/apacheds-1.5.7/var	40775	0/0
> ./usr/local/apacheds-1.5.7/var/log	40775	0/0
> ./usr/local/apacheds-1.5.7/var/partitions	40775	0/0
> ./usr/local/apacheds-1.5.7/var/run	40775	0/0

Hope this helps,
Pierre-Arnaud

> Thanks,
> 
> Les
> P.S. Running Mac OS X 10.6.6


Mime
View raw message