Install BackupExec 2012 Agent on Debian 3.0 Kernel

Props to this site for pointing me in the right direction.

Install the BackupExec Agent as you would normally (./installralus) and the installation will complete successfully however the service will fail to start afterwards.

Change into ralus directory
#cd /opt/VRTSralus/bin

Make a backup of libbesocket.so
#cp libbesocket.so libbesocket.so.orig

Install objdump
apt-get install binutils binutils-multiarch

Disassemble the binary to a file
#objdump -D libbesocket.so > libbesocket.asm

Open file and search for ‘$0x8938’

#nano libbesocket.asm
Type ctrl+w to search
Type '$0x8938' and press enter

Find the following lines and locate the hex highlighted in red in front of the jump-no-sign instruction.
In my case it happens to be ’79 15′.

1f4d9:       68 38 89 00 00          push   $0x8938
1f4de:       ff b5 5c ff ff ff       pushl  -0xa4(%ebp)
1f4e4:       e8 17 fb fe ff          call   f000 <ioctl@plt>
1f4e9:       83 c4 10                add    $0x10,%esp
1f4ec:       85 c0                   test   %eax,%eax
1f4ee:       79 15                   jns    1f505 <_Z10getifaddrsPP7ifaddrs+0xb1>
1f4f0:       e8 eb f1 fe ff          call   e6e0 <__errno_location@plt>

Install hex editor and open the file

#apt-get install hexer
#hexer libbesocket.so

Search for the hex we found earlier

Type '/' to search
Type '\xx 79 15' and press enter

NOTE: In my particular scenario, I had two occurences of ‘\xx 79 15’. Only change the code where the hex matches the preceeding chunks of code in the middle column earlier in that exact order. This is what my line looked like.
0001f4e0: 5c ff ff ff e8 17 fb fe ff 83 c4 10 85 c0 79 15 \.............x.

Using arrow keys move cursor into position and change value from ’79’ to ’78’

Type 'r' to edit
Type '78' and press enter
Type ':wq' and press enter to quit while saving

Now go and start the service
/etc/init.d/VRTSralus.init start

1Thumbs Up 1Thumbs Down

2 comments

  1. admin admin says:

    As of Ubuntu Server 14.04, now to get the installer to work, you must first install the Switch.pm Perl module by running the command “cpan”, accepting all the defaults, and then typing “install Switch”. After that, you can proceed with installing the software as usual.

  2. admin admin says:

    To fix the Ralus service pack one and other patches where the installation craps out, check out this post.

Leave a Reply