Skip to end of metadata
Go to start of metadata

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:

root@box:/usr/src# ./linux-agent-64-1.78.0-generic.run Verifying archive integrity... All good. Uncompressing Righteous Backup Linux Agent.......................................................................................................... Install aborted by user Installation aborted

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.

#apt-get -y install ncurses-term #export TERM=xterm1 #apt-get -y install linux-headers-$(uname -r)

If you do not have rsync installed on your system, please install it now in order to have the prerequisites necessary for this walkthrough:

#apt-get -y install rsync

The following commands will allow you to run the installer. For this example, the installer has been placed in /usr/src.

root@box:/usr/src# ./linux-agent-64-1.78.0-generic.run

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.


# cd /usr/src/ # rsync -avz /usr/src/linux-headers-2.6.32-5-amd64/ r1build/ # rsync -avz /usr/src/linux-headers-2.6.32-5-common/ r1build/


R1soft Custom Kernel Installer
Now, configure the r1soft-cki utility to use your temporary directory, with the following flags added to the command:






# /usr/bin/r1soft-cki --get-module --kernel-dir /usr/src/r1build 

After a successful build, you can delete the temporary directory, start the agent, and enjoy Continuous Data Protection!

# rm -r /usr/src/r1build # /etc/init.d/buagent start

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
Labels:
debian debian Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.