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

    Segmentation Fault upon fresh installation

    Kopano Groupware Core
    6
    19
    3148
    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.
    • bosim
      bosim last edited by

      @ivanlaszik said in Segmentation Fault upon fresh installation:

      any advice?

      What happens if you try removing the package?

      Bo

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

        I did that, by #dnf remove compat-openssl10, and it offered to remove 64 packages, among them all the kopano packages.

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

          @ivanlaszik said in Segmentation Fault upon fresh installation:

          what else to do for troubleshooting?

          I’d recommend to stick with a distribution that is also used for the supported packages (see https://documentation.kopano.io/kopanocore_administrator_manual/installing.html#supported-platforms for an overview). The listed distributions are tested on a regular base and should therefore (theoretically) be free of such errors.

          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
          • ivanlaszik
            ivanlaszik last edited by

            Thanks fbartels. My current working (old) zarafa installation is on Fedora 22 and there were no issue from the beginning.
            For personal use I love to play with cutting edge stuff, reason why I choose Fedora.
            I am sure it will work with CentOS7, with which I will go if I cannot make it on FC, but in the meantime I really want to work it out with FC26.

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

              I also get a sig-segfault exception on Ubuntu 16.04.3 LTS upon running kopano-admin -l

              /var/log/syslog

              Dec 20 17:31:01 mail kernel: [  143.005424] kopano-admin[7585]: segfault at a ip 000000000000000a sp 00007ffd21d4bb98 error 14 in kopano-admin[400000+29000]
              

              also i found this in /var/log/kopano/server.log

              Wed Dec 20 17:31:38 2017: [crit   ] ----------------------------------------------------------------------
              Wed Dec 20 17:31:38 2017: [crit   ] Fatal error detected. Please report all following information.
              Wed Dec 20 17:31:38 2017: [crit   ] Application kopano-server version: 8.4.5.0
              Wed Dec 20 17:31:38 2017: [crit   ] OS: Linux, release: 4.4.0-103-generic, version: #126-Ubuntu SMP Mon Dec 4 16:23:28 UTC 2017, hardware: x86_64
              Wed Dec 20 17:31:38 2017: [crit   ] Thread name: NotificationMan
              Wed Dec 20 17:31:38 2017: [crit   ] Peak RSS: 16920
              Wed Dec 20 17:31:38 2017: [crit   ] Pid 7462 caught SIGSEGV (11), traceback:
              Wed Dec 20 17:31:38 2017: [crit   ] Backtrace:
              

              when i try get a backtrace for kopano-admin:

              root@mail:/etc/kopano# gdb kopano-admin 
              GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
              Copyright (C) 2016 Free Software Foundation, Inc.
              License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
              This is free software: you are free to change and redistribute it.
              There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
              and "show warranty" for details.
              This GDB was configured as "x86_64-linux-gnu".
              Type "show configuration" for configuration details.
              For bug reporting instructions, please see:
              <http://www.gnu.org/software/gdb/bugs/>.
              Find the GDB manual and other documentation resources online at:
              <http://www.gnu.org/software/gdb/documentation/>.
              For help, type "help".
              Type "apropos word" to search for commands related to "word"...
              Reading symbols from kopano-admin...(no debugging symbols found)...done.
              (gdb) run -l
              Starting program: /usr/sbin/kopano-admin -l
              [Thread debugging using libthread_db enabled]
              Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
              
              Program received signal SIGSEGV, Segmentation fault.
              0x00000000ffffffff in ?? ()
              (gdb) bt
              #0  0x00000000ffffffff in ?? ()
              #1  0x00007ffff2681653 in soap_delete () from /usr/lib/libgsoapssl++-kopano-2.8.57.so
              #2  0x00007ffff2f02bb3 in ?? () from /usr/lib/kopano/libkcclient.so
              #3  0x00007ffff2ee1053 in ?? () from /usr/lib/kopano/libkcclient.so
              #4  0x00007ffff2ee1add in ?? () from /usr/lib/kopano/libkcclient.so
              #5  0x00007ffff2f01be3 in MSGServiceEntry () from /usr/lib/kopano/libkcclient.so
              #6  0x00007ffff7b8362c in ?? () from /usr/lib/libmapi.so.1
              #7  0x00007ffff7b91cd1 in ?? () from /usr/lib/libmapi.so.1
              #8  0x00007ffff7b92e26 in KC::HrOpenECSession(IMAPISession**, char const*, char const*, wchar_t const*, wchar_t const*, char const*, unsigned int, char const*, char const*, char const*) () from /usr/lib/libmapi.so.1
              #9  0x00007ffff7b93020 in KC::HrOpenECAdminSession(IMAPISession**, char const*, char const*, char const*, unsigned int, char const*, char const*) () from /usr/lib/libmapi.so.1
              #10 0x00000000004090f0 in ?? ()
              #11 0x00007ffff694e830 in __libc_start_main (main=0x4063a0, argc=2, argv=0x7fffffffe708, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe6f8) at ../csu/libc-start.c:291
              #12 0x0000000000417769 in ?? ()
              
              1 Reply Last reply Reply Quote 0
              • hodor27
                hodor27 last edited by

                upon a fresh install of kopano the first segfault i get is from spooler:

                Dec 20 18:02:30 mail systemd[1]: kopano-spooler.service: Main process exited, code=killed, status=11/SEGV
                Dec 20 18:02:30 mail systemd[1]: kopano-spooler.service: Unit entered failed state.
                Dec 20 18:02:30 mail systemd[1]: kopano-spooler.service: Failed with result 'signal'.
                Dec 20 18:02:30 mail kernel: kopano-spooler[15267]: segfault at a ip 00007f92c8792ccb sp 00000000025c8820 error 4 in libgcc_s.so.1[7f92c8784000+16000]
                Dec 20 18:02:30 mail kernel: kopano-admin[15306]: segfault at a ip 000000000000000a sp 00007ffc51b40c28 error 14 in kopano-admin[400000+29000]
                
                1 Reply Last reply Reply Quote 0
                • hodor27
                  hodor27 last edited by

                  the backtace for kopano-spooler looks similiar to the one kopano-admin produces:

                  root@mail:/etc/kopano# gdb /usr/sbin/kopano-spooler 
                  GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
                  Copyright (C) 2016 Free Software Foundation, Inc.
                  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
                  This is free software: you are free to change and redistribute it.
                  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
                  and "show warranty" for details.
                  This GDB was configured as "x86_64-linux-gnu".
                  Type "show configuration" for configuration details.
                  For bug reporting instructions, please see:
                  <http://www.gnu.org/software/gdb/bugs/>.
                  Find the GDB manual and other documentation resources online at:
                  <http://www.gnu.org/software/gdb/documentation/>.
                  For help, type "help".
                  Type "apropos word" to search for commands related to "word"...
                  Reading symbols from /usr/sbin/kopano-spooler...(no debugging symbols found)...done.
                  (gdb) run -F
                  Starting program: /usr/sbin/kopano-spooler -F
                  [Thread debugging using libthread_db enabled]
                  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
                  [New Thread 0x7fffedf40700 (LWP 15581)]
                  
                  Thread 1 "kopano-spooler" received signal SIGSEGV, Segmentation fault.
                  0x00000000ffffffff in ?? ()
                  (gdb) bt
                  #0  0x00000000ffffffff in ?? ()
                  #1  0x00007fffef594653 in soap_delete () from /usr/lib/libgsoapssl++-kopano-2.8.57.so
                  #2  0x00007ffff001ebb3 in ?? () from /usr/lib/kopano/libkcclient.so
                  #3  0x00007fffefffd053 in ?? () from /usr/lib/kopano/libkcclient.so
                  #4  0x00007fffefffdadd in ?? () from /usr/lib/kopano/libkcclient.so
                  #5  0x00007ffff001dbe3 in MSGServiceEntry () from /usr/lib/kopano/libkcclient.so
                  #6  0x00007ffff790362c in ?? () from /usr/lib/libmapi.so.1
                  #7  0x00007ffff7911cd1 in ?? () from /usr/lib/libmapi.so.1
                  #8  0x00007ffff7912e26 in KC::HrOpenECSession(IMAPISession**, char const*, char const*, wchar_t const*, wchar_t const*, char const*, unsigned int, char const*, char const*, char const*) () from /usr/lib/libmapi.so.1
                  #9  0x00007ffff7913020 in KC::HrOpenECAdminSession(IMAPISession**, char const*, char const*, char const*, unsigned int, char const*, char const*) () from /usr/lib/libmapi.so.1
                  #10 0x000000000040a2eb in ?? ()
                  #11 0x00007ffff5ef7830 in __libc_start_main (main=0x409450, argc=2, argv=0x7fffffffe708, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe6f8) at ../csu/libc-start.c:291
                  #12 0x000000000040b439 in ?? ()
                  
                  fbartels 1 Reply Last reply Reply Quote 0
                  • fbartels
                    fbartels Kopano @hodor27 last edited by

                    Hi @hodor27 ,

                    Can you post the output of dpkg -l?

                    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/

                    hodor27 1 Reply Last reply Reply Quote 0
                    • hodor27
                      hodor27 @fbartels last edited by

                      @fbartels

                      dpkg -l output is pastede here: https://pastebin.com/N5euKyQi

                      1 Reply Last reply Reply Quote 0
                      • A Former User
                        A Former User @ivanlaszik last edited by

                        @ivanlaszik said in Segmentation Fault upon fresh installation:

                        Downloaded build core-8.4.90.1338_0+158-Fedora_26-x86_64 on Dec. 12.

                        F26 build now (kopano-8.4.90.1513-170.1) uses openssl 1.0 throughout. Maybe that cures the issue.

                        1 Reply Last reply Reply Quote 1
                        • ivanlaszik
                          ivanlaszik last edited by ivanlaszik

                          installed core-8.4.90.1513_0+172-Fedora_26-x86_64 just now and creation of the admin user was succesfull.
                          upgraded webapp to 3.4.3.1127+669 also, however, i get following error in httpd error log upon login attempt:

                          [Tue Dec 26 17:19:02.577640 2017] [php7:error] [pid 2078] [client x.x.x.x:59313] PHP Fatal error:  Uncaught Error: Class 'SimpleXMLElement' not found in /usr/share/kopano-webapp/server/includes/core/class.pluginmanager.php:849\nStack trace:\n#0 /usr/share/kopano-webapp/server/includes/core/class.pluginmanager.php(417): PluginManager->extractPluginDataFromXML('<?xml version="...', 'desktopnotifica...')\n#1 /usr/share/kopano-webapp/server/includes/core/class.pluginmanager.php(211): PluginManager->processPlugin('desktopnotifica...')\n#2 /usr/share/kopano-webapp/server/includes/core/class.pluginmanager.php(164): PluginManager->readPluginFolder(Array)\n#3 /usr/share/kopano-webapp/index.php(167): PluginManager->detectPlugins('')\n#4 {main}\n  thrown in /usr/share/kopano-webapp/server/includes/core/class.pluginmanager.php on line 849, referer: http://x.x.x.x/webapp/?logon
                          

                          and browser shows:

                          x.x.x.x is currently unable to handle this request.
                          HTTP ERROR 500
                          

                          I don’t think this is related to the previous problem.
                          i am researching, but any advice is appreciated.

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

                            fixed the above by installing php-xml.

                            all is good now, kopano seems to be working.

                            thanks for all the help and input :).

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