Hi Mike,
How do you kill OrientDB? Are you using the bin/shutdown.sh command? Or
even "kill -1 <pid>" ?

Do you have logs of the crashed server? Without logs it's hard to guess
what happened, crashes are usually due by wrong memory configuration. How
much RAM do you have on your machine? What's your OrientDB cfg?

Lvc@



On 6 June 2014 15:24, Michael Griehm <[email protected]> wrote:

> Hi,
>
> I am using v1.7 of OrientDB, downloaded from OrientDB site on 6/1/2014.  I
> have been getting this error: 'WARN segment file 'database.ocf' was not
> closed correctly last time' on a consistent basis.  Not sure why.  Last
> night I left the server running after work hours, this morning when I came
> in the OrientDB server was dead and when I started it, it crashed, so I had
> to restart, then got the error listed above after restart, but now the
> server seems to be ok.
>
> We are considering using OrientDB in a commercial application.
>
> So far I like the functionality and speed of OrientDB, but issues like
> this might cause us to use a competitor.
>
> Any info and help you can supply would be mutually beneficial.
>
> Regards,
> Mike Griehm
>
>
> On Tuesday, January 31, 2012 6:32:23 AM UTC-5, Frank Panetta wrote:
>
>> Hi,
>>
>> I using 1.0rc7 on and accessing using HTTP api from a nodejs server.
>> To start and stop the server I use the orientdb.sh script, however I
>> keep getting 'not closed correctly' errors when using the database. It
>> seems to shutdown correctly. Do I need to worry about this? Am I doing
>> something wrong?
>>
>> Thanks
>> Frank
>>
>> (I pasted the total output of my log file. I hope that's ok)
>>
>> 2012-01-30 11:41:14:867 INFO [OLogManager] OrientDB Server v1.0rc7
>> (build 11046) is starting up...
>> 2012-01-30 11:41:15:197 INFO [OLogManager] -> Loaded memory database
>> 'temp'
>> 2012-01-30 11:41:15:225 INFO [OLogManager] Listening distributed
>> connections on 0.0.0.0:2424
>> 2012-01-30 11:41:15:232 INFO [OLogManager] Listening http connections
>> on localhost:2480
>> 2012-01-30 11:41:15:449 INFO [OLogManager] OrientDB Server v1.0rc7 is
>> active.
>> 2012-01-30 11:41:17:442 WARN [OLogManager] Cluster 'default': current
>> node is the new Leader Node
>> 2012-01-30 11:41:17:449 INFO [OLogManager] Cluster 'default':
>> listening for distributed nodes on IP multicast: /235.1.1.1:2424
>> 2012-01-30 11:41:17:781 WARN [OLogManager] Segment file default.0.oda
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:781 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:782 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/default.odh was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:792 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/database.ocf was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:810 WARN [OLogManager] Segment file orole.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:810 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:811 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/orole.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:814 WARN [OLogManager] Segment file ouser.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:814 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:816 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/ouser.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:817 WARN [OLogManager] Segment file csv.0.ocl was
>> not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:817 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:818 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/csv.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:819 WARN [OLogManager] Segment file flat.0.ocl was
>> not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:819 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:820 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/flat.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:821 WARN [OLogManager] Segment file binary.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:821 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:822 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/binary.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:823 WARN [OLogManager] Segment file account.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:823 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:824 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/account.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:825 WARN [OLogManager] Segment file company.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:825 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:826 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/company.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:827 WARN [OLogManager] Segment file profile.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:827 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:828 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/profile.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:829 WARN [OLogManager] Segment file whiz.0.ocl was
>> not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:829 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:830 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/whiz.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:831 WARN [OLogManager] Segment file address.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:831 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:832 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/address.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:834 WARN [OLogManager] Segment file city.0.ocl was
>> not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:834 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:835 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/city.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:836 WARN [OLogManager] Segment file country.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:836 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:837 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/country.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:838 WARN [OLogManager] Segment file dummy.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:838 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:839 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/dummy.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:840 WARN [OLogManager] Segment file animal.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:840 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:841 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/animal.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:843 WARN [OLogManager] Segment file animalrace.
>> 0.ocl was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:843 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:844 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/animalrace.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:845 WARN [OLogManager] Segment file
>> propertyindextestclass.0.ocl was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:845 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:846 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/propertyindextestclass.och was not closed correctly
>> last time. Checking segments...
>> 2012-01-30 11:41:17:847 WARN [OLogManager] Segment file
>> classclassindexmanagertestclasstwo.0.ocl was not closed correctly last
>> time. Checking segments...
>> 2012-01-30 11:41:17:848 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:849 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/classclassindexmanagertestclasstwo.och was not closed
>> correctly last time. Checking segments...
>> 2012-01-30 11:41:17:850 WARN [OLogManager] Segment file testclass.
>> 0.ocl was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:850 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:851 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/testclass.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:852 WARN [OLogManager] Segment file testlinkclass.
>> 0.ocl was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:852 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:853 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/testlinkclass.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:854 WARN [OLogManager] Segment file person2.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:855 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:855 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/person2.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:856 WARN [OLogManager] Segment file
>> sqldropindextestclass.0.ocl was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:857 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:857 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/sqldropindextestclass.och was not closed correctly last
>> time. Checking segments...
>> 2012-01-30 11:41:17:860 WARN [OLogManager] Segment file
>> sqlselectcompositeindexdirectsearchtestclass.0.ocl was not closed
>> correctly last time. Checking segments...
>> 2012-01-30 11:41:17:861 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:861 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/sqlselectcompositeindexdirectsearchtestclass.och was
>> not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:863 WARN [OLogManager] Segment file ographvertex.
>> 0.ocl was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:863 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:864 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/ographvertex.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:865 WARN [OLogManager] Segment file ographedge.
>> 0.ocl was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:865 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:866 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/ographedge.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:867 WARN [OLogManager] Segment file graphvehicle.
>> 0.ocl was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:868 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:868 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/graphvehicle.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:869 WARN [OLogManager] Segment file graphcar.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:870 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:870 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/graphcar.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:872 WARN [OLogManager] Segment file graphmotocycle.
>> 0.ocl was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:872 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:872 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/graphmotocycle.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:873 WARN [OLogManager] Segment file newv.0.ocl was
>> not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:874 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:874 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/newv.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:876 WARN [OLogManager] Segment file mappoint.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:876 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:877 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/mappoint.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:878 WARN [OLogManager] Segment file vertexa.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:878 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:879 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/vertexa.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:880 WARN [OLogManager] Segment file vertexb.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:880 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:881 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/vertexb.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:882 WARN [OLogManager] Segment file person.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:883 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:883 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/person.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:884 WARN [OLogManager] Segment file order.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:885 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:885 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/order.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:886 WARN [OLogManager] Segment file omvrbtreerid.
>> 0.ocl was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:886 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:887 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/omvrbtreerid.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:888 WARN [OLogManager] Segment file post.0.ocl was
>> not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:888 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:889 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/post.och was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:17:890 WARN [OLogManager] Segment file comment.0.ocl
>> was not closed correctly last time. Checking segments...
>> 2012-01-30 11:41:17:890 WARN [OLogManager] OK
>> 2012-01-30 11:41:17:891 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/comment.och was not closed correctly last time.
>> Checking segments...
>> 2012-01-30 11:41:17:894 WARN [OLogManager] File /Users/frank/orientdb/
>> databases/demo/txlog.otx was not closed correctly last time. Checking
>> segments...
>> 2012-01-30 11:41:33:881 INFO [OLogManager] Received shutdown command
>> from the remote client /192.168.1.1:50143
>> 2012-01-30 11:41:33:881 INFO [OLogManager] Remote client /
>> 192.168.1.1:50143 authenticated. Starting shutdown of server...
>> 2012-01-30 11:41:33:882 INFO [OLogManager] OrientDB Server is
>> shutdowning...
>> 2012-01-30 11:41:33:882 INFO [OLogManager] Shutdowning connection
>> listener 'ONetworkProtocolDistributed /0.0.0.0:2424:'...
>> 2012-01-30 11:41:33:882 INFO [OLogManager] Shutdowning connection
>> listener 'ONetworkProtocolHttpDb /127.0.0.1:2480:'...
>> 2012-01-30 11:41:33:882 INFO [OLogManager] Shutdowning handler
>> default...
>> 2012-01-30 11:41:33:882 INFO [OLogManager] Shutdowning handler
>> automaticBackup...
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to