On Mon, 2021-08-02 at 11:45 -0400, ve2cii--- via samba wrote:> Here is where we go away from the pack!! And another reason why > I went > down the road I did. > I am using Slackware-14.2. (This cannot be changed) > > I have an error in my samba log file as follows: (no module name > 'dns') > > ===================================================================> samba version 4.13.9 started. > Copyright Andrew Tridgell and the Samba Team 1992-2020 > [2021/08/02 11:30:40.446237, 0] > ../../source4/smbd/server.c:920(binary_smbd_main) > binary_smbd_main: samba: using 'prefork' process model > [2021/08/02 11:30:40.536541, 0] > ../../lib/util/become_daemon.c:136(daemon_ready) > daemon_ready: daemon 'samba' finished starting up and ready to > serve > connections > [2021/08/02 11:30:40.877388, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > /usr/sbin/samba_dnsupdate: Traceback (most recent call last): > [2021/08/02 11:30:40.877472, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > /usr/sbin/samba_dnsupdate: File "/usr/sbin/samba_dnsupdate", > line > 56, in <module> > [2021/08/02 11:30:40.877599, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > /usr/sbin/samba_dnsupdate: from samba.dnsresolver import > DNSResolver > [2021/08/02 11:30:40.877683, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > /usr/sbin/samba_dnsupdate: File > "/usr/lib/python3.9/site-packages/samba/dnsresolver.py", line 20, in > <module> > [2021/08/02 11:30:40.877827, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > /usr/sbin/samba_dnsupdate: import dns.resolver > [2021/08/02 11:30:40.877878, 0] > ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) > /usr/sbin/samba_dnsupdate: ModuleNotFoundError: No module named > 'dns' > [2021/08/02 11:30:40.899410, 0] > ../../source4/dsdb/dns/dns_update.c:86(dnsupdate_nameupdate_done) > dnsupdate_nameupdate_done: Failed DNS update with exit code 1 > > ====================================================================> => > I have: (installed) > > root at dns2:/var/adm/samba# python3 --version > Python 3.9.5 > root at dns2:/var/adm/samba# > > Plus: (installed) > > dnspython-1.12.0-i486-1_SBo.tgzHave you installed python3-dnspython ? Slackware is a bit unrepresented on this list, there is/was a person that used (something to do with the Ohio state police retirement fund if I recall correctly) Samba on Slackware. We do have a wiki page for the packages required to build Samba: https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba Unfortunately it doesn't mention Slackware, but it should provide pointers.> > I tried downloading and compiling the latest dnspython-2.2.0 and > I > get the same > error. Bug perhaps?? Test machines have the same error and are > working > properly. > > As far as upgrading samba, I can do that pretty easily once I > get > this one working > properly. I can go up to samba-4-13.9. 4-14.x won't compile on my > Slackware. >Never tried building Samba on Slackware, but all versions should build, as long as all the required files are installed. Rowland
?? Ok this is where I got confused. I was under the impression that dnspython and python3-dnspython were the same package. Any internet search for python3-dnspython takes me to dnspython.? Weird!! When I do a search for python3-dnspython on the slackware site it takes me to dnspython.? So now the question is If I go here: https://packages.debian.org/sid/python3-dnspython Both packages seem to be the same thing. If I try and download the source I get dnspython.? Can you clarify this?? 1)? can I make python3-dnspython from debian install and on slackware 2)? do I need to fix this function?? If I can't fix the dns error can I live with it and just update the file when I add machines?? We are going to have a fixed number of machines over here. On 8/2/21 12:03, Rowland Penny via samba wrote:> On Mon, 2021-08-02 at 11:45 -0400, ve2cii--- via samba wrote: >> Here is where we go away from the pack!! And another reason why >> I went >> down the road I did. >> I am using Slackware-14.2. (This cannot be changed) >> >> I have an error in my samba log file as follows: (no module name >> 'dns') >> >> ===================================================================>> samba version 4.13.9 started. >> Copyright Andrew Tridgell and the Samba Team 1992-2020 >> [2021/08/02 11:30:40.446237, 0] >> ../../source4/smbd/server.c:920(binary_smbd_main) >> binary_smbd_main: samba: using 'prefork' process model >> [2021/08/02 11:30:40.536541, 0] >> ../../lib/util/become_daemon.c:136(daemon_ready) >> daemon_ready: daemon 'samba' finished starting up and ready to >> serve >> connections >> [2021/08/02 11:30:40.877388, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: Traceback (most recent call last): >> [2021/08/02 11:30:40.877472, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: File "/usr/sbin/samba_dnsupdate", >> line >> 56, in <module> >> [2021/08/02 11:30:40.877599, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: from samba.dnsresolver import >> DNSResolver >> [2021/08/02 11:30:40.877683, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: File >> "/usr/lib/python3.9/site-packages/samba/dnsresolver.py", line 20, in >> <module> >> [2021/08/02 11:30:40.877827, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: import dns.resolver >> [2021/08/02 11:30:40.877878, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: ModuleNotFoundError: No module named >> 'dns' >> [2021/08/02 11:30:40.899410, 0] >> ../../source4/dsdb/dns/dns_update.c:86(dnsupdate_nameupdate_done) >> dnsupdate_nameupdate_done: Failed DNS update with exit code 1 >> >> ====================================================================>> =>> >> I have: (installed) >> >> root at dns2:/var/adm/samba# python3 --version >> Python 3.9.5 >> root at dns2:/var/adm/samba# >> >> Plus: (installed) >> >> dnspython-1.12.0-i486-1_SBo.tgz > Have you installed python3-dnspython ? > > Slackware is a bit unrepresented on this list, there is/was a person > that used (something to do with the Ohio state police retirement fund > if I recall correctly) Samba on Slackware. > > We do have a wiki page for the packages required to build Samba: > https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba > > Unfortunately it doesn't mention Slackware, but it should provide > pointers. > >> I tried downloading and compiling the latest dnspython-2.2.0 and >> I >> get the same >> error. Bug perhaps?? Test machines have the same error and are >> working >> properly. >> >> As far as upgrading samba, I can do that pretty easily once I >> get >> this one working >> properly. I can go up to samba-4-13.9. 4-14.x won't compile on my >> Slackware. >> > Never tried building Samba on Slackware, but all versions should build, > as long as all the required files are installed. > > Rowland > > >
?? I downloaded: python3-dnspython_2.0.0-1_all.deb I then converted it to slackware. I installed it. Restarted samba and got the same error. On 8/2/21 12:03, Rowland Penny via samba wrote:> On Mon, 2021-08-02 at 11:45 -0400, ve2cii--- via samba wrote: >> Here is where we go away from the pack!! And another reason why >> I went >> down the road I did. >> I am using Slackware-14.2. (This cannot be changed) >> >> I have an error in my samba log file as follows: (no module name >> 'dns') >> >> ===================================================================>> samba version 4.13.9 started. >> Copyright Andrew Tridgell and the Samba Team 1992-2020 >> [2021/08/02 11:30:40.446237, 0] >> ../../source4/smbd/server.c:920(binary_smbd_main) >> binary_smbd_main: samba: using 'prefork' process model >> [2021/08/02 11:30:40.536541, 0] >> ../../lib/util/become_daemon.c:136(daemon_ready) >> daemon_ready: daemon 'samba' finished starting up and ready to >> serve >> connections >> [2021/08/02 11:30:40.877388, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: Traceback (most recent call last): >> [2021/08/02 11:30:40.877472, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: File "/usr/sbin/samba_dnsupdate", >> line >> 56, in <module> >> [2021/08/02 11:30:40.877599, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: from samba.dnsresolver import >> DNSResolver >> [2021/08/02 11:30:40.877683, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: File >> "/usr/lib/python3.9/site-packages/samba/dnsresolver.py", line 20, in >> <module> >> [2021/08/02 11:30:40.877827, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: import dns.resolver >> [2021/08/02 11:30:40.877878, 0] >> ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler) >> /usr/sbin/samba_dnsupdate: ModuleNotFoundError: No module named >> 'dns' >> [2021/08/02 11:30:40.899410, 0] >> ../../source4/dsdb/dns/dns_update.c:86(dnsupdate_nameupdate_done) >> dnsupdate_nameupdate_done: Failed DNS update with exit code 1 >> >> ====================================================================>> =>> >> I have: (installed) >> >> root at dns2:/var/adm/samba# python3 --version >> Python 3.9.5 >> root at dns2:/var/adm/samba# >> >> Plus: (installed) >> >> dnspython-1.12.0-i486-1_SBo.tgz > Have you installed python3-dnspython ? > > Slackware is a bit unrepresented on this list, there is/was a person > that used (something to do with the Ohio state police retirement fund > if I recall correctly) Samba on Slackware. > > We do have a wiki page for the packages required to build Samba: > https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba > > Unfortunately it doesn't mention Slackware, but it should provide > pointers. > >> I tried downloading and compiling the latest dnspython-2.2.0 and >> I >> get the same >> error. Bug perhaps?? Test machines have the same error and are >> working >> properly. >> >> As far as upgrading samba, I can do that pretty easily once I >> get >> this one working >> properly. I can go up to samba-4-13.9. 4-14.x won't compile on my >> Slackware. >> > Never tried building Samba on Slackware, but all versions should build, > as long as all the required files are installed. > > Rowland > > >