vitalif / vitastor

Simplified distributed block and file storage with strong consistency, like in Ceph (repository mirror)
https://vitastor.io
Other
128 stars 22 forks source link

where is the log of mon? #55

Open vieyahn2017 opened 1 year ago

vieyahn2017 commented 1 year ago

[root@node1 mon]# cat vitastor-mon.service [Unit] Description=Vitastor monitor After=network-online.target local-fs.target time-sync.target Wants=network-online.target local-fs.target time-sync.target

[Service] Restart=always ExecStart=node /usr/lib/vitastor/mon/mon-main.js WorkingDirectory=/

run: journalctl -xeu vitastor-mon.service -- No entries --

vitalif commented 7 months ago

journalctl -u vitastor-mon is the correct command, yeah. Check systemctl status vitastor-mon, maybe it just doesn't start in your case