Package: sphinxsearch
Version: 2.2.11-8~bpo11+1
Severity: normal

Starting searchd from command line works perfectly :
~# /usr/bin/searchd
Sphinx 2.2.11-id64-release (95ae9a6)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinxsearch/sphinx.conf'...
listening on 127.0.0.1:9312
listening on 127.0.0.1:9306
precaching index 'dev'
precaching index 'prod'
precached 2 indexes in 0.001 sec

But trying to run it from systemd fails :
~# systemctl start sphinxsearch.service
~# systemctl status sphinxsearch.service
● sphinxsearch.service - LSB: Fast standalone full-text SQL search engine
     Loaded: loaded (/etc/init.d/sphinxsearch; generated)
     Active: active (exited) since Sun 2022-05-15 12:01:16 CEST; 5min ago
       Docs: man:systemd-sysv-generator(8)
      Tasks: 0 (limit: 2331)
     Memory: 0B
        CPU: 0
     CGroup: /system.slice/sphinxsearch.service

May 15 12:01:16 newpurcell systemd[1]: Starting LSB: Fast standalone full-text >
May 15 12:01:16 newpurcell sphinxsearch[2671]: To enable sphinxsearch, edit /et>
May 15 12:01:16 newpurcell systemd[1]: Started LSB: Fast standalone full-text S>
~# ps ax|grep searchd
  80997 pts/0    S+     0:00 grep searchd

If someone can confirm this bug, I can work on a patch (most likely a matter of 
fiddling with systemd service files)

Jean-Francois "Jef" Stenuit

-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-14-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sphinxsearch depends on:
ii  adduser         3.118
ii  libc6           2.31-13+deb11u3
ii  libexpat1       2.2.10-2+deb11u3
ii  libgcc-s1       10.2.1-6
ii  libmariadb3     1:10.5.15-0+deb11u1
ii  libodbc1        2.3.6-0.1+b1
ii  libpq5          13.7-0+deb11u1
ii  libre2-9        20210201+dfsg-1
ii  libstdc++6      10.2.1-6
ii  libstemmer0d    2.1.0-1
ii  sysvinit-utils  2.96-7+deb11u1
ii  zlib1g          1:1.2.11.dfsg-2+deb11u1

sphinxsearch recommends no packages.

sphinxsearch suggests no packages.

-- Configuration Files:
/etc/default/sphinxsearch changed:
START=yes


-- no debconf information

Reply via email to