If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Logical Logs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-02, 18:48
gmarshall gmarshall is offline
Registered User
 
Join Date: Sep 2002
Posts: 7
Logical Logs

I'm running Informix IDS 7.3 on RH 7.2. The logical logs have filled up and I can't connect. A message says backup is needed. The system was originally set up to dump the logs so they never fill up. Since that time, a new chunk was added to the root dbspace. Also, a new dbspace was created in another new chunk.

Is there any way to recover from this situation?
Reply With Quote
  #2 (permalink)  
Old 09-25-02, 23:43
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
You need to perform a level-0 archive using ontape -s or ontape -s -L 0.

Last edited by rnealejr; 09-25-02 at 23:46.
Reply With Quote
  #3 (permalink)  
Old 09-26-02, 05:21
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Re: Logical Logs

What do you mean by:

dump the logs so they never fill up.
LTAPEDEV=/dev/null ?

If you don't have a production system it's ok to do the backup to /dev/null.
__________________
rws
Reply With Quote
  #4 (permalink)  
Old 09-26-02, 12:09
gmarshall gmarshall is offline
Registered User
 
Join Date: Sep 2002
Posts: 7
So far I haven't been able to do the archive. The server only comes up in quiescent mode. No connections are possible in quiescent mode, and I don't know wheter archives can be run from quiescent mode. When I try to archive (ontape -s -L 0), the message returned is "server is in incompatible state or user authentication failure". The user has successfully archived in the past, so I don't think that's the problem.
The server entered this state when a large transaction was run and filled the logical log files.

Thanks to everyone for your help.
Gary Marshall
Reply With Quote
  #5 (permalink)  
Old 09-26-02, 12:31
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
What does the message log say when you do an onmode -m?

In quiescent mode you can add new logs... The server is probably doing a rollback and doesn't have enough logs to do this rollback.
__________________
rws
Reply With Quote
  #6 (permalink)  
Old 09-26-02, 12:47
gmarshall gmarshall is offline
Registered User
 
Join Date: Sep 2002
Posts: 7
Thanks for you help.

onmode -m

After about 2 min, there is a repeating message "Logical Log Files are Full, Backup is Needed"

After starting with oninit -sy, Physical recovery is completed, Logical recovery starts but does not complete.

onstat -l shows 5 of 6 logical logs 100% used, log 6 is 13% used.
Reply With Quote
  #7 (permalink)  
Old 09-26-02, 12:51
gmarshall gmarshall is offline
Registered User
 
Join Date: Sep 2002
Posts: 7
BTW,

RE adding new log files. I read that new log files wouldn't be available to use until an archive is performed. Do you know if that is correct? So far I haven't been able to do an archive (ontape -s -L 0).

Thanks very much.
Gary Marshall
Reply With Quote
  #8 (permalink)  
Old 09-26-02, 13:01
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
This feature is available in 9.30.
In 9.21 (and earlier) you need a level 0 archive.
__________________
rws
Reply With Quote
  #9 (permalink)  
Old 09-26-02, 13:03
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
You can always call technical support. They can do stuff we can't!
ask for a tb-zero or a tb-one.
If you have a maintenance contract, it's free!
__________________
rws
Reply With Quote
  #10 (permalink)  
Old 09-26-02, 13:15
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
What is your LTAPEDEV set to in your onconfig file ?
Reply With Quote
  #11 (permalink)  
Old 09-26-02, 13:28
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
If you have support, I would persue that option. You might be able to fix this by setting your LTAPEDEV=/dev/null and bounce you instance. If not, then you will have to contact support.
Reply With Quote
  #12 (permalink)  
Old 09-26-02, 13:33
gmarshall gmarshall is offline
Registered User
 
Join Date: Sep 2002
Posts: 7
Thanks to everyone for your help.

LTAPEDEV is set to /dev/null

I'm in the process of trying emergency logical log file backup, using ondatartr as described in ch. 6 and ch. 9 of IDS 7.3 Archive and Backup Guide. If anyone has any experience with using ondatartr to do emergency logical log backups, I'd be happy to hear about it. In the meantime, I'll be reading the documentation and giving it a try.

I found that suggestion on a post from jsalomon(guest) on 4-5-2001.

Thanks again to everyone.
Gary Marshall
Reply With Quote
  #13 (permalink)  
Old 09-26-02, 13:35
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Good luck.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On