Save 
Join IIUG
 for   
 

Informix News
29 July 09 - Wall Street Journal - IBM to Acquire SPSS, Adding to Acquisitions... Read
11 February 09 - InformationWeek - IBM Drifts Slowly Toward Mainstream Cloud Computing... Read
11 February 09 - CNNMoney.com - IBM to Deliver Software via Cloud Computing With Amazon Web Services... Read
07 January 09 - Huliq News - IBM Power Servers Helps Bank of Chengdu Build Up Core Banking System.. Read
04 December 08 - Steeleye - Multicarta achieves 99.997% uptime for its Informix-based Credit Card Authorization Centre... Read
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read


End of Support Dates

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: Logical Log files MISSING

Posted By: Martin Fuerderer
Date: Monday, 13 October 2008, at 5:05 a.m.

In Response To: Re: Logical Log files MISSING (Davis Kwong)

Hi,

most likely (> 98%), the problem is what Davis described
in his answer (see below). If you want to be 100% sure,
then you have to modify your alarm program script (or
whatever script/program actually executes the ontape
command) to capture the output of the ontape processes
in a file. If you see messages indicating that some
temporary file cannot be renamed and/or removed
because it does not exist (errno 2), then this is the
described problem.

Besides taking a level-0 archive when the situation of
log file backup loss occured, you may consider the
following to improve the situation:

a) in your script/program add some code to first
check whether an "ontape -a -d" command is already
being executed (e.g. using "ps ..." output). If so, then
do not start a new "ontape -a -d". The one that is
running will backup all the used log files anyway
(except the current log file).
Note: this is not 100% error proof as there still is a

gap between checking for a running "ontape -a -d"

process and starting a new one.

b) Capture all ontape output (stdout and stderr) to a
file and put in your alarm program some additional
code to check this file for above dscribed errors.
If such an error is detected, write a warning (to online.log
or whatever) because now surely it is time to do a
level-0 archive ...
Note: this may also not bee 100% error proof. An error

may still slip your attention. It highly depends on the

implementation of the error checking/scanning ...

c) The respective defect is: idsdb00165611 (for IDS 11.10).
While in the upcoming 11.50.xC3 this is fixed already,
you may contact IBM Informix Tech Support (check
your contract) to get a fix of this problem for
your IDS 11.10 ...

Regards,
Martin
--
Martin Fuerderer
IBM Informix Development Munich, Germany
Information Management

IBM Deutschland Research & Development GmbH
Chairman of the Supervisory Board: Martin Jetter
Board of Management: Erich Baier
Corporate Seat: Boeblingen, Germany
Reg.-Gericht: Amtsgericht Stuttgart, HRB 243294

ids-bounces@iiug.org wrote on 10.10.2008 21:55:01:

> ids-bounces@iiug.org wrote on 10/10/2008 10:01:44 AM:
>
> > Hello,
> >
> > IDS 11.10.FC2W4 on solaris 10
> >
> > Ontape for backing up of logical log files to a directory using the
> > alarmprogram.sh script
> >
> > I see that manyyy logical log files are missing from the logical log
> backup
> > directory..
> >
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020073
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020074
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020075
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020076
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020077
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020078
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020079
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020080
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020081
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020082
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020083
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020085
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020086
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020087
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020088
> >
> > i checked in onstat -l and found that log with uniqid
> >
> > a3180d77e0 142 U-B---- 20066 5:1290053 10000 10000 100.00
> > a3180d7848 143 U-B---- 20067 5:1300053 10000 10000 100.00
> > a3180d78b0 144 U-B---- 20068 5:1310053 10000 10000 100.00
> > a3180d7918 145 U-B---- 20069 5:1320053 10000 10000 100.00
> > a3180d7980 146 U-B---- 20070 5:1330053 10000 10000 100.00
> > a3180d79e8 147 U-B---- 20071 5:1340053 10000 10000 100.00
> > a3180d7a50 148 U-B---- 20072 5:1350053 10000 10000 100.00
> > a3180d7ab8 149 U-B---- 20073 5:1360053 10000 10000 100.00
> > a3180d7b20 150 U-B---- 20074 5:1370053 10000 10000 100.00
> > a3180d7b88 151 U-B---- 20075 5:1380053 10000 10000 100.00
> > a3180d7bf0 152 U-B---- 20076 5:1390053 10000 10000 100.00
> > a3180d7c58 153 U-B---- 20077 5:1400053 10000 10000 100.00
> > a3180d7cc0 154 U-B---- 20078 5:1410053 10000 10000 100.00
> > a3180d7d28 155 U-B---- 20079 5:1420053 10000 10000 100.00
> > a3180d7d90 156 U-B---- 20080 5:1430053 10000 10000 100.00
> > a3180d7df8 157 U-B---- 20081 5:1440053 10000 10000 100.00
> > a3180d7e60 158 U-B---- 20082 5:1450053 10000 10000 100.00
> > a3180d7ec8 159 U-B---- 20083 5:1460053 10000 10000 100.00
> > a3180d7f30 160 U-B---- 20084 5:1470053 10000 10000 100.00
> > a3180d7f98 161 U-B---- 20085 5:1480053 10000 10000 100.00
> > a3180d8028 162 U-B---- 20086 5:1490053 10000 10000 100.00
> > a3180d8090 163 U-B---- 20087 5:1500053 10000 10000 100.00
> > a3180d80f8 164 U-B---- 20088 5:1510053 10000 10000 100.00
> >
> > So the Logical log 20084 is missing from the logical log backup
> directory.
> > and there are manyyyy more...
> > Plssss let me know what could be the reason and what more do i have to

> look
> > for.
>
> This is a bug that is fixed in 11.50xC3
>
> The problem is that when log files are filled rapidly (matter of
seconds)
> and
> the alarmprogram.sh is used to perform automatic ontape backup to
> directory,
> the alarmprogram.sh which invokes ontape may cause ontape to run when
> there,
> is already another ontape running that is backing up a logfile to
> directory.
> This can cause the loss of the logfile that was being backed up by the
> ontape that was already running.
>
> The current workaround is that when this is detected, take a level 0
> archive.
> Since you are on 11.10, I'll see if we can backport the fix to 11.10.
>
> Thanks. Davis.
>
> >
> > the logical log directory has RWX to user and group informix and no
other
> than
> > the dbas so at first i dont think any one would delete that log.
> >
> > any idea what should i do with this ....
> >
> >
> >
>
>
*******************************************************************************
>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.