Uninstalling the base product, features, and extensions
You can use one command to uninstall the base product and all features and extensions (except Secondary Server features) at the same time. You cannot uninstall features or extensions individually.
To uninstall the base product and all features and extensions:
- Log in to the primary computer as the root user.
- Enter one of these commands:
- If you are running the primary computer from a graphical user interface such as X
Windows:
- /opt/infoprint/ippd/_uninstall/ippd/removeIPPD -i gui
- If you are running the primary computer from a terminal window:
- /opt/infoprint/ippd/_uninstall/ippd/removeIPPD -i console
- Note:
- If you see an error that the Java virtual machine cannot be found, enter this command,
then try to run the command again:
. ~aiw1/.profile
RICOH ProcessDirector starts the program that guides you through the uninstallation process. Follow the instructions in the program. - If you are running the primary computer from a graphical user interface such as X
Windows:
- Click Uninstall to start the uninstallation process.You can choose to remove the system user (aiw1), the system group (aiwgrp1), and the DB2 database user (aiwclnt) and group (aiwdbgrp).When the uninstallation is complete, you either see a message that the uninstallation was successful or a message that there were errors and the location of the error log file.
- Click Done.
- The uninstallation program leaves behind part of the directory structure. To completely
remove all files that the RICOH ProcessDirector installation program installed, remove any file systems that were created as part
of the installation.File systems to remove include:
/aiw/aiw1/db2
/aiw/aiw1/db2_logs
/aiw
/opt/infoprint/ippd
/var/psf/segments
/var/psf
/var/aiw
- Important:
- Do not remove the
/opt/infoprint
directory if RICOH InfoPrint XT or RICOH Transform Feature are installed on the server you are using.
- To remove the RICOH ProcessDirector databases and DB2 instance from a DB2 server on a different computer:
- Log in to that computer as the DB2 instance owner of the RICOH ProcessDirector database.
- Insert the RICOH ProcessDirector base product DVD in the drive.
- Go to the
/scripts
directory on the RICOH ProcessDirector base product DVD. - Enter this command to run the uninstall script:
- ./remoteDB2uninstall.sh
- Note:
remoteDB2uninstall.sh
lets you choose whether to remove the RICOH ProcessDirector user IDs or user groups created bysetupRemoteDB2.sh
. It does not remove RICOH ProcessDirector user IDs or user groups that you created manually.
- To remove the RICOH ProcessDirector databases from a PostgreSQL database installed on a separate server,
- Switch to postgres user from the root user:
su - postgres_user
Replace postgres_user with the user ID that RICOH ProcessDirector uses to log in to PostgreSQL. The default is postgres. - Enter this command to terminate connections and drop the database:/usr/pgsql-version/bin/dropdb --force -p <port> -U postgres_user AIWDB
Replace version with the installed version of PostgreSQL.
- Enter this command to stop PostgreSQL:/usr/pgsql-version/bin/pg_ctl stop -o "-p <port>" -U postgres_user -D cluster_directory
Replace cluster_directory with the path where the database was initialized.
- Enter this command to remove the cluster directory:rm -rf cluster_directory
- Switch to postgres user from the root user:
- To remove the Docker or Podman container when you are using a PostgreSQL database
installed with RICOH ProcessDirector, you must first stop the Docker or Podman container and then remove it.
- Enter this command to stop the container:docker stop container-namepodman stop container-name
- Enter this command to remove the container:docker rm container-namepodman rm container-name
- Enter this command if you also want to remove the associated volumes:docker volume prunepodman volume prune
This command deletes all persistent data previously associated with containers that have now been removed.
The container-name isrpd-aiwdb-postgres
for the primary database andrpd-reports-postgres
for the Reports database. - Enter this command to stop the container:
- Restart the primary computer.