I get an error when i go to start my server, "DATABASE LOCKED" cannot save world
database locked
- King Nothing
- Closed
- Thread is marked as Resolved.
-
-
Where do you run your server? Is it on your local machine? Usually the "database locked" error indicates that it has problems accessing or writing to the world file. Please provide a full server log, it contains more information about what's going wrong exactly
-
its on my main windows PC. in the rw folder
Rising World - 0.7.2 - Dedicated Server
Windows 10 10.0 Java 1.8.0_91 (x86) Memory: 1037 MB
06/30/2016 04:39 PMItems initialized!
Plants initialized!
NPCs initialized!
Initialize Static Classes...
Constructions initialized!
Objects initialized!
Picking initialized!
Food-Definitions initialized!
Crafting-Definitions initialized!
read bytes from resource: 11417
read bytes from resource: 7342
read bytes from resource: 5351
read bytes from resource: 32120
Initializing world (sqlite)
LOAD WORLD EffenDor
DATABASE TYPE: SqLite
C:\Program Files (x86)\Steam\steamapps\common\RisingWorld/Worlds/EffenDor:::EffenDor
CREATE WORLD STRUCTURE - DONE!
06/30/2016 04:39 PM x.a
INFO: DatabaseTaskManager started with ThreadPoolSize 1
WORLDINFO Gamemode: Survival
Gametype set to Survival
WORLDINFO Seed: 150963806495976
WORLDINFO Caves: true
WORLDINFO Vegetations: true
WORLDINFO OreAmount: 3
WORLDINFO DisabledNPCs:
WORLDINFO Worldtype: Normal
WORLDINFOS seed: 150963806495976 type: Normal caves: true vegetations: true oreamount: 3 disablednpc: []
WORLDINFO Time: 4.1.0 10:14:1.4197282
set game time from string: 4.1.0 10:14:1.4197282
WORLDINFO Creationdate: 1467281875775
WORLDINFO Version: 0.7.2_30
TRIGGER UPDATE
Worldconverter: Updating not required
WORLDINFO Spawninventory: 2 0 0 23 0 0 1 -65 -128 0 0 0 0 0 1 0 17 0 0 1 -65 -128 0 0 0 0 0 0 0 0
Worldpart generating...
Biomepart generating...
Loaded Biomepart from cache: 0 - 0 (5ms)
Loaded Worldpart from cache: 0 - 0 (195ms)
WORLDINFO Spawnposition: 256.0 57.0 256.0
WORLDINFO Spawnrotation: 0.0 0.0 0.0 1.0
dir does not exist: Worlds/EffenDor/customImages/
1 chests loaded from DB!
0 texts loaded from DB!
0 Plants loaded from DB!
0 Furnaces loaded from DB!
22 NPCs loaded from DB!
STARTING RISING WORLD SERVER...
Server bind to IP: ***.***.***.***:4255
NetworkServer version 0.6
ThreadPoolSize 4255 TCP: 1 (1)
ThreadPoolSize 4255 UDP: 1 (1)
ThreadPoolSize 4256 UDP: 1 (1)
ThreadPoolSize 4256 TCP: 1 (1)
ThreadPoolSize 4257 UDP: 1 (1)
ThreadPoolSize 4257 TCP: 1 (1)
ThreadPoolSize 4258 TCP: 1 (1)
06/30/2016 04:39 PM G.g
INFO: Default server permissions loaded successfully!
Found 1 files in groups folder
06/30/2016 04:39 PM G.g
INFO: Group "admin" permissions loaded successfully!
StartUp TcpKernel Port: 4255
StartUp UdpKernel Port: 4255
StartUp UdpKernel Port: 4256
StartUp TcpKernel Port: 4256
StartUp UdpKernel Port: 4257
StartUp TcpKernel Port: 4257
StartUp TcpKernel Port: 4258
CREATED SERVER SAVE THREAD
RISING WORLD SERVER STARTED
START
***LUA***HTTP Server bind to IP: 0.0.0.0:4254
06/30/2016 04:39 PM server.Main
SEVERE: Unable to request UUID from hive
de.jiw.apigility.exceptions.ApigilityException: No HTTP Server was found, please check your firewall settings and make sure the address is reachable from outside. [Code:607]
at de.jiw.apigility.Apigility.processMainData(Apigility.java:88)
at de.jiw.apigility.Apigility.getObjectData(Apigility.java:79)
at de.jiw.apigility.Apigility.getObjectData(Apigility.java:70)
at server.Main.g(SourceFile:600)
at server.Main.initApplication(SourceFile:287)
at commons.JIWApplication.initialize(SourceFile:92)
at com.jme3.system.NullContext.initInThread(NullContext.java:86)
at com.jme3.system.NullContext.run(NullContext.java:129)
at java.lang.Thread.run(Unknown Source)
*************** NEW THREAD LOCAL ALLOCATION ***************
java.sql.SQLException: database is locked
at org.sqlite.DB.throwex(DB.java:370)
at org.sqlite.DB.exec(DB.java:76)
at org.sqlite.Conn.commit(Conn.java:343)
at w.g.b(SourceFile:42)
at A.h.b(SourceFile:34)
at B.C.a(SourceFile:35)
at x.b.run(SourceFile:24) -
have you checked you're firewall i had the same problem but made new rules in my firewall
-
i allowed rising world in the firewall and opened up the ports, still get the same error
ANd do I need to have an HTTP server running? EG. apache?
-
dont bind to 0.0.0.0, always bind to your server's actual IP or to 127.0.0.1 if its just on your personal computer that no one is suppose to access.
in server.properties its server_ip= option.
that binds my server to one of the IP's to my server so others can find and play on it. -
i changed it to my ip but i keep getting this error
what does unable to request UUID frim hive mean??? i don't understand!
[img=https://s32.postimg.org/4ptafrj0h/Untitled.jpg] -
forget the whole thing, Just rented a server
Participate now!
Don’t have an account yet? Create a new account now and be part of our community!