Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

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

    Kopano Groupware Core
    3
    5
    343
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • isol
      isol last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano last edited by fbartels

        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
        

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • Caldwell
          Caldwell last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • Caldwell
            Caldwell last edited by

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

            1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano last edited by

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

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 0
              • First post
                Last post