Hello, I had the same issue and this is your /var/lib/pgsql/data/pg_hba.conf By default, PostgreSQL accepts connections only from the localhost . It refuses remote connections. This is controlled by applying an access control rule that allows a user to log in from an IP address after providing a valid password (the md5 keyword). To accept a remote connection, add : host all all 0.0.0.0/0 md5 Maybe you should restrict as you wish. Regards
... View more
I'm trying to install CDH 6.3.2 from Cloudera manager 6.3.1.
I meet the issue :
Installation failed. Failed to receive heartbeat from agent.
Ensure that the host's hostname is configured properly.
Ensure that port 7182 is accessible on the Cloudera Manager Server (check firewall rules).
Ensure that ports 9000 and 9001 are not in use on the host being added.
Check agent logs in /var/log/cloudera-scm-agent/ on the host being added. (Some of the logs can be found in the installation details).
If Use TLS Encryption for Agents is enabled in Cloudera Manager (Administration -> Settings -> Security), ensure that /etc/cloudera-scm-agent/config.ini has use_tls=1 on the host being added. Restart the corresponding agent and click the Retry link here.
When I go through the details from Cloudera manager :
Here what I get :
BEGIN systemctl restart cloudera-scm-agent ● cloudera-scm-agent.service - Cloudera Manager Agent Service Loaded: loaded (/usr/lib/systemd/system/cloudera-scm-agent.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2020-10-31 10:03:23 PDT; 10min ago Main PID: 15240 (cmagent) Tasks: 26 CGroup: /system.slice/cloudera-scm-agent.service └─15240 /usr/bin/python2 /opt/cloudera/cm-agent/bin/cm agent Oct 31 10:13:15 localhost cm: self.run() Oct 31 10:13:15 localhost cm: File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run Oct 31 10:13:15 localhost cm: self._target(*self._args, **self._kwargs) Oct 31 10:13:15 localhost cm: File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/monitor/host/filesystem_map.py", line 27, in disk_usage_wrapper Oct 31 10:13:15 localhost cm: usage = psutil.disk_usage(p) Oct 31 10:13:15 localhost cm: File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/psutil/__init__.py", line 1947, in disk_usage Oct 31 10:13:15 localhost cm: return _psplatform.disk_usage(path) Oct 31 10:13:15 localhost cm: File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/psutil/_psposix.py", line 131, in disk_usage Oct 31 10:13:15 localhost cm: st = os.statvfs(path) Oct 31 10:13:15 localhost cm: OSError: [Errno 2] No such file or directory: '/run/user/0'
>[31/Oct/2020 10:04:37 +0000] 15240 Monitor-HostMonitor throttling_logger ERROR Timed out waiting for worker process collecting filesystem usage to complete. This may occur if the host has an NFS or other remote filesystem that is not responding to requests in a timely fashion. Current nodev filesystems: /dev/shm,/run,/sys/fs/cgroup,/run/cloudera-scm-agent/process,/run/cloudera-scm-agent/process,/run/user/1000,/run/user/0
Here My df -h :
[root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 18G 9.3G 8.5G 53% / devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.9G 70M 3.8G 2% /dev/shm tmpfs 3.9G 13M 3.8G 1% /run tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/sda1 297M 157M 140M 53% /boot cm_processes 3.9G 0 3.9G 0% /run/cloudera-scm-agent/process tmpfs 781M 28K 781M 1% /run/user/1000
Could you help my on this issue ? Thank you
... View more