I have started cloud agent and then trying to start portal. I opened the ACC with default command “./acc.sh -h localhost -u Clous -pwd g3h31m -p 18101”. When I try to start all components I got an error.
Unexpected error: Not all runnables of layer 1 reached STARTED.
Runnable elastic_s is FAILED.
Startall aborted.
Hi,
99% of the time this happens, it because you haven’t allocated enough memory to your runtime. ELK is very greedy and requires approx 4gb just for itself. That’s why we often recommend to allocate at least 8gb of memory to a VM for hosting API Portal.
If you want to confirm the problem, check the ELK log file found in
Thanks for your reply. I changed vm memory and set vm.max_map_count = 262144 and it work. But now I have a different error. I get an error like this in CloudAgent.log
INFO | jvm 1 | 2021/03/30 16:35:47 | 2021-03-30 16:35:47,416|WARN |Thread-11331| com.ARIS.prov.agent.lifecycle.AbstractRunnableLifecycleManager - Found a non-qualified context property zookeeper.application.instance.context=/ but no bundle type (property zookeeper.bundle.type) was specified, ignored.
Hi,
Looking at the log it looks like you still have an issue with memory i.e.
Initializing shm:cif.255480 errno=13. Unable to start due to shared memory failure.
You need to update a few other limits in your system. I have copy pasted the required config below
Check the setting for shared memory (kernel parameter shmmax) by executing the command
$ sysctl -a | fgrep kernel.shmmax
If the value is less than 629145600, log on as root user and increase the value by executing
$ sysctl -w kernel.shmmax=629145600
or
$ echo "kernel.shmmax=629145600" >> /etc/sysctl.conf
then activate the new value by executing
$ sysctl -p
Check the settings for the system-wide maximum number of file descriptors (kernel parameter fs.file-max) by executing the command
$ sysctl -a | fgrep fs.file-max.
If the value is less than 200000, log on as the root user and increase the value by executing
$ sysctl -w fs.file-max=200000
or
$ echo "fs.file-max=200000" >> /etc/sysctl.conf
then activate the new value by executing
$ sysctl -p
Check the user, group, and process settings for the maximum number of open file descriptors by executing the command
$ ulimit -Hn
and
$ ulimit -Sn
where -Hn is the hard limit and -Sn is the soft limit. If the value is less than 200000, log on as a non-root user and increase the value by executing
$ ulimit -n 200000
To permanently save this setting for the user, execute
$ echo "<user name> soft nofile 200000" >> /etc/security/limits.conf
$ echo "<user name> hard nofile 200000" >> /etc/security/limits.conf
Last wnter the host name of the machine on which you are installing products in the DNS of the network or in the file /etc/hosts.