This forum has been archived. Please find the new support board at https://support.cubecoders.com/

When Trying to install ADSInstance I've got this

  • 367 Views
  • Last Post 31 March 2017
Morpheuss posted this 15 March 2017 - Last edited 15 March 2017

I use CentOS 7.3 and when I try to install ADSInstance logged as 'AMP' user, i got the following error and the instance won't start.

Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: format at System.ParameterizedStrings.Evaluate (System.String format, System.ParameterizedStrings+FormatParam[] args) [0x00003] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.TermInfoDriver.ChangeColor (System.String format, System.ConsoleColor color) [0x00032] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.TermInfoDriver.setForegroundColor (System.ConsoleColor value) [0x0000e] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.ConsoleDriver.setForegroundColor (System.ConsoleColor value) [0x00019] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Console.set_ForegroundColor (System.ConsoleColor value) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0 at GSMyAdmin.Logger.WriteLog (GSMyAdmin.Logger+LogLevels level, System.String format, System.Object[] args) [0x00173] in <909e54a67fa0474fa1e5f631d698c191>:0 at GSMyAdmin.Logger.Warning (System.String format, System.Object[] args) [0x00008] in <909e54a67fa0474fa1e5f631d698c191>:0 at GSMyAdmin.Core.HandleCommandLineArgs (ModuleShared.ILogger log, GSMyAdmin.Config config, System.Collections.Generic.Dictionary2[TKey,TValue] UpdateSettingStore) [0x001f5] in <909e54a67fa0474fa1e5f631d698c191>:0 at GSMyAdmin.Core.Run () [0x00142] in <909e54a67fa0474fa1e5f631d698c191>:0 at GSMyAdmin.Program.Main (System.String[] args) [0x00005] in <909e54a67fa0474fa1e5f631d698c191>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null. Parameter name: format at System.ParameterizedStrings.Evaluate (System.String format, System.ParameterizedStrings+FormatParam[] args) [0x00003] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.TermInfoDriver.ChangeColor (System.String format, System.ConsoleColor color) [0x00032] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.TermInfoDriver.set_ForegroundColor (System.ConsoleColor value) [0x0000e] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.ConsoleDriver.set_ForegroundColor (System.ConsoleColor value) [0x00019] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Console.set_ForegroundColor (System.ConsoleColor value) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0 at GSMyAdmin.Logger.WriteLog (GSMyAdmin.Logger+LogLevels level, System.String format, System.Object[] args) [0x00173] in <909e54a67fa0474fa1e5f631d698c191>:0 at GSMyAdmin.Logger.Warning (System.String format, System.Object[] args) [0x00008] in <909e54a67fa0474fa1e5f631d698c191>:0 at GSMyAdmin.Core.HandleCommandLineArgs (ModuleShared.ILogger log, GSMyAdmin.Config config, System.Collections.Generic.Dictionary2[TKey,TValue] UpdateSettingStore) [0x001f5] in <909e54a67fa0474fa1e5f631d698c191>:0 at GSMyAdmin.Core.Run () [0x00142] in <909e54a67fa0474fa1e5f631d698c191>:0 at GSMyAdmin.Program.Main (System.String[] args) [0x00005] in <909e54a67fa0474fa1e5f631d698c191>:0

10 Comments
Order By: Standard | Newest | Votes
runefist posted this 15 March 2017

http://pastebin.com/cFvFySUH Next time use pastebin, makes it a bit easier to read :)

Mike posted this 15 March 2017

Aside from your licence key and password, can you paste the exact line you're giving to the instance manager?

Morpheuss posted this 15 March 2017

./ampinstmgr CreateInstance ADS ADSInstance 0.0.0.0 8080 +Core.Login.Username Admin

Mike posted this 15 March 2017

Sanity check, try doing that from inside a screen or tmux session.

Morpheuss posted this 15 March 2017

Same result also in a tmux session I tried to attach the instance but it doesn't start...

Mike posted this 15 March 2017

Can you let me know what the output of echo $TERM is and what ssh client you're using?

Morpheuss posted this 15 March 2017 - Last edited 15 March 2017

The output of 'echo $TERM' is : vt220

I use ZOC Terminal 6.68

I have changed now to Xterm, and the instance creation works. But now when i Try to run this command: ./ampinstmgr StartInstance ADSInstance I got the following error:

[Info] AMP Instance Manager v1.4.6.5 [Info] Starting Instance: 'ADSInstance' [Debug] Running /usr/bin/tmux -f /dev/null new-session -s "AMPADSInstance" -d "cd '/home/AMP/.ampdata/instances/ADSInstance' --; /home/AMP/.ampdata/instances/ADSInstance/AMPLinuxx8664 " [Debug] Starting process /usr/bin/tmux [Debug] Working Directory: /home/AMP/.ampdata/instances/ADSInstance [Debug] Arguments: -f /dev/null new-session -s "AMPADSInstance" -d "cd '/home/AMP/.ampdata/instances/ADSInstance' --; /home/AMP/.ampdata/instances/ADSInstance/AMPLinuxx8664 " create session failed: cd '/home/AMP/.ampdata/instances/ADSInstance' --; /home/AMP/.ampdata/instances/ADSInstance/AMPLinuxx86_64 : Operation not permitted [Info] Created session. Run './ampinstmgr Attach ADSInstance' to attach.

Mike posted this 15 March 2017

Add your AMP user to the 'tty' group.

freemancs posted this 31 March 2017

I just found the answer on this, actually, 0.0.0.0 8080 needs to be 0.0.0.0:8080

Mike posted this 31 March 2017

No it doesn't, there needs to be a space.