kopano-search: INFO - cannot open config file %s running with defaults



  • This is a kopano 8.6.7 from the portal on ubuntu 18.04.1 LTS.
    We have a configuration file in /etc/kopano/search.cfg, but this is seemingly not found.
    What is strange, even i I start kopano by hand like this:

    /usr/sbin/kopano-search --config=/etc/kopano/search.cfg   -F  -l DEBUG
    

    the result is:

    2018-10-08 12:13:25,352 - search - INFO - cannot open config file %s running with defaults
    2018-10-08 12:13:25,352 - search - INFO - starting search
    

    And the config file is clearly there:

    ls -l /etc/kopano/search.cfg
    -rw-r--r-- 1 root root 3281 Jul 23 13:47 /etc/kopano/search.cfg
    

    So what is wrong here?


  • Kopano

    Hi @isol ,

    that works without problems in a local test machine:

    root@felix-ubuntu-1804-supported-final ~
    $ uname -a
    Linux felix-ubuntu-1804-supported-final 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    
    root@felix-ubuntu-1804-supported-final ~
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 18.04.1 LTS
    Release:        18.04
    Codename:       bionic
    
    root@felix-ubuntu-1804-supported-final ~
    $ dpkg -l | grep kopano-search
    ii  kopano-search                              8.6.7.0-0+16.1                     amd64        Indexed search engine for Kopano Core
    
    root@felix-ubuntu-1804-supported-final ~
    $ /usr/sbin/kopano-search --config=/etc/kopano/search.cfg   -F  -l DEBUG
    2018-10-08 13:01:35,002 - search - INFO - starting search
    2018-10-08 13:01:37,179 - search - INFO - found previous server sync state: 01000000BE070000
    2018-10-08 13:01:37,183 - search - INFO - starting incremental sync
    2018-10-08 13:01:37,190 - query - INFO - listening on socket file:///var/run/kopano/search.sock
    ^C2018-10-08 13:01:41,195 - search - INFO - stopping search
    


  • Exact same problem here.

    uname -a

    Linux server01 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    lsb_release -a

    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 18.04.1 LTS
    Release: 18.04
    Codename: bionic

    dpkg -l | grep kopano-search

    ii kopano-search 8.6.9.0-0+24.1 amd64 Indexed search engine for Kopano Core

    /usr/sbin/kopano-search --config=/etc/kopano/search.cfg -F -l DEBUG

    2019-01-03 15:06:44,427 - search - INFO - cannot open config file %s running with defaults
    2019-01-03 15:06:44,427 - search - INFO - starting search
    2019-01-03 15:06:44,467 - search - INFO - found previous server sync state: 0100000025010000
    2019-01-03 15:06:44,472 - search - INFO - starting incremental sync
    2019-01-03 15:06:44,482 - query - INFO - listening on socket file:///var/run/kopano/search.sock

    ls -al /etc/kopano/search.cfg

    -rw-r–r-- 1 kopano kopano 2935 Jan 3 14:43 /etc/kopano/search.cfg

    How can this be fixed/corrected?



  • Does anyone from Kopano want to look at this live issue?


  • Kopano

    @Caldwell please open up a support case to request a remote session


Log in to reply