Program received signal SIGSEGV, director failed to start

30 views
Skip to first unread message

hel...@pable.at

unread,
Aug 26, 2020, 8:50:42 AM8/26/20
to bareos-users
Hi,
my bareos installation is operating on dedicated server under Ubuntu 16.04.7 LTS. Bareos Version: 18.2.5 (30 January 2019), Ver 15.1 Distrib 10.0.38-MariaDB, for debian-linux-gnu (i686), Version 2192.

I got "bareos-director.service: Failed with result 'signalSIGSERV':

rootxxxxxx :~# service bareos-dir restart
Job for bareos-director.service failed because a fatal signal was delivered to the control process. See "systemctl status bareos-director.service" and "journalctl -xe" for details.
rootxxxxxx :~# systemctl status bareos-director.service
? bareos-director.service - Bareos Director Daemon service
   Loaded: loaded (/lib/systemd/system/bareos-director.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/bareos-director.service.d
           +-override.conf
   Active: failed (Result: signal) since Mit 2020-08-26 13:37:00 CEST; 19s ago
     Docs: man:bareos-dir(8)
  Process: 18808 ExecStartPre=/usr/sbin/bareos-dir -t -f (code=killed, signal=SEGV)

Aug 26 13:37:00  xxxxxx systemd[1]: Starting Bareos Director Daemon service...
Aug 26 13:37:00  xxxxxx bareos-dir[18808]: BAREOS interrupted by signal 11: Segmentation violation
Aug 26 13:37:00  xxxxxx bareos-dir[18808]: BAREOS interrupted by signal 11: Segmentation violation
Aug 26 13:37:00  xxxxxx systemd[1]: bareos-director.service: Control process exited, code=killed status=11
Aug 26 13:37:00  xxxxxx systemd[1]: Failed to start Bareos Director Daemon service.
Aug 26 13:37:00  xxxxxx systemd[1]: bareos-director.service: Unit entered failed state.
Aug 26 13:37:00  xxxxxx systemd[1]: bareos-director.service: Failed with result 'signal'.
rootxxxxxx:~# journalctl -xe
Aug 26 13:09:01  xxxxxx CRON[18640]: pam_unix(cron:session): session closed for user root
Aug 26 13:09:08  xxxxxx su[18682]: Successful su for bareos by root
Aug 26 13:09:08  xxxxxx su[18682]: + /dev/pts/0 root:bareos
Aug 26 13:09:08  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:09:08  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:09:08  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:09:08  xxxxxx sssd_be[1838]: GSSAPI client step 2
Aug 26 13:09:08  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:09:08  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:09:08  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:09:08  xxxxxx sssd_be[1838]: GSSAPI client step 2
Aug 26 13:09:08  xxxxxx su[18682]: pam_unix(su:session): session opened for user bareos by helmut(uid=0)
Aug 26 13:09:08  xxxxxx su[18682]: pam_systemd(su:session): Cannot create session: Already running in a session
Aug 26 13:09:08  xxxxxx bareos-dir[18686]: BAREOS interrupted by signal 11: Segmentation violation
Aug 26 13:09:08  xxxxxx su[18682]: pam_unix(su:session): session closed for user bareos
Aug 26 13:09:35  xxxxxx su[18687]: Successful su for bareos by root
Aug 26 13:09:35  xxxxxx su[18687]: + /dev/pts/0 root:bareos
Aug 26 13:09:35  xxxxxx su[18687]: pam_unix(su:session): session opened for user bareos by helmut(uid=0)
Aug 26 13:09:35  xxxxxx su[18687]: pam_systemd(su:session): Cannot create session: Already running in a session
Aug 26 13:09:35  xxxxxx su[18687]: pam_unix(su:session): session closed for user bareos
Aug 26 13:17:01  xxxxxx CRON[18711]: pam_unix(cron:session): session opened for user root by (uid=0)
Aug 26 13:17:01  xxxxxx CRON[18712]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 26 13:17:01  xxxxxx CRON[18711]: pam_unix(cron:session): session closed for user root
Aug 26 13:37:00  xxxxxx systemd[1]: Stopped Bareos Director Daemon service.
-- Subject: Unit bareos-director.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit bareos-director.service has finished shutting down.
Aug 26 13:37:00 xxxxxx systemd[1]: Starting Bareos Director Daemon service...
-- Subject: Unit bareos-director.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit bareos-director.service has begun starting up.
Aug 26 13:37:00  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:37:00  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:37:00  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:37:00  xxxxxx sssd_be[1838]: GSSAPI client step 2
Aug 26 13:37:00  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:37:00  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:37:00  xxxxxx sssd_be[1838]: GSSAPI client step 1
Aug 26 13:37:00  xxxxxx sssd_be[1838]: GSSAPI client step 2
Aug 26 13:37:00  xxxxxx bareos-dir[18808]: BAREOS interrupted by signal 11: Segmentation violation
Aug 26 13:37:00  xxxxxx bareos-dir[18808]: BAREOS interrupted by signal 11: Segmentation violation
Aug 26 13:37:00  xxxxxx systemd[1]: bareos-director.service: Control process exited, code=killed status=11
Aug 26 13:37:00  xxxxxx systemd[1]: Failed to start Bareos Director Daemon service.
-- Subject: Unit bareos-director.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit bareos-director.service has failed.
--
-- The result is failed.
Aug 26 13:37:00  xxxxxx systemd[1]: bareos-director.service: Unit entered failed state.
Aug 26 13:37:00  xxxxxx systemd[1]: bareos-director.service: Failed with result 'signal'.
Aug 26 13:37:00  xxxxxx systemd[1]: bareos-director.service: Failed with result 'signal'.
lines 990-1045/1045 (END)

root xxxxxx :~# gdb --args /usr/sbin/bareos-dir -t -f
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 "i686-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/bareos-dir...Reading symbols from /usr/lib/debug/.build-id/57/cf4a289ee071e55758cf9ec1c408b1647c627a.debug...done.
done.
(gdb) r
Starting program: /usr/sbin/bareos-dir -t -f
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0xb71eb250 in ?? ()
(gdb) bt
#0  0xb71eb250 in ?? ()
#1  0xb7c74011 in CRYPTO_lock () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#2  0xb7ce441f in ENGINE_remove () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#3  0xb7ce4539 in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#4  0xb7ce3a66 in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#5  0xb7cf3320 in sk_pop_free () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#6  0xb7ce3d99 in ENGINE_cleanup () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#7  0xb7e688f5 in CleanupCrypto () at ../../../src/lib/crypto_openssl.cc:1547
#8  0x0806b179 in directordaemon::TerminateDird (sig=0) at ../../../src/dird/dird.cc:497
#9  0x08066c6b in main (argc=<optimized out>, argv=<optimized out>) at ../../../src/dird/dird.cc:447
rootxxxxxx :~#

What shal I do to start the director?
Helmut

Reply all
Reply to author
Forward
0 new messages