[pkg-bacula-devel] Bug#783083: bacula-director-common: Bacula director has problems with kernel linux-image-3.16.0-0.bpo.4-amd64 (v3.16.7-ckt7-1~bpo70+1)

Artur Linhart Artur.Linhart at centrum.cz
Fri Apr 24 18:21:38 UTC 2015


Hello Carsten,

    in the attachments you can find the results. But it seems to be
restarted correctly. I have tested it also with the brand new kernel and
the problem still persist. I cannot recognize any ps output differences
between the 3.x kernels (wrong functionality) and 2.x kernels (works well).

    But I have found another clue - there is a significant difference in
the director start log after the restart, I did not checked the debug
messages during the correct behavior with kernel 2.x. It seems the
director is not able to connect to pg database, so that's the reason why
the port 9101 is not opened. If you look on the two attachedn director
start logs, then in the case of the working 2.x kernel configuration the
DB is connected properly and some information is read from DB, in the
case of the problematic kernel 3.x the log of the debug messages ends
with the message about the first init:
2.x debug messages:
24-Apr-2015 19:45:01 bacula-dir: dir_plugins.c:162-0 No dir plugin dir!
24-Apr-2015 19:45:01 bacula-dir: bpipe.c:367-0 Run program returning 0
24-Apr-2015 19:45:01 bacula-dir: bpipe.c:367-0 Run program returning 0
24-Apr-2015 19:45:01 bacula-dir: postgresql.c:1120-0 db_init_database
first time
[ ok 24-Apr-2015 19:45:02 bacula-dir: postgresql.c:241-0 pg_real_connect
done
24-Apr-2015 19:45:02 bacula-dir: postgresql.c:243-0 db_user=bacula_dir
db_name=bacula_db db_password=bacula_password
.
root at alg-vun-netmng:~# 24-Apr-2015 19:45:02 alg-vun-netmng-dir:
pythonlib.c:102-0 No script dir. prog=DirStartUp
24-Apr-2015 19:45:02 alg-vun-netmng-dir: bnet_server.c:95-0 Addresses
host[ipv4:0.0.0.0:9101]
24-Apr-2015 19:45:02 alg-vun-netmng-dir: job.c:1331-0 wstorage=bacula-sd
24-Apr-2015 19:45:02 alg-vun-netmng-dir: job.c:1340-0 wstore=bacula-sd
where=Job

3.x debug messages:

24-Apr-2015 19:51:31 bacula-dir: dir_plugins.c:162-0 No dir plugin dir!
24-Apr-2015 19:51:31 bacula-dir: bpipe.c:367-0 Run program returning 0
24-Apr-2015 19:51:31 bacula-dir: bpipe.c:367-0 Run program returning 0
24-Apr-2015 19:51:31 bacula-dir: postgresql.c:1120-0 db_init_database
first time
. ok
root at alg-vun-netmng:/home/alglogin#

 Generally I think, the postgres client has no problems with the
connections in the new kernel environment, so I gues, the problem must
be somwhere in bacula-director-pg package...

Dne 23.4.2015 v 13:12 Carsten Leonhardt napsal(a):
> Hi Artur,
>
> could you please send the output of
>
> ps xuaw | grep bacula-dir
>
>  - after reboot
>  - after the connect with bat
>  - after /etc/init.d/bacula-dir stop
>  - after /etc/init.d/bacula-dir start
>
> Sounds like the director might be hanging, it could be interesting to
> see if the PID changes and what state the process might be in.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.32-48squeeze6.001-after-start.log
Type: text/x-log
Size: 374 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.32-48squeeze6.002-after-bat-start.log
Type: text/x-log
Size: 374 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.32-48squeeze6.003-after-director-stop.log
Type: text/x-log
Size: 130 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.32-48squeeze6.004-after-director-start.log
Type: text/x-log
Size: 278 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.32-48squeeze6.director-start-log.log
Type: text/x-log
Size: 1656 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt7-1~bpo70+1.001-after-start.log
Type: text/x-log
Size: 356 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt7-1~bpo70+1.002-after-bat-connect.log
Type: text/x-log
Size: 351 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt7-1~bpo70+1.003-after-director-stop.log
Type: text/x-log
Size: 109 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt7-1~bpo70+1.004-after-director-start.log
Type: text/x-log
Size: 278 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt9-2~bpo70+1.001-after-start.log
Type: text/x-log
Size: 374 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt9-2~bpo70+1.002-after-bat-connect.log
Type: text/x-log
Size: 374 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt9-2~bpo70+1.003-after-director-stop.log
Type: text/x-log
Size: 130 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt9-2~bpo70+1.004-after-director-start.log
Type: text/x-log
Size: 296 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.16.7-ckt9-2~bpo70+1.director-start-log.log
Type: text/x-log
Size: 1009 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20150424/b5efa2d9/attachment-0013.bin>


More information about the pkg-bacula-devel mailing list