内に含ま
その他のドキュメント
サポート リソース
| PDF 文書ファイルをダウンロードする
Removing the Software
B
- This appendix provides the procedure for removing Site/SunNet/Domain Manager software from a local machine. If you have mounted the product via NFS, follow this same procedure, however, you will need access to the NFS server to remove some of the files.
- You might remove the product software if you need to free up some disk space on a particular system, or if you want to reinstall the product.
- You remove the product software by running the pkgrm program to remove the packages you installed.
- To remove the product software:
-
-
Enter su and the password to become root.
-
Start the pkgrm removal program:
a. If you installed all the packages, enter this command:
-
hostname# /usr/sbin/pkgrm SUNWsnmag SUNWsnmag SUNWsnmct
SUNWsnmpd SUNWsnmla SUNWccfg SUNWccrcv SUNWccsnd
|
-
Note - When removing multiple packages it is important to remove the Core Tools package (SUNWsnmct) first. If it is not, a dependency failure message is generated. This is a non-fatal error, but can lead to confusion.
-
b. If you did not install the SNMP agent, enter this command:
-
hostname# pkgrm SUNWsnmct SUNWsnmag
|
- The pkgrm removal program starts the removal script and asks if you want to remove the SUNWsnmct package.
-
-
Enter y to remove the SUNWsnmct package.
The pkgrm removal program begins removing the SUNWsnmct package and asks if you want to continue with the removal.
-
## Removing installed package instance <SUNWsnmct>.
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]
|
-
-
Enter y to continue removing the SUNWsnmct package. The pkgrm removal program asks if you want to remove the database files.
-
## Verifying package dependencies.
## Processing package information.
## Executing preremove script.
Do you want to remove the database files in /var/opt/SUNWconn/snm (y/n) [n]:
|
-
-
Press Return to accept the default, n, so that your database files will not be removed, or enter y if you want to remove the database files. The pkgrm removal program removes the SUNWsnmct package, and asks if you want to remove the SUNWsnmag package.
-
-
Enter y to remove the SUNWsnmag package.
The pkgrm removal program begins removing the SUNWsnmag package and asks if you want to continue with the removal.
-
## Removing installed package instance <SUNWsnmag>.
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]
|
-
-
Enter y to continue removing the SUNWsnmag package. The pkgrm removal program asks if you want to remove the log files.
-
## Verifying package dependencies.
## Processing package information.
## Executing preremove script.
Do you want to remove the log files in /var/opt/SUNWconn/snm (y/n) [y]:
|
-
-
Press Return to accept the default, y, so that your log files will be removed, or enter n if you do not want to remove the log files. The pkgrm removal program removes the SUNWsnmag package, and asks if you want to remove the SUNWsnmpd package.
-
Note - If you did not choose to remove the SUNWsnmpd package when you started pkgrm, the pkgrm removal program returns your system prompt. Go to Step 11.
-
-
Enter y to remove the SUNWsnmpd package.
The pkgrm removal program begins removing the SUNWsnmpd package and asks if you want to continue with the removal.
-
## Removing installed package instance <SUNWsnmpd>.
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]
|
-
-
Enter y to continue removing the SUNWsnmpd package. The pkgrm removal program removes the SUNWsnmag package, and returns your system prompt.
-
-
If you have removed the product software from every system on your network, and you are running NIS/NIS+, edit the /etc/rpc and /etc/services files on the master NIS/NIS+ server and make the changes effective, as follows:
a. Edit the /etc/rpc file to remove the section "Site/SunNet/Domain Manager agents."
b. Edit the /etc/services file to remove the following lines:
-
snmp 161/udp # Simple Network Mgmt Protocol
snmp-trap 162/udp snmptrap # SNMP trap (event) messages
|
-
c. If you are running NIS, update the maps using the ypmake command, then push the maps out to the slave NIS servers using the yppush command.
-
d. If you are running NIS+, use the nisaddent command.
-
Note - Refer to your system administration documentation if you need additional information on these commands.
- You have removed the the product software from your system. If you want to remove the AnswerBook, enter a pkgrm command with SUNWabsnm as its argument.
|
|