Bugs item #2812781, was opened at 2009-06-26 10:33
Message generated for change (Settings changed) made by mwaschkowski
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2812781&group_id=129076
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: Sedna (current)
>Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: mwaschkowski (mwaschkowski)
Assigned to: Ivan Shcheklein (shcheklein)
Summary: Fatal error while dropping databases
Initial Comment:
I was trying to drop and recreate a database for another issue that I'm about
to enter, and got the following message, with the relevant log file entries
beneath.
C:\java\sedna\bin>se_gov
GOVERNOR has been started in the background mode
C:\java\sedna\bin>se_cdb test1
SEDNA Message: ERROR SE4307
Failed to create a database
Details: A database with the name 'test1' already exists
C:\java\sedna\bin>se_ddb test1
The database 'test1' has been dropped
C:\java\sedna\bin>se_cdb test1
Creating a data base (it can take a few minutes)...
Can not perform cleanup. Please stop Sedna and drop created database files
manually.
'/cfg/$_cfg.xml' and '/data/$_files' directory ('$' is the database name).
SEDNA Message: FATAL ERROR
in process [3420] se_cdb test1
System error. This error means system malfunction.
Details: Can't stratup SM to load metadata
C:\java\sedna\bin>
LOG ENTRIES:
INFO 26/06/2009 10:30:00 (GOV pid=1008) [gov.cpp:main:231]: SEDNA version is
3.1.175
INFO 26/06/2009 10:30:00 (GOV pid=1008)
[gov_functions.cpp:log_out_system_information:79]: System: Windows 5.1.2600
(SP3.0) x86
INFO 26/06/2009 10:30:00 (GOV pid=1008)
[gmm.cpp:create_global_memory_mapping:129]: Layer address space start addr =
0x1f750000
INFO 26/06/2009 10:30:00 (GOV pid=1008)
[gmm.cpp:create_global_memory_mapping:130]: Layer address space boundary =
0x5f750000
INFO 26/06/2009 10:30:00 (GOV pid=1008)
[gmm.cpp:create_global_memory_mapping:131]: Persistent heap start addr =
0x19350000
LOG 26/06/2009 10:30:00 (GOV pid=1008) [gov.cpp:main:240]: Process ping
server is ready
LOG 26/06/2009 10:30:00 (GOV pid=1008) [listener.cpp:client_listener:67]:
GOVERNOR is ready
LOG 26/06/2009 10:30:18 (CDB test1 pid=3420) [cdb.cpp:create_db:70]: Request
for database creation
LOG 26/06/2009 10:30:18 (CDB test1 pid=3420)
[blk_mngmt.cpp:extend_data_file:593]: Data file has been extended, size: 6410000
LOG 26/06/2009 10:30:18 (CDB test1 pid=3420)
[blk_mngmt.cpp:extend_tmp_file:619]: Temp file has been extended, size: 6400000
SYS 26/06/2009 10:30:19 (CDB test1 pid=3420) [uprocess.c:uCreateProcess:167]:
CreateProcess (code = 2): The system cannot find the file specified.
SYS 26/06/2009 10:30:19 (CDB test1 pid=3420) [uprocess.c:uCreateProcess:173]:
CloseHandle (code = 6): The handle is invalid.
FATAL 26/06/2009 10:30:19 (CDB test1 pid=3420)
[db_utils.cpp:load_metadata_in_database:185]: Can't stratup SM to load metadata
SYS 26/06/2009 10:30:19 (CDB test1 pid=3420) [uhdd.c:uIsFileExist:367]:
GetFileAttributes (code = 2): The system cannot find the file specified.
SYS 26/06/2009 10:30:19 (CDB test1 pid=3420) [uhdd.c:uIsFileExist:367]:
GetFileAttributes (code = 2): The system cannot find the file specified.
SYS 26/06/2009 10:30:19 (CDB test1 pid=3420) [uhdd.c:uIsFileExist:367]:
GetFileAttributes (code = 2): The system cannot find the file specified.
SYS 26/06/2009 10:30:19 (CDB test1 pid=3420) [uhdd.c:uDelDir:163]: _rmdir
(code = 32): The process cannot access the file because it is being used by
another process.
----------------------------------------------------------------------
Comment By: mwaschkowski (mwaschkowski)
Date: 2009-06-26 10:55
Message:
OK, that worked.
Thank you.
----------------------------------------------------------------------
Comment By: Ivan Shcheklein (shcheklein)
Date: 2009-06-26 10:49
Message:
Try the following to recreate the database:
1. Check that %SEDNA_DIR%/bin contains system files. I mean se_gov, se_sm,
se_trn, se_cdb, etc ...
2. Kill all Sedna processes (se_*).
3. Remove 'data/test1_files' folder and 'cfg/test1_cfg.xml' file.
4. Try to start se_gov and recreate database.
Feel free to close this bug report if solution works for you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2812781&group_id=129076
------------------------------------------------------------------------------
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion