When Trying to install ADSInstance I've got this

  • 253 Views
  • Last Post 2 weeks ago
Morpheuss posted this 2 weeks ago - Last edited 2 weeks ago

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

8 Comments
Order By: Standard | Newest | Votes
runefist posted this 2 weeks ago

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

Mike posted this 2 weeks ago

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

Morpheuss posted this 2 weeks ago

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

Mike posted this 2 weeks ago

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

Morpheuss posted this 2 weeks ago

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

Mike posted this 2 weeks ago

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

Morpheuss posted this 2 weeks ago - Last edited 2 weeks ago

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 2 weeks ago

Add your AMP user to the 'tty' group.