Remove PostgresSQL.
# pkgrm SUNWn1aapgsql
This command removes:
PostgreSQL
Database n1aa
Start and Stop scripts and manifest on Solaris 10
This does not remove all database log files in /opt/SUNWn1aa/pgsql/data.
Remove the Command Line Interface.
# pkgrm SUNWn1aacli
Remove N1 AA Manager.
# /usr/sbin/smcwebserver stop
# /usr/sbin/smreg remove -a com.sun.web.admin.n1aa_2.2.4
If you have N1 AA Builder or N1 AA Deployer installed, remove the link to SPS.
# rm /usr/share/webconsole/n1aa/WEB-INF/lib/sps-api.jar |
# pkgrm SUNWn1aamngr
This removes the /usr/share/webconsole/n1aa file. This does not remove the log file previously configured in N1 AA Manager.
Remove all Tomcat generated files.
# rm -rf /var/opt/webconsole/work/com_sun_web_console/localhost/n1aa |
Remove aasap and aasapd.
# pkgrm SUNWn1aad
This does the following:
Removes /opt/SUNWn1aa/aasap/bin/aasap
Removes /opt/SUNWn1aa/aasap/sbin/aasapd
Removes entry in /etc/inet/services if it exists
Removes entry in /etc/inet/inetd.conf if it exists
Removes manifest for aasap if it exists
Removes /etc/aasap.allow
Restarts inetd to deactivate service or disable aasap in smf
This does not remove the /var/opt/SUNWn1aa/aasap.log log file.
Remove perfcol.
# pkgrm SUNWn1aaperf
This does the following:
Stops perfcol
Removes /opt/SUNWn1aa/perfcol/sbin/perfcol
Removes entry in /etc/initab or removes manifest on Solaris 10
Removes link from /etc/init.d/acctadm to /etc/rc2.d/S92acctadm
Removing perfcol does not do the following:
Deactivate extended accounting
Remove any extended accounting records /var/opt/SUNWn1aa/proc and /var/adm/exacct/proc_*
Remove log file in the /var/opt/SUNWn1aa directory