LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-10-2007, 05:28 AM   #1
sinister1
Member
 
Registered: Jul 2007
Posts: 70

Rep: Reputation: 15
Veritas bkupexec agent.be logging


Hello,

I am running bkupexec agent.be on my debian server. Everything looks fine but now and then the agent process is automatically killed.

How can i set an log directory for my agent. Is there an option that i can add to my agent.cfg?

Thanks in advance.

Grt,

Sinister
 
Old 10-22-2007, 04:15 AM   #2
sinister1
Member
 
Registered: Jul 2007
Posts: 70

Original Poster
Rep: Reputation: 15
Does anyone known this?
 
Old 11-02-2007, 08:50 AM   #3
sinister1
Member
 
Registered: Jul 2007
Posts: 70

Original Poster
Rep: Reputation: 15
I've found it a few weeks ago.

Run this init script and start the agent with the -nd option (means network and debug mode)

#!/bin/sh
#
# Starts and stops the Backup Exec agent
# Craig Box, 25/8/03

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/etc/bkupexec/agent.be
CONF=/etc/bkupexec/agent.cfg

# clear conflicting settings from the environment
unset TMPDIR

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

case "$1" in
start)
echo -n "Starting the Backup Exec agent: agent.be"
start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF
echo "."
;;
stop)
echo -n "Stopping the Backup Exec agent: agent.be"
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
echo "."
;;
restart|force-reload)
echo -n "Restarting the Backup Exec agent: agent.be"
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
;;
esac

exit 0
 
  


Reply

Tags
agent, backup, exec, linux, logging, stops, veritas


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Agent Configuration Agent (use Oracle with Linux) shipon_97 Linux - Enterprise 0 02-02-2007 12:11 AM
veritas tutorial kapilcool Linux - Certification 2 11-13-2006 01:46 PM
Veritas remote agent telnet issue how_wood Linux - General 1 01-11-2006 12:11 PM
can't find ide.agent & block.agent for hotplug for 2.6 jg167 Linux - Newbie 1 06-23-2004 05:20 PM
Hotplug problems: RH 9, 2.6.6, PCMCIA-CS 3.2.7 (missing ide.agent & block.agent) jg167 Red Hat 1 06-23-2004 05:18 PM


All times are GMT -5. The time now is 05:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration