The recommended way to uninstall is using the command: cd /usr/lib/eicon && divas/Diva4Linux_uninstaller.sh
Note: The script uninstalls all components.
To uninstall the Diva System Release software package, login as "root" (or use su -) and execute:
For the Debian package: dpkg -r xxx.deb, where xxx is the Debian package name.
For the RPM package: rpm -e divas4linux_<a_b_cc_dd>_<ee>-<ff-xxx.yy- z> where divas4linux_<a_b_cc_dd>_<ee>-<ff-xxx.yy-z> is the name of the installed rpm package without the .i386.rpm extension.
Notes:
The pre-uninstall script contained in the rpm package stops and unloads the drivers by means of /usr/lib/opendiva/divas/divas_stop.rc. It also removes the symbolic links used to start the Diva drivers on system startup. If the divas_stop.rc configuration script detects that drivers are still in use (an application or driver still accesses one of the interfaces) and cannot be stopped, the uninstalling process is aborted before any changes are applied.
If you do not know which applications or drivers access interfaces of Diva drivers or you cannot stop these applications, proceed as follows:
Execute sh /usr/lib/opendiva/divas/cfg/cfg_util.sh 2. This removes the symbolic links S03DIVA4LINUX from the /etc/rc.d/rc...d or /sbin.init.d/rc...d directories. Restart your system.
The Diva drivers are not loaded on system startup and can be uninstalled. You can identify the applications or drivers that accessed Diva drivers by error messages on the console and in the var/log/messages file.
If you do not know the name of the installed RPM package, execute rpm -q -a | grep divas4linux to get the package name from the database maintained by RPM.
If you have installed the package divas4linux_2_2_16-101.2-1.i386.rpm, execute rpm -e divas4linux_2_2_16-101.2-1 in order to uninstall this package.
You can manually remove the Diva System Release software files from your system, but this is not recommended as it will leave the package entry in the RPM database and may cause problems reinstalling the package. Manual removal might become necessary if your RPM database was corrupted or destroyed. To uninstall the Diva System Release package manually, proceed as described below:
Login as root (or use su).
Change the working directory to /usr/lib/opendiva/divas (cd /usr/lib/opendiva/divas).
Execute: sh ./cfg_util.sh 2.
Execute: ./divas_stop.rc.
Execute rm -rf /usr/lib/eicon/divas.
Execute rm -rf /usr/doc/packages/divas4linux*.
Notes:
The pre-uninstall script contained in the rpm package stops and unloads the drivers by means of /usr/lib/opendiva/divas/divas_stop.rc. It also removes the symbolic links used to start the Dialogic® Diva® drivers on system startup. If the divas_stop.rc configuration script detects that drivers are still in use (an application or driver still accesses one of the interfaces) and cannot be stopped, the uninstalling process is aborted before any changes are applied.
If you do not know which applications or drivers access interfaces of Dialogic® Diva® drivers or you cannot stop these applications, proceed as follows:
Execute sh /usr/lib/opendiva/divas/cfg/cfg_util.sh 2. This removes the symbolic links S03DIVA4LINUX from the /etc/rc.d/rc...d or /sbin.init.d/rc...d directories. Restart your system.
The Diva drivers are not loaded on system startup and can be uninstalled. You can identify the applications or drivers that accessed Diva drivers by error messages on the console and in the var/log/messages file.