Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Veritas Backup Exec v.10.0 Remote Agent for Linux/Unix Srvrs
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dUSk
n00b
n00b


Joined: 11 Jun 2004
Posts: 15

PostPosted: Tue May 17, 2005 1:54 pm    Post subject: Veritas Backup Exec v.10.0 Remote Agent for Linux/Unix Srvrs Reply with quote

When trying to install RALUS i get following errors. It is probably because the package was written for RedHat and the lib paths differ. How to quickly fix it?

Code:
Installing Backup Exec for Windows Servers Remote Agent for Linux/Unix
Servers 4.0 on hurricane:

    Cannot install VRTSvxmsa ........................... ERROR 1 of 2 steps
error: Failed dependencies:
        /bin/sh is needed by VRTSvxmsa-4.2.1-211
        ld-linux.so.2 is needed by VRTSvxmsa-4.2.1-211
        libc.so.6 is needed by VRTSvxmsa-4.2.1-211
        libdl.so.2 is needed by VRTSvxmsa-4.2.1-211
        libm.so.6 is needed by VRTSvxmsa-4.2.1-211
        libnsl.so.1 is needed by VRTSvxmsa-4.2.1-211
        libpthread.so.0 is needed by VRTSvxmsa-4.2.1-211
        libc.so.6(GLIBC_2.0) is needed by VRTSvxmsa-4.2.1-211
        libc.so.6(GLIBC_2.1) is needed by VRTSvxmsa-4.2.1-211
        libc.so.6(GLIBC_2.1.3) is needed by VRTSvxmsa-4.2.1-211
        libc.so.6(GLIBC_2.2) is needed by VRTSvxmsa-4.2.1-211
        libdl.so.2(GLIBC_2.0) is needed by VRTSvxmsa-4.2.1-211
        libdl.so.2(GLIBC_2.1) is needed by VRTSvxmsa-4.2.1-211
        libpthread.so.0(GLIBC_2.0) is needed by VRTSvxmsa-4.2.1-211
        libpthread.so.0(GLIBC_2.2) is needed by VRTSvxmsa-4.2.1-211
    Cannot install VRTSralus ........................... ERROR 2 of 2 steps
error: Failed dependencies:
        VRTSvxmsa = 4.2.1- is needed by VRTSralus-10.00.5484-0
        ld-linux.so.2 is needed by VRTSralus-10.00.5484-0
        libcrypt.so.1 is needed by VRTSralus-10.00.5484-0
        libc.so.6 is needed by VRTSralus-10.00.5484-0
        libdl.so.2 is needed by VRTSralus-10.00.5484-0
        libm.so.6 is needed by VRTSralus-10.00.5484-0
        libpthread.so.0 is needed by VRTSralus-10.00.5484-0
        librt.so.1 is needed by VRTSralus-10.00.5484-0
        libstdc++-libc6.2-2.so.3 is needed by VRTSralus-10.00.5484-0
        libcrypt.so.1(GLIBC_2.0) is needed by VRTSralus-10.00.5484-0
        libc.so.6(GLIBC_2.0) is needed by VRTSralus-10.00.5484-0
        libc.so.6(GLIBC_2.1) is needed by VRTSralus-10.00.5484-0
        libc.so.6(GLIBC_2.1.2) is needed by VRTSralus-10.00.5484-0
        libc.so.6(GLIBC_2.1.3) is needed by VRTSralus-10.00.5484-0
        libc.so.6(GLIBC_2.2) is needed by VRTSralus-10.00.5484-0
        libdl.so.2(GLIBC_2.0) is needed by VRTSralus-10.00.5484-0
        libdl.so.2(GLIBC_2.1) is needed by VRTSralus-10.00.5484-0
        libm.so.6(GLIBC_2.0) is needed by VRTSralus-10.00.5484-0
        libpthread.so.0(GLIBC_2.0) is needed by VRTSralus-10.00.5484-0
        libpthread.so.0(GLIBC_2.1) is needed by VRTSralus-10.00.5484-0
        libpthread.so.0(GLIBC_2.2) is needed by VRTSralus-10.00.5484-0
        librt.so.1(GLIBC_2.1) is needed by VRTSralus-10.00.5484-0
Back to top
View user's profile Send private message
ronnie
n00b
n00b


Joined: 21 Jul 2004
Posts: 66

PostPosted: Wed May 18, 2005 12:48 pm    Post subject: Reply with quote

Do manual install as described on page 868 in the english version of the Administrators guide. You can find ralus.tar on the CD or the downloaded tar file holding the CD contents.

Quick guide:
Code:
$ mkdir /tmp/ralus && tar -C /tmp/ralus -xvf ralus.tar
$ cd /tmp/ralus
$ chown -R root:root etc opt var
$ chmod -R 0500 opt
$ chmod -R 0600 etc var
$ cp -r etc opt var /
$ cp /opt/VRTSralus/bin/VRTSralus.init /etc/init.d/VRTSralus


Add to /etc/services:
Code:
grfs            6101/tcp                        # backup server
ndmp            10000/tcp                       # Network Data Management Protocol


Edit /etc/VRTSralus/ralus.cfg:
Code:
SOFTWARE\VERITAS\Backup Exec\Agent Browser\TcpIp\AdvertisementPort=6101
Software\VERITAS\Backup Exec\Engine\Agents\Advertising Interval Minutes=5
Software\VERITAS\Backup Exec\Engine\Agents\Agent Directory List 1=your-backup-server
Software\VERITAS\Backup Exec\Engine\Logging\RANT NDMP Debug Level=0
Software\VERITAS\Backup Exec\Engine\RALUS\Encoder=
Software\VERITAS\Backup Exec\Engine\RALUS\SystemExclude1=/dev/*.*
Software\VERITAS\Backup Exec\Engine\RALUS\SystemExclude2=/proc/*.*
Software\VERITAS\Backup Exec\Engine\RALUS\SystemExclude3=/mnt/nss/pools/
Software\VERITAS\Backup Exec\Engine\RALUS\SystemExclude4=/mnt/nss/.pools/


This should be sufficient to get the agent running (worked for me). However, I have not tested against a server yet.
The guide also tells you to create a "beoper" group on your system and add users which should use the agent to be in it.

Code:
$ groupadd beoper
$ gpasswd -a yourbackupuser beoper


Please follow up with your progress!
Back to top
View user's profile Send private message
dUSk
n00b
n00b


Joined: 11 Jun 2004
Posts: 15

PostPosted: Thu May 19, 2005 6:59 am    Post subject: Reply with quote

Thanks, it worked for me.

Now I have another problem:
I see the linux server when doing selections for backup, but when browsing it, I see no files/directories.
Is it possibly because I have ReiserFS on it? But when mounting one ext3fs partition it is still not visible.

In /var/VRTSralus/beremote.service.log i get following message:
Code:
libbedsra.so: cannot open shared object file: No such file or directory


I couldn't find that file neither in tar package nor in rpms.
Back to top
View user's profile Send private message
stamperb
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2004
Posts: 100

PostPosted: Thu May 19, 2005 7:00 pm    Post subject: Reply with quote

in the /var/VRTSralus/ i have this in the log while trying to start the service. It fails.
cat beremote.service.log
/opt/VRTSralus/bin/beremote: error while loading shared libraries: libbedssmsp.so: cannot open shared object file: No such file or directory

Any ideas? I searched all over for that library and its no where to be found and no info even googleing it.
Back to top
View user's profile Send private message
dUSk
n00b
n00b


Joined: 11 Jun 2004
Posts: 15

PostPosted: Thu May 19, 2005 8:00 pm    Post subject: Reply with quote

It is not in the tar package but in one of the rpms. Just manually copy it to /opt/VRTSralus/bin/
It helped me.
Back to top
View user's profile Send private message
stamperb
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2004
Posts: 100

PostPosted: Thu May 19, 2005 8:04 pm    Post subject: Reply with quote

wow now i have the same thing... same problem too...


cat /var/VRTSralus/beremote.service.log
libbedsra.so: cannot open shared object file: No such file or directory
(null)
Back to top
View user's profile Send private message
ronnie
n00b
n00b


Joined: 21 Jul 2004
Posts: 66

PostPosted: Tue May 24, 2005 7:18 am    Post subject: Reply with quote

Anyone had any luck with this? I just tested vith Veritas 10 server and have the exact same problem as dUsk and stamperb.
Back to top
View user's profile Send private message
ronnie
n00b
n00b


Joined: 21 Jul 2004
Posts: 66

PostPosted: Tue May 24, 2005 8:49 am    Post subject: Reply with quote

After searching a bit I found out that the new agent (RALUS) is now licensed. Don't know if that has to do with the browsing of files not working...

EDIT: Just found this thread in Veritas support forum:
Quote:
"In addition to installing the agent, the license key needs to be installed on the media server. If it has not been, this could also prevent the agent from showing up there.

Veritas licensing info for RALUS can be found here.

Anyone of you have a license for RALUS? I don't since I'm evaluating the 60-day version of BackupExec 10.
Back to top
View user's profile Send private message
dUSk
n00b
n00b


Joined: 11 Jun 2004
Posts: 15

PostPosted: Tue May 24, 2005 11:40 am    Post subject: Reply with quote

I have it licensed.
Now I will try to do the software update.
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Thu Jul 07, 2005 6:39 pm    Post subject: Reply with quote

Anyone made any progress with this??
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Thu Jul 07, 2005 9:32 pm    Post subject: Reply with quote

dUSk wrote:
Thanks, it worked for me.

Now I have another problem:
I see the linux server when doing selections for backup, but when browsing it, I see no files/directories.
Is it possibly because I have ReiserFS on it? But when mounting one ext3fs partition it is still not visible.

In /var/VRTSralus/beremote.service.log i get following message:
Code:
libbedsra.so: cannot open shared object file: No such file or directory


I couldn't find that file neither in tar package nor in rpms.


Yep, now I'm getting this error as well.
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
dUSk
n00b
n00b


Joined: 11 Jun 2004
Posts: 15

PostPosted: Fri Aug 05, 2005 9:55 am    Post subject: Reply with quote

Ha!

Veritas released new version of RALUS and it started to work on my server. 8)

http://seer.support.veritas.com/docs/277215.htm
Back to top
View user's profile Send private message
vbwiz
n00b
n00b


Joined: 28 Oct 2003
Posts: 8
Location: Belgium

PostPosted: Mon Oct 03, 2005 3:12 pm    Post subject: Reply with quote

You need also to install lib-compat to have it working.

Agent is showing up in BE Media Server but it is not browseable.

Here's my debug output of beremote

Code:

rod bin # ./beremote --log-console --config-file /etc/VRTSralus/ralus.cfg
b6f92a90 Mon Oct  3 18:05:00 2005: Starting BE Remote Agent
b6f92a90 Mon Oct  3 18:05:00 2005: Requested no generation of log file
b6f92a90 Mon Oct  3 18:05:00 2005: Configuration file: /etc/VRTSralus/ralus.cfg
b6f92a90 Mon Oct  3 18:05:00 2005: Log to console: enabled
b6f92a90 Mon Oct  3 18:05:00 2005: Starting NDMP processor
b6f90bb0 Mon Oct  3 18:05:00 2005: FS_InitFileSys
b6f90bb0 Mon Oct  3 18:05:00 2005:   libbedsnt5.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:00 2005:   libbedssql2.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsxchg.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsxese.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsmbox.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedspush.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsnote.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsmdoc.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedssps2.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsupfs.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsshadow.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsoffhost.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   loaded libbedsvx.so
b6f90bb0 Mon Oct  3 18:05:01 2005:   loaded libbedsorcl.so
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsagnt.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedssms.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005:   loaded libbedssmsp.so
b6f90bb0 Mon Oct  3 18:05:01 2005:   libbedsra.so could not be loaded:
b6f90bb0 Mon Oct  3 18:05:01 2005: Initializing FSs
b6f90bb0 Mon Oct  3 18:05:01 2005: Using 'ANSI_X3.4-1968' Encoding.
libbedsra.so: cannot open shared object file: No such file or directory
b6f90bb0 Mon Oct  3 18:05:01 2005: Function vfmStart, vfm_errmsg was unable to resolve error code:  2
b6f90bb0 Mon Oct  3 18:05:01 2005:       VXMS Initialization failed with return code: 14
b6f90bb0 Mon Oct  3 18:05:01 2005: FS 22 failed to initialize: 1
b6f90bb0 Mon Oct  3 18:05:01 2005:   unloading libbedsvx.so
b6f90bb0 Mon Oct  3 18:05:01 2005: ====>OR_InitFileSys
(null)
b6f90bb0 Mon Oct  3 18:05:01 2005: Function vfmStart, vfm_errmsg was unable to resolve error code:  2
b6f90bb0 Mon Oct  3 18:05:01 2005:       VXMS Initialization failed with return code: 14
b6f90bb0 Mon Oct  3 18:05:01 2005: FS 25 failed to initialize: 1
b6f90bb0 Mon Oct  3 18:05:01 2005:   unloading libbedsorcl.so
b6f90bb0 Mon Oct  3 18:05:02 2005: Listening on port 10000
b6757bb0 Mon Oct  3 18:05:02 2005: TCPSendAdvertisement: target=marvin.eortc.be
b6757bb0 Mon Oct  3 18:05:02 2005: TCPSendAdvertisement: inet_addr(marvin.eortc.be) returned INADDR_NONE
b6757bb0 Mon Oct  3 18:05:02 2005: TCPSendAdvertisement(marvin.eortc.be) s_addr=10.1.0.103
b6757bb0 Mon Oct  3 18:05:02 2005: TCPSendAdvertisement(rod) 10.1.0.109 [10000]
b6757bb0 Mon Oct  3 18:05:02 2005: Agent browser advertisement cycle complete.  Advertisement interval is 5 minutes.


b6f90bb0 Mon Oct  3 18:05:43 2005: C : connection established between IP 10.1.0.109, port 10000 and IP 10.1.0.103, port 1443
b5f37bb0 Mon Oct  3 18:05:39 2005: DS_OpenSelectionService
b5f37bb0 Mon Oct  3 18:05:39 2005: ndmpdBrowseInterfaceInit returns -536805818.


The last three lines are displayed when trying to browse the server from the BE console on Windows.

Still trying to have it working ... (Bad software, really bad software, anything is not RedHat ...)
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Fri Oct 21, 2005 2:54 pm    Post subject: Reply with quote

dUSk wrote:
In /var/VRTSralus/beremote.service.log i get following message:
Code:
libbedsra.so: cannot open shared object file: No such file or directory


I couldn't find that file neither in tar package nor in rpms.


Check this thread on the Veritas site. According to Rick M. it's not something to worry about.

-B
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Fri Oct 21, 2005 2:57 pm    Post subject: Reply with quote

dUSk wrote:
I see the linux server when doing selections for backup, but when browsing it, I see no files/directories.
Is it possibly because I have ReiserFS on it? But when mounting one ext3fs partition it is still not visible.


I have the same issue. I don't have the license installed yet. Will that fix it? Anyone?

-B
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Fri Oct 21, 2005 3:38 pm    Post subject: Reply with quote

http://seer.support.veritas.com/docs/276788.htm
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Tue Oct 25, 2005 7:46 pm    Post subject: Reply with quote

I finally got this working, but it was a pain in the ass. The instructions above got me to the point where I could see the sevrer, but not any of the files on it.

Here's what worked:

Code:

# emerge rpm lib-compat
# mount /mnt/cdrom
# cd /mnt/cdrom/RALUS/linux/pkgs/linux
# rpm -i --nodeps VRTSralus[...].rpm
# rpm -i --nodeps VRTSvxm[...].rpm
# groupadd beoper
# gpasswd -a root beoper


Then I reconfigured the /etc/VRTSralus/ralus.cfg file as needed and started the cript.

Now, I don't see the server listed anymore, but if I manually add it in "User Defined Selections" it works fine.

-B
Back to top
View user's profile Send private message
BT
Guru
Guru


Joined: 13 Jun 2004
Posts: 318

PostPosted: Tue Dec 06, 2005 5:03 am    Post subject: Reply with quote

Hi,

After finding the previous posts very useful in getting the Backup Exec remote agent to work on Gentoo I decided to write an ebuild. It seems to work without any problems on my system, but it would be much appreciated if someone could test it and post their feedback. You can track the progress of the ebuild here: https://bugs.gentoo.org/show_bug.cgi?id=115828.
A Wiki is available at: http://gentoo-wiki.com/HOWTO_Symantec_Backup_Exec_Remote_Agent_for_Linux_and_Unix_Servers.
Note: The instructions on this post are no longer maintained. It is highly recommended to follow the Wiki instructions to avoid potential problems.

To install the ebuild do the following:


  1. Download the remote agent
    http://seer.support.veritas.com/docs/279329.htm

  2. Download the security hotfix
    http://seer.support.veritas.com/docs/282308.htm

  3. Move the remote agent and security hotfix to distfiles
    Code:
    # mv Q180968.BE.RALUS.10.1.5629.3.tar_279329.gz ralus5629HF21_282308.zip /usr/portage/distfiles


  4. Edit /etc/make.conf
    Code:
    PORTDIR_OVERLAY="/usr/local/portage"


  5. Create the ebuild directory
    Code:
    # mkdir -p /usr/local/portage/app-backup/backupexec-ralus/files


  6. Edit /usr/local/portage/app-backup/backupexec-ralus/backupexec-ralus-10.1.5629.21.ebuild
    Code:
    # Copyright 1999-2006 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # $Header: $

    inherit eutils rpm

    MY_PV="10.1.5629.3"

    GUIDE_DOC_ID="279401"
    GUIDE_FETCH_URI="http://seer.support.veritas.com/docs/${GUIDE_DOC_ID}.htm"

    RALUS_Q_ID="Q180968"
    RALUS_DOC_ID="279329"
    RALUS_FILE="${RALUS_Q_ID}.BE.RALUS.${MY_PV}.tar_${RALUS_DOC_ID}.gz"
    RALUS_FETCH_URI="http://seer.support.veritas.com/docs/${RALUS_DOC_ID}.htm"

    PATCH_DOC_ID="282308"
    PATCH_FILE="ralus5629HF21_${PATCH_DOC_ID}.zip"
    PATCH_FETCH_URI="http://seer.support.veritas.com/docs/${PATCH_DOC_ID}.htm"

    VRTSRALUS_FILE="VRTSralus-10.00.5629-0.i386.rpm"
    VRTSVXMSA_FILE="VRTSvxmsa-4.2.1-211.i386.rpm"

    LINUX_PATCH_FILE="ralus5629HF21-Linux.tar"
    LINUX_HOTFIX_FILE="HF21-Linux.tar"

    DESCRIPTION="Symantec Backup Exec Remote Agent for Linux and Unix Servers (RALUS)"
    HOMEPAGE="http://www.backupexec.com/"
    SRC_URI="${RALUS_FILE} ${PATCH_FILE}"
    LICENSE="VERITAS-EUSLA"
    SLOT="0"
    KEYWORDS="~x86"
    IUSE=""
    RESTRICT="fetch"
    DEPEND=">=app-arch/unzip-5.52"
    RDEPEND=">=sys-libs/lib-compat-1.4"
    S="${WORKDIR}"

    pkg_nofetch() {
       einfo "Please download ${RALUS_FILE} from:"
       einfo "${RALUS_FETCH_URI}"
       einfo "and move it to ${DISTDIR}"
       einfo
       einfo "Please download ${PATCH_FILE} from:"
       einfo "${PATCH_FETCH_URI}"
       einfo "and move it to ${DISTDIR}"
    }

    src_unpack() {
       # unpack the package
       for i in ${VRTSRALUS_FILE} ${VRTSVXMSA_FILE}
       do
          einfo "Extracting: ${i}"
          tar -xzf "${DISTDIR}/${RALUS_FILE}" "linux/pkgs/linux/${i}" --strip-components 3 \
             || die "Extracting ${i} failed"
          rpm_unpack "${WORKDIR}/${i}" || die "Extracting ${i} failed"
       done

       # unpack the hotfix
       einfo "Extracting: ${LINUX_HOTFIX_FILE}"
       unzip -pqq "${DISTDIR}/${PATCH_FILE}" "${LINUX_PATCH_FILE}" | tar -xO "${LINUX_HOTFIX_FILE}" | tar -x \
          || die "Extracting ${LINUX_HOTFIX_FILE} failed"

       # merge the hotfix files
       mv -f "${WORKDIR}/beremote" "${WORKDIR}/opt/VRTSralus/bin"
       mv -f "${WORKDIR}/libndmpcomm.so" "${WORKDIR}/opt/VRTSralus/bin"
       mv -f "${WORKDIR}/ralus.ver" "${WORKDIR}/var/VRTSralus"

       # delete the original init script
       rm -f "${WORKDIR}/opt/VRTSralus/bin/VRTSralus.init"
    }

    src_install() {
       # install the package files to /etc
       dodir /etc/VRTSralus
       chmod -R 600 "${S}/etc"
       cp -aR "${S}/etc/VRTSralus" "${D}/etc" || die "Install failed"

       # install the package files to /opt
       dodir /opt/VRTS
       dodir /opt/VRTSralus
       dodir /opt/VRTSvxms
       chmod -R 500 "${S}/opt"
       cp -aR "${S}/opt/VRTS" "${D}/opt" || die "Install failed"
       cp -aR "${S}/opt/VRTSralus" "${D}/opt" || die "Install failed"
       cp -aR "${S}/opt/VRTSvxms" "${D}/opt" || die "Install failed"

       # install the package files to /var
       dodir /var/VRTSralus
       chmod -R 600 "${S}/var"
       cp -aR "${S}/var/VRTSralus" "${D}/var" || die "Install failed"

       # install the init.d file
       newinitd "${FILESDIR}/backupexec-ralus.initd" backupexec-ralus

       # install the conf.d file
       newconfd "${FILESDIR}/backupexec-ralus.confd" backupexec-ralus
    }

    pkg_preinst() {
       # add the beoper group
       enewgroup beoper
    }

    pkg_postinst() {
       elog
       elog "Configuration of /etc/VRTSralus/ralus.cfg is necessary for RALUS to function."
       elog "For more details consult page 808 of the Symantec Backup Exec 10d for Windows"
       elog "Servers Administrator's Guide."
       elog "${GUIDE_FETCH_URI}"
       elog
       elog "RALUS requires that a user be added to the beoper group to function. The"
       elog "user must have permission to access all the files selected for backup."
       elog "# gpasswd -a <user> beoper"
       elog
       elog "RALUS uses port 10000 by default. If this port is in use (e.g. Webmin)"
       elog "edit /etc/services and add the ndmp service with an available port."
       elog "ndmp <port>/tcp"
       elog
       elog "To start RALUS:"
       elog "# /etc/init.d/backupexec-ralus start"
       elog
       elog "To start RALUS at boot:"
       elog "# rc-update add backupexec-ralus default"
       elog
    }


  7. Edit /usr/local/portage/app-backup/backupexec-ralus/files/backupexec-ralus.initd
    Code:
    #!/sbin/runscript

    checkconfig() {
       if [ -z "$BEREMOTE_OPTS" ]; then
          eerror "You must set config options in /etc/conf.d/backupexec-ralus"
          return 1
       fi
    }

    start() {
       local retstatus=1
       local maxtry=15

       # delete pidfile
       rm -f /var/VRTSralus/ralus.pid
       rm -f /var/VRTSralus/ralus.errpid

       # display to the user what you're doing
       ebegin "Starting Symantec Backup Exec Remote Agent"

       #run the checkconfig function
       checkconfig || return 1

       # Start the process as a daemon and record the pid number
       start-stop-daemon --start --quiet --background --pidfile /var/VRTSralus/ralus.pid \
          --exec /opt/VRTSralus/bin/beremote -- ${BEREMOTE_OPTS} >/dev/null 2>&1

       while [ "$maxtry" != "0" ]; do
          if [ -f /var/VRTSralus/ralus.pid ]; then
             maxtry=0
          else
             maxtry=$(($maxtry-1))
             sleep 1;
          fi
          if [ -f /var/VRTSralus/ralus.errpid ]; then
             maxtry=0
          fi
       done

       if [ -f /var/VRTSralus/ralus.pid ]; then
          retstatus=0
       else
          retstatus=1
       fi

       # output success or failure
       eend $retstatus
    }

    stop() {
       # display a message to the user
       ebegin "Stopping Symantec Backup Exec Remote Agent"

       # stop the daemon using the pid recorded from the start() function
       start-stop-daemon --stop --quiet --pidfile /var/VRTSralus/ralus.pid --name beremote

       # delete pidfile
       rm -f /var/VRTSralus/ralus.pid
       rm -f /var/VRTSralus/ralus.errpid

       # output success or failure
       eend $?
    }


  8. Edit /usr/local/portage/app-backup/backupexec-ralus/files/backupexec-ralus.confd
    Code:
    BEREMOTE_OPTS="--log-file /var/VRTSralus/beremote.log"


  9. Create the ebuild digest
    Code:
    # ebuild /usr/local/portage/app-backup/backupexec-ralus/backupexec-ralus-10.1.5629.21.ebuild digest


  10. Unmask the ebuild
    Code:
    # echo "app-backup/backupexec-ralus ~x86" >> /etc/portage/package.keywords


  11. Install the remote agent
    Code:
    # emerge backupexec-ralus



Last edited by BT on Fri Sep 08, 2006 2:05 am; edited 14 times in total
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Tue Dec 06, 2005 1:14 pm    Post subject: Reply with quote

Very nice :)

Are you going to try to get this into the tree?
Back to top
View user's profile Send private message
BT
Guru
Guru


Joined: 13 Jun 2004
Posts: 318

PostPosted: Tue Dec 06, 2005 1:26 pm    Post subject: Reply with quote

Yeah I would like to get it into the tree as it would make it even easier. Not sure what the correct process is for doing so, being my first ebuild. :?
Back to top
View user's profile Send private message
BT
Guru
Guru


Joined: 13 Jun 2004
Posts: 318

PostPosted: Fri Dec 30, 2005 12:44 am    Post subject: Reply with quote

I have submitted the ebuild to bugzilla. You can track it's progress here:

https://bugs.gentoo.org/show_bug.cgi?id=115828
Back to top
View user's profile Send private message
KeX
n00b
n00b


Joined: 22 Jul 2004
Posts: 38

PostPosted: Fri Feb 17, 2006 11:05 am    Post subject: Reply with quote

Hi,

I managed to get the client to start and it is running and listening on port 10000.
I can connect to the Client via telnet to port 10000, works fine.
I can also add the machine in the Backup Server, but when I try to access it i get the error msg, that this function is not implemented. In the logs I get this:
Code:
4186cbb0 Fri Feb 17 11:57:21 2006: Received connection from 192.168.81.249
4186cbb0 Fri Feb 17 11:57:21 2006: C : connection established between IP 192.168.81.14,  port 10000 and IP 192.168.81.249, port 1899
4186cbb0 Fri Feb 17 11:57:21 2006: ndmpCreateConnection
42961bb0 Fri Feb 17 11:57:21 2006: ndmpdConnectionHandler: received connection(5).
42961bb0 Fri Feb 17 11:57:21 2006: ndmpSendRequest: message:0x502
42961bb0 Fri Feb 17 11:57:21 2006: sent          seq#: 1 msg: 0x502
42961bb0 Fri Feb 17 11:57:21 2006: ndmpProcessRequests
42961bb0 Fri Feb 17 11:57:21 2006: ndmp_recv_msg
42961bb0 Fri Feb 17 11:57:21 2006: ndmpdConnectOpen: protocol_version:3.
42961bb0 Fri Feb 17 11:57:21 2006: ndmpSendReply: message:0x900
42961bb0 Fri Feb 17 11:57:21 2006: ndmpFreeMessage: message:0x900
42961bb0 Fri Feb 17 11:57:19 2006: ndmpProcessRequests
42961bb0 Fri Feb 17 11:57:19 2006: ndmp_recv_msg
42961bb0 Fri Feb 17 11:57:19 2006: ndmpdConfigGetAuthAttr:
42961bb0 Fri Feb 17 11:57:19 2006: ERROR: ndmpdConfigGetAuthAttr: invalid auth type: 2.
42961bb0 Fri Feb 17 11:57:19 2006: ndmpSendReply: message:0x103
42961bb0 Fri Feb 17 11:57:19 2006: ndmpFreeMessage: message:0x103
42961bb0 Fri Feb 17 11:57:19 2006: ndmpProcessRequests
42961bb0 Fri Feb 17 11:57:19 2006: ndmp_recv_msg
42961bb0 Fri Feb 17 11:57:19 2006: ndmpdConnectClose: called.
42961bb0 Fri Feb 17 11:57:19 2006: ndmpClose
42961bb0 Fri Feb 17 11:57:19 2006: ndmpFreeMessage: message:0x902
42961bb0 Fri Feb 17 11:57:19 2006: ndmpFreeMessage: message:0x902
42961bb0 Fri Feb 17 11:57:19 2006: ndmpDestroyConnection


The Client is running under root, root is in the group beoper. I've absolutly no idea what is wrong.

Can anyone give me some hints what's wrong or could be wrong?

chris...
Back to top
View user's profile Send private message
BT
Guru
Guru


Joined: 13 Jun 2004
Posts: 318

PostPosted: Fri Feb 17, 2006 11:52 pm    Post subject: Reply with quote

Hi KeX,

Check if NDMP is being blocked. Make sure you don't have anything else running on port 10000, such as Webmin. If Webmin is running on port 10000, change it. If you want to leave Webmin on port 10000, then change the Backup Exec port. The following links should help.

http://seer.support.veritas.com/docs/255498.htm
http://seer.support.veritas.com/docs/275228.htm
Back to top
View user's profile Send private message
souperdad
n00b
n00b


Joined: 13 Jul 2004
Posts: 29
Location: Burnaby B.C. Canada

PostPosted: Sat Apr 01, 2006 7:31 am    Post subject: Reply with quote

I'm getting the following error when trying to start backupexec-ralus

/etc/init.d/backupexec-ralus start
* Starting Symantec Backup Exec Remote Agent...
start-stop-daemon: --start needs --exec or --startas
[ !! ]rt-stop-daemon --help' for more information.

The daemon will not start. I tried running /etc/init.d/backupexec-ralus to look through the help but there was nothing of any use. Has anyone else run into this problem?
Back to top
View user's profile Send private message
BT
Guru
Guru


Joined: 13 Jun 2004
Posts: 318

PostPosted: Sat Apr 01, 2006 8:25 am    Post subject: Reply with quote

Hi souperdad,

I'm assuming you typed in the backupexec-ralus script. You need to check the script to ensure you typed in everything correctly. I'm guessing you left out the "\" at the end of the following line in the script.

Code:
start-stop-daemon --start --quiet --background --pidfile /var/VRTSralus/ralus.pid \
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum