Hi Malcolm,
>From time to time, after an Amazon instances has been shutdown, SEDNA
> fails to start properly.
>
Do you shutdown machine gracefully?
> I use a modified init.d script provided by Charles Foster to start and
> stop SEDNA.
>
Send this script, please.
Command line
> Starting database recovery or hot-backup restoration...
> Database recovery in progress...
> SEDNA Message: FATAL ERROR
> in process [720] /home/ubuntu/sedna/bin/se_sm qbDb
> System error. This error means system malfunction.
> Cannot create data directory for soft fault logs
> Cannot create soft fault log ......
>
Send exact commands you run. On behalf of which user. Send also result of:
ls -lh SEDNA_HOME
ls -lh SEDNA_HOME/data
ls -lh SEDNA_HOME/cfg
ERROR 11/11/2011 15:30:13 (RCV qbDb pid=594) [vmm.cpp:vmm_remap:104]:
> (SE1035) Memory mapping error.
> INFO 11/11/2011 15:30:13 (SM qbDb pid=548)
> [bm_core.cpp:bm_log_out_io_statistics:521]: IO block reads:34, writes:0
> LOG 11/11/2011 15:30:13 (RCV qbDb pid=594) [tr.cpp:TRmain:514]: Session
> is
> closed
> SYS 11/11/2011 15:30:14 (GOV pid=536)
> [uprocess.c:uWaitForChildProcess:495]: waitpid (code = 10): No child
> processes
> FATAL 11/11/2011 15:30:14 (GOV pid=536)
> [gov_table.cpp:wait_erase_session:133]: Error, WaitForProcess failed
>
>
Is this log snippet right after OS start or after your attempt to start
database via command line?
> Is there something I can do to recover from the failure?
>
First of all, we should understand what's going on. Output and log you sent
contain a log of strange things. BTW, probably you can give us copy of your
machine to reproduce this?
> Is there a standard start and stop practice that should be utilized?
>
Yep. se_stop or se_stop -hard to terminate immediately all running
transactions must be called to shutdown Sedna server gracefully.
> Is this problem resolved in the newest SEDNA RC?
Again it's hard to say since I don't understand problem right now. Though,
RC contains a lot of fixes including in recovery process. So, give it a try.
Ivan Shcheklein,
Sedna Team
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion