Installing the 2.x agent on Debian 6
Installing 2.x agent on Debian 6
Symptom
When installing the 2.x agent the installation fails with the following:
Cause
Debian has switched to a new terminal database included in the ncurses-base package. This terminal database is required for the CDP installer.
http://packages.debian.org/squeeze/ncurses-base
Resolution
Installing the ncurses-term package and setting the new TERM variable will allow the CDP installer to run properly.
If you do not have rsync installed on your system, please install it now in order to have the prerequisites necessary for this walkthrough:
The following commands will allow you to run the installer. For this example, the installer has been placed in /usr/src.
For more information on installing the CDP agent, please refer to:
http://wiki.r1soft.com/display/R1D/Installing+the+Linux+Agent
While performing the installation, you will be prompted to run the custom kernel installer: Select "No".

Next, you will be prompted to load the module after the installation: Select "Yes".

The installer will complete after a few more steps. If there are no errors, you will see the following message:
Installation has completed successfully.
Please run "/usr/bin/r1soft-cki" before starting buagent
Now that the agent install has been completed, you will need to prepare the kernel headers. This is necessary because the Debian developers have removed the common/architecture specific symlinks for the kernel headers in 2.6.29 and higher.
Copying the contents of these two directories into a temporary directory with the proper makefile chosen will allow the r1soft-cki process to compile a module successfully:
| Note If you are running a Xen Kernel please proceed with the installation from this Wiki article here. |
R1soft Custom Kernel Installer
Now, configure the r1soft-cki utility to use your temporary directory, with the following flags added to the command:
After a successful build, you can delete the temporary directory, start the agent, and enjoy Continuous Data Protection!
Related Articles
| Page: Linux Agent — Installer Fails — No Such File Or Directory (Archived Knowledge Base 2.0) Labels: install, debian, ubuntu |
| Page: Fixed error in buserver init script (Archived Knowledge Base 2.0) Labels: debian |
| Page: Linux Agent — Intallation Failed on Debian (Archived Knowledge Base 2.0) Labels: debian, install |
| Page: Installing the 2.x agent on Debian 6 (Archived Knowledge Base 2.0) Labels: debian |