Не открывается start bat в логах пишет Процесс не может получить доступ к файлу, так как этот файл занят другим процессом

gavnavoz1k

Заблокирован
Сообщения
1
Разрешается выкладывание кода, файлов конфигураций, логов и т.д. только под BB-код CODE
День назад создал связку Velocity с одним сервером. Сервер этот был на ядре Paper 1.16.5, и поначалу отлично работал. Но потом я не увидел, что консоль не открыта. Открыл start.bat Velocity, он открылся, но написал что Процесс не может получить доступ к файлу, так как этот файл занят другим процессом. Попытался открыть уже start.bat сервера, и там написало то же самое, но консоль сразу закрылась
Вот логи консоли Velocity:
ERROR StatusConsoleListener Unable to delete file C:\Users\admin\OneDrive\Рабочий стол\ParlousParadise\Velocity\logs\latest.log: java.nio.file.FileSystemException C:\Users\admin\OneDrive\Рабочий стол\ParlousParadise\Velocity\logs\latest.log: Процесс не может получить доступ к файлу, так как этот файл занят другим процессом
[17:24:28 INFO]: Booting up Velocity 3.2.0-SNAPSHOT (git-37fedf50-b260)...
[17:24:28 INFO]: Loading localizations...
[17:24:28 INFO]: Connections will use NIO channels, Java compression, Java ciphers
[17:24:28 WARN]: The proxy is running in offline mode! This is a security risk and you will NOT receive any support!
[17:24:28 INFO]: Loading plugins...
[17:24:28 INFO] [limboapi]: Initializing Simple Virtual World system...
[17:24:28 INFO] [limboapi]: Hooking into EventManager, PlayerList/UpsertPlayerInfo and StateRegistry...
[17:24:28 INFO]: Loaded plugin limboapi 1.1.13 by Elytrium ( )
[17:24:28 INFO]: Loaded plugin limboauth 1.1.12 by Elytrium ( )
[17:24:28 INFO]: Loaded plugin limbofilter 1.1.10 by Elytrium ( )
[17:24:28 INFO]: Loaded 3 plugins
[17:24:28 INFO] [limboapi]: Creating and preparing packets...
[17:24:28 INFO] [limboapi]: Loaded!
[17:24:29 ERROR]: Couldn't pass ProxyInitializeEvent to limboauth
net.elytrium.commons.utils.reflection.ReflectionException: An unexpected internal error was caught during the reflection operations.
at net.elytrium.limboauth.LimboAuth.reload(LimboAuth.java:305) ~[?:?]
at net.elytrium.limboauth.LimboAuth.onProxyInitialization(LimboAuth.java:207) ~[?:?]
at net.elytrium.limboauth.Lmbda$3.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:597) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:478) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.fromDriver(DatabaseLibrary.java:149) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.lambda$static$2(DatabaseLibrary.java:45) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.connect(DatabaseLibrary.java:108) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.connectToORM(DatabaseLibrary.java:124) ~[?:?]
at net.elytrium.limboauth.LimboAuth.reload(LimboAuth.java:297) ~[?:?]
... 8 more
Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: База данных уже используется: "C:/Users/admin/OneDrive/Рабочий стол/ParlousParadise/Velocity/plugins/limboauth/limboauth-v2.mv.db". Возможные решения: закрыть все другие соединения; использовать режим сервера
Database may be already in use: "C:/Users/admin/OneDrive/Рабочий стол/ParlousParadise/Velocity/plugins/limboauth/limboauth-v2.mv.db". Possible solutions: close all other connection(s); use the server mode [90020-214]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:678) ~[?:?]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477) ~[?:?]
at org.h2.message.DbException.get(DbException.java:212) ~[?:?]
at org.h2.mvstore.db.Store.convertMVStoreException(Store.java:168) ~[?:?]
at org.h2.mvstore.db.Store.<init>(Store.java:145) ~[?:?]
at org.h2.engine.Database.<init>(Database.java:324) ~[?:?]
at org.h2.engine.Engine.openSession(Engine.java:92) ~[?:?]
at org.h2.engine.Engine.openSession(Engine.java:222) ~[?:?]
at org.h2.engine.Engine.createSession(Engine.java:201) ~[?:?]
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338) ~[?:?]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122) ~[?:?]
at org.h2.Driver.connect(Driver.java:59) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.fromDriver(DatabaseLibrary.java:149) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.lambda$static$2(DatabaseLibrary.java:45) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.connect(DatabaseLibrary.java:108) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.connectToORM(DatabaseLibrary.java:124) ~[?:?]
at net.elytrium.limboauth.LimboAuth.reload(LimboAuth.java:297) ~[?:?]
... 8 more
Caused by: org.h2.mvstore.MVStoreException: The file is locked: C:/Users/admin/OneDrive/Рабочий стол/ParlousParadise/Velocity/plugins/limboauth/limboauth-v2.mv.db [2.1.214/7]
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004) ~[?:?]
at org.h2.mvstore.FileStore.open(FileStore.java:178) ~[?:?]
at org.h2.mvstore.FileStore.open(FileStore.java:128) ~[?:?]
at org.h2.mvstore.MVStore.<init>(MVStore.java:452) ~[?:?]
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4082) ~[?:?]
at org.h2.mvstore.db.Store.<init>(Store.java:136) ~[?:?]
at org.h2.engine.Database.<init>(Database.java:324) ~[?:?]
at org.h2.engine.Engine.openSession(Engine.java:92) ~[?:?]
at org.h2.engine.Engine.openSession(Engine.java:222) ~[?:?]
at org.h2.engine.Engine.createSession(Engine.java:201) ~[?:?]
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338) ~[?:?]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122) ~[?:?]
at org.h2.Driver.connect(Driver.java:59) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.fromDriver(DatabaseLibrary.java:149) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.lambda$static$2(DatabaseLibrary.java:45) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.connect(DatabaseLibrary.java:108) ~[?:?]
at net.elytrium.limboauth.dependencies.DatabaseLibrary.connectToORM(DatabaseLibrary.java:124) ~[?:?]
at net.elytrium.limboauth.LimboAuth.reload(LimboAuth.java:297) ~[?:?]
... 8 more
[17:24:29 INFO] [limbofilter]: Current captcha generator settings will consume 0,08GB RAM normally and 0,15GB RAM on reloads
[17:24:29 INFO] [limbofilter]: Modify the config to decrease RAM consumption
[17:24:30 INFO] [limbofilter]: Captcha generated in 306 ms.
[17:24:30 ERROR]: Can't bind to /0.0.0.0:25050
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) ~[?:?]
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:141) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:600) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:579) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at java.lang.Thread.run(Thread.java:833) [?:?]
[17:24:30 ERROR]: Can't bind to /0.0.0.0:25577
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bindInternal(DatagramChannelImpl.java:1194) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:1164) ~[?:?]
at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:133) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.internal.SocketUtils$6.run(SocketUtils.java:130) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at java.security.AccessController.doPrivileged(AccessController.java:569) ~[?:?]
at io.netty.util.internal.SocketUtils.bind(SocketUtils.java:130) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.socket.nio.NioDatagramChannel.doBind0(NioDatagramChannel.java:202) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.socket.nio.NioDatagramChannel.doBind(NioDatagramChannel.java:197) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:600) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:579) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.2.0-SNAPSHOT (git-37fedf50-b260)]
at java.lang.Thread.run(Thread.java:833) [?:?]
[17:24:30 INFO]: Done (2,47s)!
А вот логи консоли сервера:

[17:26:19] [main/INFO]: Environment: authHost=' ', accountsHost=' ', sessionHost=' ', servicesHost=' ', name='PROD'
[17:26:19] [main/FATAL]: Failed to start the minecraft server
java.io.IOException: Процесс не может получить доступ к файлу, так как часть этого файла заблокирована другим процессом
at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:?]
at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:68) ~[?:?]
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113) ~[?:?]
at sun.nio.ch.IOUtil.write(IOUtil.java:58) ~[?:?]
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:285) ~[?:?]
at net.minecraft.server.v1_16_R3.SessionLock.a(SourceFile:40) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Convertable$ConversionSession.<init>(Convertable.java:257) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Convertable.c(Convertable.java:227) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Main.main(Main.java:154) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.Main.main(Main.java:289) ~[patched_1.16.5.jar:git-Paper-794]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
at io.papermc.paperclip.Paperclip.main(Paperclip.java:58) ~[server.jar:?]
Что делать?
 
Назад
Сверху Снизу