View Issue Details

IDProjectCategoryView StatusLast Update
0000098bareos-coredirectorpublic2013-03-04 09:58
Reporterjoergs Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version12.04
Product Version12.4.1 
Fixed in Version12.4.2 
Summary0000098: Director does not start: Unable to load shared library: /usr/lib/libbareoscats-mysql.so ER=<NULL>
Descriptionthe above error occurs after starting the bareos-dir.

System: Ubuntu Server 12.04.2 LTS, 32bit (VM)
I did the following after installation with apt-get:

make_bareos_tables
grant_bareos_privileges
service bareos-sd start
service bareos-fd start
service bareos-dir start

SD anf FD do start, dir not although it says [OK].
TagsNo tags attached.

Relationships

related to 0000109 closed init scripts causes a lot of problems. Replace existing init scripts with distribution templates. 

Activities

joergs

joergs

2013-02-26 09:53

developer   ~0000172

As far as I can see, this bug only occurs in the combination: Ubuntu 32 Bit + MySQL.
Ubuntu 64 Bit + MySQL or Ubunutu 32 Bit + Postgres do work fine.
mvwieringen

mvwieringen

2013-02-26 10:26

developer   ~0000175

Seems the dlopen fails but its doesn't set any error. What does
ldd show on /usr/lib/libbareoscats-mysql.so ?

I guess its probably missing some library and that is why it cannot load it.
barbugs

barbugs

2013-02-26 15:11

reporter   ~0000182

Output of ldd:

ldd /usr/lib/libbareoscats-mysql.so
    linux-gate.so.1 => (0xb77b3000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb76c0000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7516000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb74e9000)
    /lib/ld-linux.so.2 (0xb77b4000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb74cb000)

OK, so it seems to be a problem with 32bit. I just set up a 64bit system for now in order to get further.
joergs

joergs

2013-03-01 13:31

developer   ~0000222

problem has been fixed by attached changeset.
Fix will be included in the next release.

Issue History

Date Modified Username Field Change
2013-02-26 09:47 joergs New Issue
2013-02-26 09:53 joergs Note Added: 0000172
2013-02-26 10:26 mvwieringen Note Added: 0000175
2013-02-26 10:26 mvwieringen Assigned To => joergs
2013-02-26 10:26 mvwieringen Status new => assigned
2013-02-26 10:26 mvwieringen Status assigned => feedback
2013-02-26 15:11 barbugs Note Added: 0000182
2013-03-01 13:24 joergs Relationship added related to 0000109
2013-03-01 13:29 joergs Changeset attached => bareos Branch-12.4 20d08fa8
2013-03-01 13:31 joergs Target Version 12.4.1 => 12.4.2
2013-03-01 13:31 joergs Fixed in Version 12.4.1 => 12.4.2
2013-03-01 13:31 joergs Note Added: 0000222
2013-03-01 13:31 joergs Status feedback => assigned
2013-03-01 13:31 joergs Status assigned => closed
2013-03-01 13:31 joergs Resolution open => fixed
2013-03-01 13:31 joergs Assigned To joergs =>
2013-03-04 09:58 mvwieringen Fixed in Version => 12.4.2