Installing BackupExec on DebianLinux (10.x)

The Remote Agent has been renamed RALUS (for Remote Agent for Linux and UNIX Servers) and an excellent HOWTO on using RALUS on Debian is available.

Don't forget to run update-rc.d VRTSralus.init defaults to make it start/stop appropriately.

Note, you need to have a RALUS license on your media server to use RALUS 10, but you can use v9 for 'free'.

Installing BackupExec on DebianLinux (9.x)

Untar and install to /usr/local/bkupexec and copy the agent.cfg from there to a newly created /etc/bkupexec directory. Now create a /etc/init.d/bkupexec file with the following content
# Starts and stops the Backup Exec agent
# Craig Box, 25/8/03


# clear conflicting settings from the environment
unset TMPDIR

# See if the daemon is there
test -x $DAEMON || exit 0

case "$1" in
        echo -n "Starting the Backup Exec agent:"
        start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF
        echo "."
        echo -n "Stopping the Backup Exec agent:"
        start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
        echo "."
        echo -n "Restarting the Backup Exec agent:"
        start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
        sleep 2
        start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF
        echo "."
        echo "Usage: /etc/init.d/bkupexec {start|stop|restart|force-reload}"
        exit 1

exit 0

Make it executable and run update-rc.d bkupexec defaults 96, and you're away laughing.

Can't see my agent

Run with -nd to debug and use the guide for How to read a UNIX Agent debug log to find out what’s wrong.

"The function is not implemented" when viewing your remote agent

Check that /etc/hosts has the right details (FQDN, IP address) for the server you are running RALUS on.

"**** getservbyname(grfs, tcp) failed! ****"

You need an entry in /etc/services. As root,

echo 'grfs            6101/tcp' >> /etc/services

Not seeing the agent in the Windows server

You need the hostname of the server you are announcing to in the /etc/hosts file as well.

Check the debug log to see you're getting a connection to port 6101 (which translates in Weird VERITAS Binary to 23.213)
rcvr addr=
attempting to connect. state=0

Telnet to that IP on port 6101 and ensure you get a response. If not, check the Agent Browser service on the Windows machine.

More troubleshooting notes are available on the VERITAS knowledge base.