Traceback (most recent call last):


 "./create_db.py", line 11, in <module>

from app import d


 "/opt/PowerDNS-Admin-master/app/__init__.py", line 95, in <module>

from app import views, models


 "/opt/PowerDNS-Admin-master/app/views.py", line 20, in <module>

from .models import User, Domain, Record, Server, History, Anonymous, Setting, DomainSetting, DomainTemplate, DomainTemplateRecord


 "/opt/PowerDNS-Admin-master/app/models.py", line 3, in <module>

import ldap.filter
ModuleNotFoundError: No module named 'ldap.filter'

Traceback (most recent call last):

 "/usr/local/bin/salt-run", line 10, in <module>

 "/usr/lib/pymodules/python2.7/salt/scripts.py", line 95, in salt_run

 "/usr/lib/pymodules/python2.7/salt/cli/__init__.py", line 362, in run

 "/usr/lib/pymodules/python2.7/salt/runner.py", line 218, in run

 "/usr/lib/pymodules/python2.7/salt/runner.py", line 125, in cmd

 "/usr/lib/pymodules/python2.7/salt/runners/state.py", line 85, in orchestrate

 "/usr/lib/pymodules/python2.7/salt/modules/state.py", line 394, in sls

 "/usr/lib/pymodules/python2.7/salt/state.py", line 1712, in call_high

 "/usr/lib/pymodules/python2.7/salt/state.py", line 1436, in call_chunks

 "/usr/lib/pymodules/python2.7/salt/state.py", line 1657, in call_chunk

 "/usr/lib/pymodules/python2.7/salt/state.py", line 1412, in call

 "/usr/lib/pymodules/python2.7/salt/state.py", line 578, in load_modules

 "/usr/lib/pymodules/python2.7/salt/loader.py", line 116, in minion_mods

 "/usr/lib/pymodules/python2.7/salt/loader.py", line 650, in gen_functionsOSError: [Errno 24] Too many open files: '/usr/lib/pymodules/python2.7/salt/modules'