You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have installed pglookout-2.0.2.egg file on Rocky 8.6 OS with python 3.8 version. pglookout gets installed but while starting the service i am getting the below error . Any suggestion would be helpful.
Feb 14 11:38:28 pg1 systemd[1]: Started PostgreSQL streaming backup service.
Feb 14 11:38:28 pg1 pglookout[56197]: Traceback (most recent call last):
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2700, in _dep_map
Feb 14 11:38:28 pg1 pglookout[56197]: return self.__dep_map
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2815, in __getattr__
Feb 14 11:38:28 pg1 pglookout[56197]: raise AttributeError(attr)
Feb 14 11:38:28 pg1 pglookout[56197]: AttributeError: _Distribution__dep_map
Feb 14 11:38:28 pg1 pglookout[56197]: During handling of the above exception, another exception occurred:
Feb 14 11:38:28 pg1 pglookout[56197]: Traceback (most recent call last):
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/local/bin/pglookout", line 6, in <module>
Feb 14 11:38:28 pg1 pglookout[56197]: from pkg_resources import load_entry_point
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
Feb 14 11:38:28 pg1 pglookout[56197]: def _initialize_master_working_set():
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
Feb 14 11:38:28 pg1 pglookout[56197]: f(*args, **kwargs)
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
Feb 14 11:38:28 pg1 pglookout[56197]: working_set = WorkingSet._build_master()
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
Feb 14 11:38:28 pg1 pglookout[56197]: ws.require(__requires__)
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
Feb 14 11:38:28 pg1 pglookout[56197]: needed = self.resolve(parse_requirements(requirements))
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 794, in resolve
Feb 14 11:38:28 pg1 pglookout[56197]: new_requirements = dist.requires(req.extras)[::-1]
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2736, in requires
Feb 14 11:38:28 pg1 pglookout[56197]: dm = self._dep_map
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2702, in _dep_map
Feb 14 11:38:28 pg1 pglookout[56197]: self.__dep_map = self._filter_extras(self._build_dep_map())
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2730, in _build_dep_map
Feb 14 11:38:28 pg1 pglookout[56197]: for extra, reqs in split_sections(self._get_metadata(name)):
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3199, in split_sections
Feb 14 11:38:28 pg1 pglookout[56197]: for line in yield_lines(s):
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2387, in yield_lines
Feb 14 11:38:28 pg1 pglookout[56197]: for ss in strs:
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2767, in _get_metadata
Feb 14 11:38:28 pg1 pglookout[56197]: for line in self.get_metadata_lines(name):
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1432, in get_metadata_lines
Feb 14 11:38:28 pg1 pglookout[56197]: return yield_lines(self.get_metadata(name))
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1420, in get_metadata
Feb 14 11:38:28 pg1 pglookout[56197]: value = self._get(path)
Feb 14 11:38:28 pg1 pglookout[56197]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1616, in _get
Feb 14 11:38:28 pg1 pglookout[56197]: with open(path, 'rb') as stream:
Feb 14 11:38:28 pg1 pglookout[56197]: PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.8/site-packages/pglookout-2.0.2-py3.8.egg/EGG-INFO/requires.txt'
Feb 14 11:38:28 pg1 systemd[1]: pglookout.service: Main process exited, code=exited, status=1/FAILURE
Feb 14 11:38:28 pg1 systemd[1]: pglookout.service: Failed with result 'exit-code'.
Feb 14 11:38:28 pg1 dbus-daemon[748]: [system] Activating service name='org.fedoraproject.Setroubleshootd' requested by ':1.1513' (uid=0 pid=708 comm="/usr/sbin/sedispatch " label="system_u:system_r:auditd_t:s0") (using servicehelper)
Feb 14 11:38:28 pg1 systemd[1]: postgresql-14.service: Killing process 56030 (postmaster) with signal SIGKILL.
Feb 14 11:38:28 pg1 systemd[1]: pglookout.service: Service RestartSec=100ms expired, scheduling restart.
Feb 14 11:38:28 pg1 systemd[1]: pglookout.service: Scheduled restart job, restart counter is at 1.
Feb 14 11:38:28 pg1 systemd[1]: Stopped PostgreSQL replication monitoring and failover daemon.
The text was updated successfully, but these errors were encountered:
Hi ,
i have installed pglookout-2.0.2.egg file on Rocky 8.6 OS with python 3.8 version. pglookout gets installed but while starting the service i am getting the below error . Any suggestion would be helpful.
The text was updated successfully, but these errors were encountered: