19.12.2014, 14:57
I'll release my project after opening server on it. Now it's main problem.
I can't start server on hosting, CentOS.
I uploaded jre8_x86, installed it by rpm.
I modified startup.sh:
Then "sh startup.sh", but it showed me this:
Can you say what I did wrong? Or create please Linux installation tutorial. (I'm new at Linux)
I can't start server on hosting, CentOS.
I uploaded jre8_x86, installed it by rpm.
I modified startup.sh:
Код:
export JAVA_HOME=/usr/java/jre1.8.0_25 export LD_LIBRARY_PATH=.:$JAVA_HOME/lib/i386/server:$JAVA_HOME/lib/i386/client:/usr/local/lib ./samp03svr
Код:
Started server on port: 7777, with maxplayers: 20 lanmode is OFF. Shoebill Dependency Manager 1.0-SNAPSHOT Build 49 (for net.gtaun:shoebill-api:1.0) Build date: 2014-05-26 22:19:10 CST (+0800) Resolving dependencies... SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Skipped artifact example-lvdm-1.0-SNAPSHOT (Gamemode) Missing artifact descriptor for org.yaml:snakeyaml:jar:1.13 Missing artifact descriptor for org.slf4j:slf4j-api:jar:1.7.2 Missing artifact descriptor for net.gtaun:util-event:jar:1.0-SNAPSHOT Missing artifact descriptor for org.slf4j:slf4j-api:jar:1.7.7 Missing artifact descriptor for net.gtaun:shoebill-launcher:jar:1.0-SNAPSHOT Missing artifact descriptor for org.slf4j:slf4j-log4j12:jar:1.7.7 Missing artifact descriptor for net.gtaun.mk:mk-plugin-manager:jar:1.0-SNAPSHOT Missing artifact descriptor for net.gtaun.shoebill:example-vehicle-manager-plugin:jar:1.0-SNAPSHOT Missing artifact descriptor for net.gtaun:shoebill-common:jar:1.0-SNAPSHOT org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at net.gtaun:shoebill-runtime:jar:1.0-SNAPSHOT -> net.gtaun:shoebill-api:jar:1.0-SNAPSHOT -> net.gtaun:shoebill-utilities:jar:1.0-SNAPSHOT -> org.apache.commons:commons-lang3:jar:3.3.1 at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:303) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:337) at net.gtaun.shoebill.dependency.ShoebillDependencyManager.resolveDependencies(ShoebillDependencyManager.java:223) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.gtaun.shoebill.ShoebillLauncher.resolveDependencies(ShoebillLauncher.java:55) Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.apache.commons:commons-lang3:jar:3.3.1 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:370) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:537) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:521) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:421) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:375) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:363) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:506) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:470) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:375) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:363) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:506) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:470) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:375) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:363) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:506) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:470) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:375) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:363) at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:266) ... 7 more Caused by: org.apache.maven.model.resolution.UnresolvableModelException: Cannot access central (http://repo1.maven.org/maven2/) in offline mode and the artifact org.apache:apache:pom:13 has not been downloaded from it before. at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:126) at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:817) at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:669) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:307) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:361) ... 26 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Cannot access central (http://repo1.maven.org/maven2/) in offline mode and the artifact org.apache:apache:pom:13 has not been downloaded from it before. at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:462) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:264) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:241) at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:122) ... 30 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Cannot access central (http://repo1.maven.org/maven2/) in offline mode and the artifact org.apache:apache:pom:13 has not been downloaded from it before. at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:409) ... 33 more Caused by: org.eclipse.aether.transfer.RepositoryOfflineException: Cannot access central (http://repo1.maven.org/maven2/) in offline mode at org.eclipse.aether.internal.impl.DefaultOfflineController.checkOffline(DefaultOfflineController.java:87) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:405) ... 33 more java.lang.IllegalArgumentException: dependency node or collect request missing at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375) at net.gtaun.shoebill.dependency.ShoebillDependencyManager.resolveDependencies(ShoebillDependencyManager.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.gtaun.shoebill.ShoebillLauncher.resolveDependencies(ShoebillLauncher.java:55)