Operating System should be x86_64 and one of the following:
- CentOS 7
- RHEL 7
- Debian 9
Please make sure the time is correct, time zone may be any.
systemd is used for Service Management , check :
command -v systemctl
(Expect result: /usr/bin/systemctl)
psql to check PostgreSQL Connection:
If not OK, refer to Operation Management , PostgreSQL part.
Check version within PSQL Shell:
The version must be greater than
netstat -anp | grep LISTEN | grep ':\(80\|443\)\s'
Janusec will use 80⁄443 , if other program occupied thest ports, you shoud change it before installation of Janusec.
If listen=true in config.json, Janusec will use 9080⁄9443 also, used for internal management.
netstat -anp | grep LISTEN | grep ':\(9080\|9443\)\s'
In order to sync correctly, requires:
- Replica node use the correct time, error less than 60 seconds.
/usr/local/janusec/config.jsonis the same with Node Management.
Log file is under /usr/local/janusec/log/
If all above are OK, you can stop the janusec service, and switch to run it under console, to view more output:
systemctl stop janusec
If error found, you can sent to the bottom email, or submit an issue on https://github.com/Janusec/janusec/issues
Linux is preferred.
Console debug only for other operating systems.
The release script (release.sh) support Linux only.
Different configuration files used,
./config.json for development , and
/usr/local/janusec/config.json for deployment .
At least Go 1.14+ .
go get -u github.com/Janusec/janusec
git clone is not preferred.