Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Hi all! Can't start nats board in system or in docker have error #24

Open
MRDO5 opened this issue Aug 20, 2019 · 0 comments
Open

Hi all! Can't start nats board in system or in docker have error #24

MRDO5 opened this issue Aug 20, 2019 · 0 comments

Comments

@MRDO5
Copy link

MRDO5 commented Aug 20, 2019

Hi all! Can't start nats board in system or in docker have error.
Aug 20 20:54:26 mts-altai-nats systemd[1]: Stopped natsboard.
Aug 20 20:54:26 mts-altai-nats systemd[1]: Started natsboard.
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: module.js:478
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: throw err;
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: ^
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: Error: Cannot find module 'express'
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Function.Module._resolveFilename (module.js:476:15)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Function.Module._load (module.js:424:25)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Module.require (module.js:504:17)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at require (internal/module.js:20:19)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Object. (/usr/local/bin/natsboard/lib/server.js:9:17)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Module._compile (module.js:577:32)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Object.Module._extensions..js (module.js:586:10)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Module.load (module.js:494:32)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at tryModuleLoad (module.js:453:12)
Aug 20 20:54:26 mts-altai-nats natsboard[15542]: at Function.Module._load (module.js:445:3)
Aug 20 20:54:26 mts-altai-nats systemd[1]: natsboard.service: main process exited, code=exited, status=1/FAILURE
Aug 20 20:54:26 mts-altai-nats systemd[1]: Unit natsboard.service entered failed state.
Aug 20 20:54:26 mts-altai-nats systemd[1]: natsboard.service failed.
Aug 20 20:54:27 mts-altai-nats systemd[1]: natsboard.service holdoff time over, scheduling restart.
Aug 20 20:54:27 mts-altai-nats systemd[1]: Stopped natsboard.
Aug 20 20:54:27 mts-altai-nats systemd[1]: start request repeated too quickly for natsboard.service
Aug 20 20:54:27 mts-altai-nats systemd[1]: Failed to start natsboard.
Aug 20 20:54:27 mts-altai-nats systemd[1]: Unit natsboard.service entered failed state.
Aug 20 20:54:27 mts-altai-nats systemd[1]: natsboard.service failed.

my config

[Unit]
Description=natsboard
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/natsboard/bin/natsboard --nats-mon-url "http://localhost:8222"
#ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5
#ExecStop=/bin/kill -HUP $MAINPID
#StandardOutput=syslog
#StandardError=syslog
#SyslogIdentifier=propanel
#User=root
#Group=root
#WorkingDirectory=/usr/local/bin
#Environment=NODE_ENV=production PORT=3000
Restart=on-failure

[Install]
WantedBy=multi-user.target

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant