Ingres Community Forums Login Register Ingres.com  

Ingres Community Forum


Go Back   Ingres Community Forums > Ingres Forums > DBA Forum
 

Reply
 
LinkBack Thread Tools Display Modes
Old 2010-07-27   #1 (permalink)
Ingres Community
 
Join Date: Jul 2009
Posts: 64
Default E_SC0206 An internal error prevents ...

I have run the following line commend:

verifydb -mrun -sdbname "icd_ept_alenia ucs_db test aln_hardwired" -opurge


but ingres gives me the following error:

Aborting because of error
E_SC0206 An internal error prevents further processing of this query.
Associated error messages which provide more detailed information about
the problem can be found in the error log, II_CONFIG:error.log
Attached Files
File Type: zip Errlog.zip (43.1 KB, 7 views)
aleniaam is offline   Reply With Quote
Old 2010-07-27   #2 (permalink)
Ingres Corp
 
maspa05's Avatar
 
Join Date: Mar 2007
Location: UK, Sunny Slough!
Posts: 137
Default

{reply deleted - not what I thought it was}
__________________
Paul Mason
maspa05 is offline   Reply With Quote
Old 2010-07-27   #3 (permalink)
Ingres Community
 
Join Date: Jul 2009
Posts: 64
Default

Now I have run the command again and it tells me:

E_DU101A_CANT_CONNECT
Unable to connect with database icd_ept_alenia-
E_DU502A_PURGE_ERR
VERIFYDB: Fatal erro encounterd while attepting
to purge database icd_ept_alenia
aleniaam is offline   Reply With Quote
Old 2010-07-27   #4 (permalink)
Ingres Community
 
Join Date: Jul 2009
Posts: 64
Default

Now it seems that the error comes back to the one in the first post.

The second error, I suppose, was given because there was someone loggeg in.

Sorry
aleniaam is offline   Reply With Quote
Old 2010-07-27   #5 (permalink)
Ingres Community
 
dejan's Avatar
 
Join Date: Jun 2009
Location: London, UK
Posts: 168
Send a message via MSN to dejan Send a message via Yahoo to dejan
Default

Aleniaam, I think you are getting an error because verifydb tried to get an exclusive lock on the database, and failed because someone already had some lock(s) there, so verifydb failed.
dejan is offline   Reply With Quote
Old 2010-07-27   #6 (permalink)
Ingres Community
 
kschendel's Avatar
 
Join Date: Mar 2007
Location: Pittsburgh, PA
Posts: 1,246
Send a message via Skype™ to kschendel
Default

The error log is not terribly informative. It's trying to list the filenames in the data directory, so I'd suggest taking a look in the data locations for that database. (Infodb will tell you what the directories are.) Make sure the directory permission is OK, make sure that there are no bizarre filenames in the directory. Valid data location filenames look something like aaaabcde.t00 or occasionally ppppabcd.t00.

You can also try enabling the DBMS log if it's not enabled already. In a command prompt, type "ingprenv" and see if you have II_DBMS_LOG defined. If not, ingsetenv II_DBMS_LOG 'full-path' where full-path is a directory + filename where Ingres will put the DBMS log. Sometimes the DBMS log has more information than the error log.
kschendel is offline   Reply With Quote
Old 2010-07-27   #7 (permalink)
Ingres Community
 
Join Date: Jul 2009
Posts: 64
Default

Attached there is the ii_dbms_log file.

The second kind of error was given because there was somebody logged in.

But the first kind of error I don't really know the reason.

Give a look at the log file, please

Thanks
Attached Files
File Type: txt ii_dbms_log.txt (11.4 KB, 7 views)
aleniaam is offline   Reply With Quote
Old 2010-07-27   #8 (permalink)
Ingres Community
 
Join Date: Jun 2007
Posts: 83
Default

It appears that the E_SC0206 occurs, because :

if there is any work location defined, but for which the physical directory is not properly created .

An output from
ingprenv
and
infodb icd_ept_alenia
infodb ucs_db
infodb test
infodb aln_hardwired

would give more infomation about the work directories for each database.
seran01 is offline   Reply With Quote
Old 2010-07-27   #9 (permalink)
Ingres Community
 
Join Date: Jul 2009
Posts: 64
Default

Here there is the info ...
Attached Files
File Type: txt info.txt (13.6 KB, 9 views)
aleniaam is offline   Reply With Quote
Old 2010-07-27   #10 (permalink)
Ingres Corp
 
Join Date: Mar 2007
Location: Paris
Posts: 45
Default

hi Aleniaam,

it seems your databases are on D disk while the rest is still stored on C drive (Work, Dump, Journals, etc.). I would suggest you make sure you are not running out of disk space on C and check all directories mentionned in infodb do exist.

Hope this helps
padst01 is offline   Reply With Quote

Reply


Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2009 Ingres Corporation. All Rights Reserved