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 > DB2 > database inconsistant logfile out of space aix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-11-03, 12:04
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
database inconsistant logfile out of space aix

We are DB2 7.2 on the AIX platform. We do not have circular logging. Last night our log file ran out of space. Today we increased the space in our directory. We were getting file permission errors in the db2diag.log about accessing the last log file. We changed the rights to 777. We stopped getting the log file permission problem. I can do a db2stop/start and db2admin stop/start and everything comes up/goes down fine. DB2diag.log doesn't give any error message. However, the database is saying it is inconsistant. I've tried logging forward and that worked ok, but the database is still inconsistant. It looks like my only backup is bad too. It's a canned product from a vender and it inserts transactions while it monitors network activity. Nobody took an initial backup and I couldn't get one while it was running. Any suggestions on getting my database back to normal??
Reply With Quote
  #2 (permalink)  
Old 12-11-03, 12:09
jsander jsander is offline
Registered User
 
Join Date: Apr 2003
Posts: 191
Re: database inconsistant logfile out of space aix

Hi,

what exactly makes you think your db is inconsistent? Can you connect?

Johann

Quote:
Originally posted by chinatrain99
We are DB2 7.2 on the AIX platform. We do not have circular logging. Last night our log file ran out of space. Today we increased the space in our directory. We were getting file permission errors in the db2diag.log about accessing the last log file. We changed the rights to 777. We stopped getting the log file permission problem. I can do a db2stop/start and db2admin stop/start and everything comes up/goes down fine. DB2diag.log doesn't give any error message. However, the database is saying it is inconsistant. I've tried logging forward and that worked ok, but the database is still inconsistant. It looks like my only backup is bad too. It's a canned product from a vender and it inserts transactions while it monitors network activity. Nobody took an initial backup and I couldn't get one while it was running. Any suggestions on getting my database back to normal??
Reply With Quote
  #3 (permalink)  
Old 12-11-03, 12:35
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
MORE INFO...

when i configure the database, the status screen database consistant field is "no".

also, when I try to drill down using the control center (or do a db2 connect from a command line) I get:

SQL1042C AN UNEXPECTED SYSTEM ERROR OCCURED.

I ran the db2ln command (seen it in a post and was desperate) and it gave me an error about permissions on my last log. So, the logging is still a problem...making the database inconsistant. My backup, when I try to restore it, will not let me redirect the containers. It's looking for/at something in my messed up database that is not allowing it to work.
Reply With Quote
  #4 (permalink)  
Old 12-12-03, 03:50
jsander jsander is offline
Registered User
 
Join Date: Apr 2003
Posts: 191
Re: MORE INFO...

Hi,

you may want to open a case with IBM support. Also, in order to be able to save whatever is possible, read up on the db2dart tool. This tool can check the database and retrieve table data to flat files.

Johann

Quote:
Originally posted by chinatrain99
when i configure the database, the status screen database consistant field is "no".

also, when I try to drill down using the control center (or do a db2 connect from a command line) I get:

SQL1042C AN UNEXPECTED SYSTEM ERROR OCCURED.

I ran the db2ln command (seen it in a post and was desperate) and it gave me an error about permissions on my last log. So, the logging is still a problem...making the database inconsistant. My backup, when I try to restore it, will not let me redirect the containers. It's looking for/at something in my messed up database that is not allowing it to work.
Reply With Quote
  #5 (permalink)  
Old 12-16-03, 08:00
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: MORE INFO...

You have 'messed' up with some permissions on directories ... Try running db2iupdt .... That may help

Cheers

Sathyaram

Quote:
Originally posted by jsander
Hi,

you may want to open a case with IBM support. Also, in order to be able to save whatever is possible, read up on the db2dart tool. This tool can check the database and retrieve table data to flat files.

Johann
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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