The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes how to uninstall Cisco Broadband Access Center (Cisco BAC) from the CLI.
Note You cannot uninstall the RDU and the DPE that are installed in a same server separately. Both components are uninstalled together.
The uninstall program removes all the DPE and RDU component files under the installation directory (the default installation directory is /opt/CSCObac) that are installed in the same server when the uninstall command is executed. It also shuts down and removes these processes if they are detected: RDU, SNMP Agent, Tomcat, Watchdog, and DPE.
The uninstallation program does not remove files that were placed outside the installation directory. For example, a component installation places the database and database transaction logs directories under /var/CSCObac. These files must be manually removed. (Subsequent sections describe how to delete these files.) But, if you choose to install the home, data, and database transaction log directories in the same location, the uninstallation program warns you that continuing the uninstallation will remove the data and log files.
Should the program fail to uninstall Cisco BAC, error messages appear.
This chapter describes:
This section describes the procedures to uninstall Cisco BAC.
After uninstalling Cisco BAC, manually remove the Data and Database Transaction Logs directories (see the Post-Uninstallation Task).
This section describes the procedures to uninstall Cisco BAC.
After uninstalling Cisco BAC, manually remove the data and database logs directories. See Post-Uninstallation Task, page 3-68.
To uninstall Cisco BAC from the command line:
Step 1 Log in as root.
Step 2 Manually remove the configuration of the Cisco BAC extensions on the Cisco Network Registrar server. You can do this from any server that has nrcmd installed and connectivity with Cisco Network Registrar.
a. To uninstall the Cisco BAC extensions from your Cisco Network Registrar configuration, enter:
# NR_HOME/local/usrbin/nrcmd -N admin -P changeme -b <
BPR_HOME/cnr_ep/bin/bpr_cnr_disable_extpts.nrcmd
b. To reload your DHCP server, enter:
# /etc/init.d/nwreglocal stop
# /etc/init.d/nwreglocal start
Alternatively, enter:
# NR_HOME/local/usrbin/nrcmd -N admin -P changeme "dhcp reload"
c. To remove the Cisco BAC extensions from the Cisco Network Registrar extensions directory, enter:
# rm -rf NR_HOME/local/extensions/dhcp/dex/libbprextensions.so
Step 3 Manually remove the Cisco Access Registrar extensions on the Cisco Access Registrar server using the below command.
rm -rf CAR_HOME/scripts/radius/java/dpeext.jar
Step 4 At the CLI prompt, enter:
# pkgrm CSCObac
The following information appears:
The following package is currently installed:
CSCObac Cisco BAC product
(sparc) 3.6
Do you want to remove this package? [y,n,?,q] y
Step 5 Enter y, and press Enter to start uninstalling. The following message appears:
## Removing installed package instance <CSCObac>
This package contains scripts which will be executed with super-user
permission during the process of removing this package.
Do you want to continue with the removal of this package [y,n,?,q] y
Step 6 Enter y and press Enter.
When uninstalling is complete, the following message appears:
Removal of <CSCObac> was successful.
After uninstalling Cisco BAC, manually remove the data and database transaction logs directories. To remove these directories:
Step 1 Log in as root.
Step 2 Remove the data and the database transaction logs. (The default directory for both is /var/CSCObac.)
For example, enter:
# rm -rf /var/CSCObac
The data and the database transaction logs directories are deleted.