[Koha-bugs] [Bug 22217] New: error "Connection to the memcached servers '__MEMCACHED_SERVERS__' failed" during install
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 28 17:42:10 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22217
Bug ID: 22217
Summary: error "Connection to the memcached servers
'__MEMCACHED_SERVERS__' failed" during install
Change sponsored?: ---
Product: Koha
Version: 18.11
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5 - low
Component: Installation and upgrade (command-line installer)
Assignee: koha-bugs at lists.koha-community.org
Reporter: giuseppe.ciaccio at unige.it
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
I'm trying to install Koha on a fresh Debian 9.7 32-bit, following the
instructions at https://wiki.koha-community.org/wiki/Koha_on_Debian . I work
as root so I have all privileges.
One of the installation steps consists of editing file
/etc/koha/koha-sites.conf . Inside koha-sites.con, I find the following row:
USE_MEMCACHED="yes"
1.1) start memcached in the localhost
(this action is not reported in the instructions but is needed):
root at myhost:~# service memcached start
1.2) ensure that memcached is indeed active and listening at port 11211
root at myhost:~# ps ax
PID TTY STAT TIME COMMAND
...
16908 ? S 0:00 /usr/sbin/apache2 -k start
16909 ? S 0:00 /usr/sbin/apache2 -k start
16910 ? S 0:00 /usr/sbin/apache2 -k start
16920 ? Ssl 0:00 /usr/bin/memcached -m 64 -p 11211 -u memcache -l
127.
...
1.3) proceed with install procedure, get worrying error messages
root at myhost:~# koha-create --create-db mylibrary
Koha instance is empty, no staff user created.
[ ok ] Starting Koha indexing daemon for mylibrary:.
root at myhost:~# koha-translate --install it-IT
Connection to the memcached servers '__MEMCACHED_SERVERS__' failed. Are the
unix socket permissions set properly? Is the host reachable?
If you ignore this warning, you will face performance issues
Connection to the memcached servers '__MEMCACHED_SERVERS__' failed. Are the
unix socket permissions set properly? Is the host reachable?
If you ignore this warning, you will face performance issues
Use of uninitialized value $pref_name in concatenation (.) or string at
/usr/share/koha/misc/translator/LangInstaller.pm line 197.
Use of uninitialized value $pref_name in concatenation (.) or string at
/usr/share/koha/misc/translator/LangInstaller.pm line 239.
1.4) at this point, try not to use memcached and repeat the koha-translate
step, get same error as before
root at myhost:~# vi /etc/koha/koha-sites.conf
...set USE_MEMCACHED="no"
root at myhost:~# koha-translate --update it-IT
Connection to the memcached servers '__MEMCACHED_SERVERS__' failed. Are the
unix socket permissions set properly? Is the host reachable?
If you ignore this warning, you will face performance issues
Connection to the memcached servers '__MEMCACHED_SERVERS__' failed. Are the
unix socket permissions set properly? Is the host reachable?
If you ignore this warning, you will face performance issues
Use of uninitialized value $pref_name in concatenation (.) or string at
/usr/share/koha/misc/translator/LangInstaller.pm line 197.
Use of uninitialized value $pref_name in concatenation (.) or string at
/usr/share/koha/misc/translator/LangInstaller.pm line 239.
So it seems that
I) the language installer tries to connect to memcached, no matter the value of
USE_MEMCACHED
II) the language installer fails to connect to memcached even if the daemon is
up and listening to the right port.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list