суббота, 17 сентября 2016 г., 17:28:30 UTC+3 пользователь Jörg Steffens написал:

Hi, Jörg!

> As you also got problems with the LDAP plugin, it seems to be related to
> your fd configuration.
> I guess, you have restarted the fd after modifying the configuration?

Yes, of course!

> Please verify, that the fd has read the configuration as expected.
> 
> The following command prints out the fd configuration like as read from
> the fd:
> /usr/sbin/bareos-fd -xc

I see nothing unusual:
# /usr/sbin/bareos-fd -xc /etc/bareos/bareos-fd.conf 
Director {
  Name = "alx-msk-backup-01.alx"
  Password = "[md5]9ab88d9ad9bf104ee15d4f2520ff447b"
  TlsAuthenticate = no
  TlsEnable = no
  TlsRequire = no
  MaximumBandwidthPerJob = 0
}

FileDaemon {
  Name = "alx-msk-backup-01"
  PluginDirectory = "/usr/lib64/bareos/plugins"
  MaximumConcurrentJobs = 20
  MaximumNetworkBufferSize = 0
  TlsAuthenticate = no
  TlsEnable = no
  TlsRequire = no
  MaximumBandwidthPerJob = 0
  AbsoluteJobTimeout = 0
  LmdbThreshold = 0
}

Messages {
   Name = "Standard"
   director = alx-msk-backup-01.alx = all,!skipped,!restored
}


> If this does not bring insight, try start the bareos-fd with debug output:
> 
> service bareos-fd stop
> /usr/sbin/bareos-fd -f -d 100

# /usr/sbin/bareos-fd -f -d 100 2>&1 | egrep -i "(mysql|ldap)"
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=bareos-fd-ldap.pyo len=18
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=BareosFdPluginLDAP.pyc len=22
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=bareos-fd-mysql.py len=18
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=bareos-fd-ldap.py len=17
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=BareosFdPluginLDAP.pyo len=22
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=BareosFdMySQLclass.py len=21
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=bareos-fd-mysql.pyc len=19
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=bareos-fd-mysql.pyo len=19
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=BareosFdPluginLDAP.py len=21
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=BareosFdMySQLclass.pyc len=22
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=bareos-fd-ldap.pyc len=18
alx-msk-backup-01 (50): plugins.c:299-0 Rejected plugin: want=-fd.so 
name=BareosFdMySQLclass.pyo len=22

All python plugins were rejected. I wonder why?

> It should display information, what plugins get loaded.
> Hope this helps.
> Jörg

Thank you for your help, Jörg!

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to