[Help] When i start server on my VPS Linux


#1

Hello

My VPS stuff:
Ubuntu 16.10 x64

I getting this when i start run.sh:

2017-05-08 19:18:17.4453|INFO|CitizenMP.Server|Creating initial server instance.
libpng warning: iCCP: known incorrect sRGB profile
2017-05-08 19:18:17.5762|INFO|CitizenMP.Server|Pre-parsing resources: mapmanager
2017-05-08 19:18:17.5776|INFO|CitizenMP.Server|Found resource mapmanager in resources/[managers]/mapmanager.
2017-05-08 19:18:18.4625|INFO|CitizenMP.Server|Starting resource mapmanager (last state: Stopped).
2017-05-08 19:18:18.6402|INFO|CitizenMP.Server|Started resource mapmanager.
.2017-05-08 19:18:18.6442|INFO|CitizenMP.Server|Found resource race in resources/[gamemodes]/race.
.2017-05-08 19:18:18.6793|INFO|CitizenMP.Server|Found resource race-test in resources/[gamemodes]/race-test.
.2017-05-08 19:18:18.6948|INFO|CitizenMP.Server|Found resource channelfeed in resources/[gameplay]/channelfeed.
.2017-05-08 19:18:18.7120|INFO|CitizenMP.Server|Found resource irc in resources/[gameplay]/irc.
.2017-05-08 19:18:18.7263|INFO|CitizenMP.Server|Found resource obituary in resources/[gameplay]/obituary.
.2017-05-08 19:18:18.7412|INFO|CitizenMP.Server|Found resource obituary-deaths in resources/[gameplay]/obituary-deaths.
.2017-05-08 19:18:18.7582|INFO|CitizenMP.Server|Found resource mapmanager in resources/[managers]/mapmanager.
.2017-05-08 19:18:18.7585|INFO|CitizenMP.Server|Found resource baseevents in resources/[system]/baseevents.
.2017-05-08 19:18:18.7723|INFO|CitizenMP.Server|Found resource chat in resources/[system]/chat.
.2017-05-08 19:18:18.7872|INFO|CitizenMP.Server|Found resource hardcap in resources/[system]/hardcap.
.2017-05-08 19:18:18.8017|INFO|CitizenMP.Server|Found resource rconlog in resources/[system]/rconlog.
.2017-05-08 19:18:18.8173|INFO|CitizenMP.Server|Found resource scoreboard in resources/[system]/scoreboard.
.2017-05-08 19:18:18.8315|INFO|CitizenMP.Server|Found resource sessionmanager in resources/[system]/sessionmanager.
.2017-05-08 19:18:18.8447|INFO|CitizenMP.Server|Found resource spawnmanager in resources/[system]/spawnmanager.
.2017-05-08 19:18:18.8588|INFO|CitizenMP.Server|Found resource betaguns in resources/[test]/betaguns.
.2017-05-08 19:18:18.8748|INFO|CitizenMP.Server|Found resource gameInit in resources/[test]/gameInit.
.2017-05-08 19:18:18.8911|INFO|CitizenMP.Server|Found resource keks in resources/[test]/keks.
.2017-05-08 19:18:18.9056|INFO|CitizenMP.Server|Found resource fivem in resources/fivem.
.2017-05-08 19:18:18.9199|INFO|CitizenMP.Server|Found resource fivem-awesome1501 in resources/fivem-awesome1501.
.2017-05-08 19:18:18.9335|INFO|CitizenMP.Server|Found resource fivem-map-hipster in resources/fivem-map-hipster.
.2017-05-08 19:18:18.9471|INFO|CitizenMP.Server|Found resource fivem-map-skater in resources/fivem-map-skater.
2017-05-08 19:18:18.9632|INFO|CitizenMP.Server|Starting game server on port 30120
2017-05-08 19:18:19.0206|INFO|CitizenMP.Server|Starting HTTP server on port 30120
System.IO.IOException: Failed to bind to address http://+:30120: address already in use. ---> System.AggregateException: One or more errors occurred. ---> Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -98 EADDRINUSE address already in use
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.ThrowError (System.Int32 statusCode) [0x00007] in <d02ee77e64564b1bb5463c0c84443484>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.ThrowIfErrored (System.Int32 statusCode) [0x00004] in <d02ee77e64564b1bb5463c0c84443484>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_getsockname (Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle handle, Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.SockAddr& addr, System.Int32& namelen) [0x00016] in <d02ee77e64564b1bb5463c0c84443484>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle.GetSockIPEndPoint () [0x00006] in <d02ee77e64564b1bb5463c0c84443484>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.TcpListener.CreateListenSocket () [0x0004b] in <d02ee77e64564b1bb5463c0c84443484>:0
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00052] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
  at System.Threading.Tasks.Task.Wait () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelEngine.CreateServer (Microsoft.AspNetCore.Server.Kestrel.ServerAddress address) [0x000c6] in <d02ee77e64564b1bb5463c0c84443484>:0
   --- End of inner exception stack trace ---
  at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext] (Microsoft.AspNetCore.Hosting.Server.IHttpApplication`1[TContext] application) [0x00201] in <d02ee77e64564b1bb5463c0c84443484>:0


#2

This means that the server is already running on the ip and port you are trying to use. Are you using screen?

edit: easy fix is to reboot your VPS.


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.