onbar
Posted in 2005
Topics: Backup & Restore, Storage & Space Management
hi,
i try to use onbar to backup my informix 9.40 instances with TSM.
when i backup manually all works fine, but when i do it by cron,
i encounter two types of error :
on one instance i have in the bar_act.log :
2005-06-17 09:33:00 352242 21878 /informix/bin/onbar_d -b -L 0
2005-06-17 09:33:00 352242 21878 BAR_XFER_BUF_SIZE exceeded maximum
allowed limit. Changing buffer size to 61440.
2005-06-17 09:33:03 352242 21878 Begin level 0 backup rootdbs.
2005-06-17 09:33:03 352242 21878 XBSA Error (BSAInit): An unspecified XBSA
error has occured: 406
2005-06-17 09:33:05 352242 21878 /informix/bin/onbar_d complete, returning
406 (0x196)
=> i don't understand where is the error...
on the second instance i have :
2005-06-17 10:50:00 37818 7556 /informix/bin/onbar_d -b -L 0
2005-06-17 10:50:00 37818 7556 Unable to open connection to database
server: IBM Informix Dynamic Server Stopped..
2005-06-17 10:50:00 37818 7556 /informix/bin/onbar_d complete, returning
151 (0x97)
=> the server is on-line.i verified the environnement, and it's good.
=> i set BAR_DEBUG to 9 and i see that onbar is opening the right instance.
=> why does it see the server Stopped ?
thanks
The cron for informix will launch jobs for you as
informix,
But the cron will not set the environment for you.
The cron will not execute .profile or .env
Please check it.
-----Original Message-----
From: nobody@ace.iiug.org [mailto:nobody@ace.iiug.org]
Sent: 17 June 2005 11:18
To: ids@iiug.org
Subject: onbar [5179]
hi,
i try to use onbar to backup my informix 9.40 instances with TSM.
when i backup manually all works fine, but when i do it by cron,
i encounter two types of error :
on one instance i have in the bar_act.log :
2005-06-17 09:33:00 352242 21878 /informix/bin/onbar_d -b -L 0
2005-06-17 09:33:00 352242 21878 BAR_XFER_BUF_SIZE exceeded maximum
allowed limit. Changing buffer size to 61440.
2005-06-17 09:33:03 352242 21878 Begin level 0 backup rootdbs.
2005-06-17 09:33:03 352242 21878 XBSA Error (BSAInit): An unspecified XBSA
error has occured: 406
2005-06-17 09:33:05 352242 21878 /informix/bin/onbar_d complete, returning
406 (0x196)
=> i don't understand where is the error...
on the second instance i have :
2005-06-17 10:50:00 37818 7556 /informix/bin/onbar_d -b -L 0
2005-06-17 10:50:00 37818 7556 Unable to open connection to database
server: IBM Informix Dynamic Server Stopped..
2005-06-17 10:50:00 37818 7556 /informix/bin/onbar_d complete, returning
151 (0x97)
=> the server is on-line.i verified the environnement, and it's good.
=> i set BAR_DEBUG to 9 and i see that onbar is opening the right instance.
=> why does it see the server Stopped ?
thanks
------_=_NextPart_001_01C5755C.8EB932B0
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: onbar [5179] </TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>The cron for informix will launch jobs for you as
informix,</FONT>
<BR><FONT SIZE=2>But the cron will not set the environment for you.</FONT>
<BR><FONT SIZE=2>The cron will not execute .profile or .env</FONT>
<BR><FONT SIZE=2>Please check it.</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: nobody@ace.iiug.org [<A
HREF="mailto:nobody@ace.iiug.org">mailto:nobody@ace.iiug.org</A>] </FONT>
<BR><FONT SIZE=2>Sent: 17 June 2005 11:18</FONT>
<BR><FONT SIZE=2>To: ids@iiug.org</FONT>
<BR><FONT SIZE=2>Subject: onbar [5179] </FONT>
</P>
<P><FONT SIZE=2>hi,</FONT>
<BR><FONT SIZE=2>i try to use onbar to backup my informix 9.40 instances with
TSM.</FONT>
<BR><FONT SIZE=2>when i backup manually all works fine, but when i do it by
cron,</FONT>
<BR><FONT SIZE=2>i encounter two types of error :</FONT>
<BR><FONT SIZE=2>on one instance i have in the bar_act.log :</FONT>
<BR><FONT SIZE=2>2005-06-17 09:33:00 352242 21878 /informix/bin/onbar_d
-b -L 0</FONT>
<BR><FONT SIZE=2> 2005-06-17 09:33:00 352242 21878
BAR_XFER_BUF_SIZE exceeded maximum</FONT>
<BR><FONT SIZE=2>allowed limit. Changing buffer size to 61440.</FONT>
<BR><FONT SIZE=2> 2005-06-17 09:33:03 352242 21878 Begin level 0
backup rootdbs.</FONT>
<BR><FONT SIZE=2> 2005-06-17 09:33:03 352242 21878 XBSA Error
(BSAInit): An unspecified XBSA</FONT>
<BR><FONT SIZE=2>error has occured: 406</FONT>
<BR><FONT SIZE=2> 2005-06-17 09:33:05 352242 21878
/informix/bin/onbar_d complete, returning</FONT>
<BR><FONT SIZE=2>406 (0x196)</FONT>
<BR><FONT SIZE=2>=> i don't understand where is the error...</FONT>
</P>
<BR>
<P><FONT SIZE=2>on the second instance i have :</FONT>
<BR><FONT SIZE=2> 2005-06-17 10:50:00 37818 7556
/informix/bin/onbar_d -b -L 0</FONT>
<BR><FONT SIZE=2> 2005-06-17 10:50:00 37818 7556 Unable to open
connection to database</FONT>
<BR><FONT SIZE=2>server: IBM Informix Dynamic Server Stopped..</FONT>
<BR><FONT SIZE=2> 2005-06-17 10:50:00 37818 7556
/informix/bin/onbar_d complete, returning</FONT>
<BR><FONT SIZE=2>151 (0x97)</FONT>
<BR><FONT SIZE=2>=> the server is on-line.i verified the environnement, and
it's good.</FONT>
<BR><FONT SIZE=2>=> i set BAR_DEBUG to 9 and i see that onbar is opening
the right instance.</FONT>
<BR><FONT SIZE=2>=> why does it see the server Stopped ?</FONT>
</P>
<P><FONT SIZE=2>thanks</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C5755C.8EB932B0--