New install of 1.8.7.0 on Ubuntu 18.04, unable to start on boot

  • 98 Views
  • Last Post 4 weeks ago
  • Topic Is Solved
scline posted this 5 weeks ago

Fresh ubuntu 18.04 server install and used https://cubecoders.com/AMPInstall as the directions to install. I am unable to get the AMP service running on reboot.

Everything works if I manually start the instance under AMP user. This was setup as a standalone controller if that changes anything.

/var/log/syslog

Oct 13 05:14:11 las2gamecontroller ampinstmgr[975]: [Info] Waiting for AMP instance to start...
Oct 13 05:14:12 las2gamecontroller ampinstmgr[975]: [Notice] AMP instance ADS01 is now running.
Oct 13 05:14:12 las2gamecontroller CRON[1011]: (CRON) info (No MTA installed, discarding output)
Oct 13 05:14:12 las2gamecontroller ampinstmgr[1216]: [Info] AMP Instance Manager v1.8.7.0 built 08/10/2019 13:32
Oct 13 05:14:12 las2gamecontroller ampinstmgr[1216]: [Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Oct 13 05:14:13 las2gamecontroller systemd[1]: Created slice User Slice of scline.
Oct 13 05:14:13 las2gamecontroller systemd[1]: Starting User Manager for UID 1000...
Oct 13 05:14:13 las2gamecontroller systemd[1]: Started Session 2 of user scline.
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Reached target Timers.
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Reached target Paths.
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Listening on GnuPG network certificate management daemon.
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Listening on GnuPG cryptographic agent and passphrase cache.
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Reached target Sockets.
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Reached target Basic System.
Oct 13 05:14:13 las2gamecontroller systemd[1]: Started User Manager for UID 1000.
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Reached target Default.
Oct 13 05:14:13 las2gamecontroller systemd[1237]: Startup finished in 38ms.
Oct 13 05:14:14 las2gamecontroller ampinstmgr[1216]: [Info] Stopping Instance: 'ADS01'
Oct 13 05:14:14 las2gamecontroller ampinstmgr[1216]: [Info] Stopping instance ADS01...
Oct 13 05:14:14 las2gamecontroller ampinstmgr[1216]: [Info] Waiting for instance to stop...
Oct 13 05:14:15 las2gamecontroller ampinstmgr[1216]: [Info] Instance ADS01 has stopped.

crontab -l (as amp user)

@reboot /opt/cubecoders/amp/ampinstmgr -b

~/.ampdata/instances/ADS01/AMP_Logs

[05:23:33] [Core Info]            : Starting AMP version 1.8.7.0 (TITAN), built 08/10/2019 13:30
[05:23:33] [Core Info]            : Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[05:23:33] [Core Info]            : Running in a VMware environment.
[05:23:33] [Core Info]            : OS: Linux / x86_64
[05:23:33] [Core Info]            : CPU: Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz (1C/1T)
[05:23:33] [Core Info]            : AMP Instance ID: 7cd1a2c7-0189-4cb5-8ae1-1466fca57474
[05:23:34] [Core Info]            : Checking for AMP updates...
[05:23:34] [WebServer Info]       : Websockets are enabled.
[05:23:34] [ModuleLoader Info]    : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
[05:23:34] [ModuleLoader Info]    : Loaded FileManager version 1.0.0.0 by CubeCoders Limited
[05:23:34] [ModuleLoader Info]    : Loaded EmailSender version 1.0.0.0 by CubeCoders Limited
[05:23:34] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[05:23:34] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[05:23:34] [ModuleLoader Info]    : ADSModule requests dependency InstanceManagerPlugin...
[05:23:34] [ModuleLoader Info]    : Loaded InstanceManagerPlugin version 1.0.0.0 by CubeCoders Limited
[05:23:34] [ModuleLoader Info]    : ADSModule requests dependency SystemUserManagerPlugin...
[05:23:34] [ModuleLoader Info]    : Loaded SystemUserManagerPlugin version 1.0.0.0 by CubeCoders Limited
[05:23:34] [ModuleLoader Info]    : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
[05:23:35] [Logger Warning]       : RouterTimer@10Hz with 2 jobs started
[05:23:35] [WebServer Info]       : Webserver started on 0.0.0.0:8080

  • Liked by
  • draz
Order By: Standard | Newest | Votes
Mike posted this 5 weeks ago

A change is coming in the next update that addresses start on boot situations via systemd.

Mike posted this 4 weeks ago

If you update to the latest version, there's a systemd script you can use. Run sudo systemctl enable ampinstmgr to enable it :)

Close