Hi Muvvala,

It looks like your memcached server is not running, or not available over
the current port on the configured IP. Can you verify that it's actively
running? That's the most likely problem.

Some users on some newer distros have found trouble using 'localhost' for
the memcached server in some configurations, with memcached listening over
IPv4 (127.0.0.1) but not IPv6, and that's impacted some setups. Appears to
be more of a distro configuration problem. If this is the case, you'd need
to make sure it's configured to use: -l '[::1]'

Christian

On Thu, Aug 3, 2023 at 6:53 PM Muvvala Pradeep <mvvlprad...@gmail.com>
wrote:

> Hi,
>
> The existing review board production server is of 3.0.17 version, we are
> on a plan to upgrade to the latest version 5.0.5.
>
> Upon going through the pre-requisites, we brought a new CentOS9 server and
> were able to install and configure Review Board 5.0.5. However, when we
> import the database from 3.0.17 version to 5.0.5 using the mysqldump.
>
> Import was successful to 5.0.5 but the log displays the below error.
>
> [Errno 111] Connection refused
> Request Method:
> GET
> Django Version:
> 3.2.20
> Exception Type:
> ConnectionRefusedError
> Exception Value:
> [Errno 111] Connection refused
> Exception Location:
> /usr/local/lib/python3.9/site-packages/pymemcache/client/base.py, line
> 424, in _connect
> Python Executable:
> /usr/bin/python3
> Python Version:
> 3.9.17
> Python Path:
> ['/var/www/reviewboard.com/conf', '/var/www/reviewboard.com/conf',
> '/usr/lib64/python39.zip', '/usr/lib64/python3.9',
> '/usr/lib64/python3.9/lib-dynload',
> '/usr/local/lib64/python3.9/site-packages',
> '/usr/local/lib/python3.9/site-packages',
> '/usr/lib64/python3.9/site-packages', '/usr/lib/python3.9/site-packages']
>
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py",
> line 47, in inner
>     response = get_response(request)
>   File
> "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line
> 116, in __call__
>     response = self.process_request(request)
>   File
> "/usr/local/lib/python3.9/site-packages/djblets/siteconfig/middleware.py",
> line 31, in process_request
>     SiteConfiguration.objects.check_expired()
>   File
> "/usr/local/lib/python3.9/site-packages/djblets/siteconfig/managers.py",
> line 116, in check_expired
>     if siteconfig.is_expired():
>   File
> "/usr/local/lib/python3.9/site-packages/djblets/siteconfig/models.py", line
> 343, in is_expired
>     return self._gen_sync.is_expired()
>   File
> "/usr/local/lib/python3.9/site-packages/djblets/cache/synchronizer.py",
> line 70, in is_expired
>     sync_gen = self._get_latest_sync_gen()
>   File
> "/usr/local/lib/python3.9/site-packages/djblets/cache/synchronizer.py",
> line 124, in _get_latest_sync_gen
>     return cache.get(self.cache_key)
>   File
> "/usr/local/lib/python3.9/site-packages/django/core/cache/backends/memcached.py",
> line 77, in get
>     return self._cache.get(key, default)
>   File "/usr/local/lib/python3.9/site-packages/pymemcache/client/hash.py",
> line 347, in get
>     return self._run_cmd("get", key, default, default=default, **kwargs)
>   File "/usr/local/lib/python3.9/site-packages/pymemcache/client/hash.py",
> line 322, in _run_cmd
>     return self._safely_run_func(client, func, default_val, *args,
> **kwargs)
>   File "/usr/local/lib/python3.9/site-packages/pymemcache/client/hash.py",
> line 211, in _safely_run_func
>     result = func(*args, **kwargs)
>   File "/usr/local/lib/python3.9/site-packages/pymemcache/client/base.py",
> line 687, in get
>     return self._fetch_cmd(b"get", [key], False,
> key_prefix=self.key_prefix).get(
>   File "/usr/local/lib/python3.9/site-packages/pymemcache/client/base.py",
> line 1133, in _fetch_cmd
>     self._connect()
>   File "/usr/local/lib/python3.9/site-packages/pymemcache/client/base.py",
> line 424, in _connect
>     sock.connect(sockaddr)
>
> Exception Type: ConnectionRefusedError at /r/
> Exception Value: [Errno 111] Connection refused
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/80c52b32-fe14-4b9b-8c83-402a67ba5f11n%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/80c52b32-fe14-4b9b-8c83-402a67ba5f11n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7VndnxzLn8gVDUAtWDzN4zJW0F_8GcPBKT-XSZB0bstBocMQ%40mail.gmail.com.

Reply via email to