Cannot Connect to DB

  1. 9 years ago

    I am getting the following and cannot connect to the War Room. Any help is greatly appreciated. Thanks.

    21:45:06 L Echo 2-2:1 - Initialisation started...
    21:45:06 ALIVE_SYS_DATA START PLUGIN: SYS_DATA_ERROR
    21:45:06 ALiVE SYS_DATA - GROUP NAME: 
    21:45:06 ALiVE SYS_DATA_COUCHDB - READ DATA: SendJSON ["GET", "sys_data/config", "" , "arma3live"]
    21:45:06 ALiVE SYS_DATA_COUCHDB - READ DATA RESPONSE: UNAUTHORISED!
    21:45:06 ALiVE SYS_DATA_COUCHDB - READ DATA RESULT: UNAUTHORISED!
    21:45:06 ALiVE SYS_DATA - CONFIG: UNAUTHORISED!
    21:45:06 ALiVE-0.888 CANNOT CONNECT TO DATABASE, DISABLING DATA MODULE
  2. Here is the log file when starting.

    03/10/2015 22:55:39 Info Arma2NET 2.2.0.0 running on CLR 4.0.30319.1
    03/10/2015 22:55:39 Info Loaded into process arma3server
    03/10/2015 22:55:39 Info Loading addins
    03/10/2015 22:55:39 Info Domain                        Name                Version   Publisher           Description
    03/10/2015 22:55:39 Info ALiVEPlugIn                   SendxRTML           0.1.0.0   Tupolov             Sends data to an xRTML service
    03/10/2015 22:55:39 Info ALiVEPlugIn                   GetBulkJSON         0.1.0.0   Tupolov             Gets record from bulk data stack
    03/10/2015 22:55:39 Info ALiVEPlugIn                   StartALiVE          0.1.0.0   Tupolov             Returns the startup data
    03/10/2015 22:55:39 Info ALiVEPlugIn                   SendJSON            0.1.0.0   Tupolov             Send data as JSON to a URL, accepts url, method, module, data returns json string
    03/10/2015 22:55:39 Info ALiVEPlugIn                   ServerLocation      0.1.0.0   Tupolov             Returns the ARMA 2 server geo location.
    03/10/2015 22:55:39 Info ALiVEPlugIn                   ServerAddress       0.1.0.0   Tupolov             Returns the ARMA 2 server IP address.
    03/10/2015 22:55:39 Info ALiVEPlugIn                   GetWeatherLocation  0.1.0.0   Tupolov             Gets Weather Location - accepts location (country/city) string returns json string
    03/10/2015 22:55:39 Info ALiVEPlugIn                   SendBulkJSON        0.1.0.0   Tupolov             Sends bulk data as JSON to a URL, accepts url, method, module, data returns json string
    03/10/2015 22:55:39 Info ALiVEPlugIn                   SendJSONToFile      0.1.0.0   Tupolov             Send data asynchronously as JSON to a File, accepts module, data returns string
    03/10/2015 22:55:39 Info ALiVEPlugIn                   ServerName          0.1.0.0   Tupolov             Returns the ARMA 2 server name.
    03/10/2015 22:55:39 Info ALiVEPlugIn                   ServerHostName      0.1.0.0   Tupolov             Returns the ARMA 2 server host name as seen in the MP play list.
    03/10/2015 22:55:39 Info ALiVEPlugIn                   SendJSONAsync       0.1.0.0   Tupolov             Send data asynchronously as JSON to a URL, accepts url, method, module, data returns json string
    03/10/2015 22:55:39 Info ALiVEPlugIn                   GroupName           0.1.0.0   Tupolov             Returns the group ID specified in ALiVE.cfg.
    03/10/2015 22:55:39 Info ALiVEPlugIn                   GetWeather          0.1.0.0   Tupolov             Gets Weather data - accepts year,month,day,hour and location (string city or lon/lat) returns json string
    03/10/2015 22:55:39 Info DateTimePlugin                DateTime            2.0.0.0   Scott_NZ            Returns the current date and time.
    03/10/2015 22:55:39 Info Arma2NET initialized in 00:00:00.3750087
    03/10/2015 22:55:39 Error Caught exception of type System.FormatException
    System.FormatException: Unable to parse the arguments.
       at ALiVEPlugIn.StartALiVE.Invoke(String args, Int32 maxResultSize)
       at Arma2Net.Managed.AddInManager.DomainInvokeAddIn()
       at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
       at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
       at Arma2Net.Managed.AddInManager.InvokeAddIn(String addInName, String arguments, Int32 maxResultSize)
       at Arma2Net.Managed.Bridge.InvokeBuiltInOrAddIn(String function, Int32 maxResultSize)
       at Arma2Net.Managed.Bridge.InvokeFunction(String function, Int32 maxResultSize)
    03/10/2015 22:55:39 Error function: StartALiVE
    03/10/2015 22:55:39 Error maxResultSize: 10239
  3. Make sure you are running the @AliveServer mod. That contains the dll's that are required to connect your server to the War Room database.

  4. Here is my startup

    start "arma3" "arma3server.exe" "-autoInit" -port=2322 "-config=C:\A3Wasteland\config.cfg" "-cfg=C:\A3Wasteland\basic.cfg" "-mod=@CBA_A3109;@Alive;@AliveServer;@ASR_AI3" -malloc=tbbmalloc -enableHT -cpuCount=2 -exThreads=3
  5. Resolved the issue. Had to remove and re-add the @Alive and @AliveServer mods. Seems to be working fine now.

 

or Sign Up to reply!