Submitted by adamjedgar on Mon, 05/01/2017 - 00:49 Pro Licensee
Hi guys, I have inadvertantly removed bind9 from within webmin. I tried to reinstall it using webmin however it just kept returning an error saying it couldnt write too /tmp/.webmin. I altered the permissions on both directories to 1777 all to no avail. I then went into shell directly and installed bind9 using "apt-get install bind9 bind9utils bind9-doc"
After going to to webmin...and even resetting and logging out and back in again...i still cannot see the bind9dns server.
I am not sure what to do from here?
kind regards Adam
Status:
Closed (fixed)
Comments
Submitted by andreychek on Mon, 05/01/2017 - 10:29 Comment #1
Howdy -- when looking for BIND is Webmin, what is it that you're not seeing there? Are you saying that the "BIND" menu entry under Webmin -> Servers is missing altogether?
Also, it sounds like we may need to double-check some permissions and settings there, as you should never receive an error writing to the temp directory.
What is the output of these commands:
ls -ld /tmp/
ls -ld /tmp/.webmin
quota -v root
quota -g root
Lastly, what user are you logging into Webmin with?
Submitted by adamjedgar on Wed, 05/03/2017 - 17:49 Pro Licensee Comment #2
yes the entire module had dissapeared and i could not longer find it in any menu.
I ended up reinstalling webmin/virtualmin as this was the fastest way for me to get it back again. I am not sure how i managed to completely remove all reference to BIND from inside webmin but i did.
What i have realised is that perhaps before trying to disable bind using the method you guys outline in the documentation, one should stop the BIND server first. I think i removed the module package completely using webmin?
Anyway to answer your questions above...here are my current settings on the latest install
ls -ld /tmp/ drwxrwxrwt 10 root root 4096 May 3 22:45 /tmp
ls -ld /tmp/.webmin drwxr-xr-x 2 root root 4096 May 3 22:40 /tmp/.webmin
quota -v root Disk quotas for user root (uid 0): Filesystem blocks quota limit grace files quota limit grace /dev/sda1 2201860 0 0 151875 0 0
quota -g root Disk quotas for group root (gid 0): none
kind regards Adam
Submitted by andreychek on Wed, 05/03/2017 - 22:06 Comment #3
If you're looking to disable BIND, what I'd suggest doing are these two step --
First, I'd go into System Settings -> Features and Plugins, and then I'd disable the BIND DNS Domain option.
Second, I'd go into Webmin -> System -> Bootup and Shutdown, and there I'd disable the process.
You mentioned that you reinstalled Webmin and Virtualmin -- are things working properly for you now? How can we help?
Submitted by adamjedgar on Thu, 05/11/2017 - 06:07 Pro Licensee Comment #4
yep all working well now.
Submitted by JamieCameron on Thu, 05/11/2017 - 14:16 Comment #5
Submitted by IssueBot on Thu, 05/25/2017 - 14:30 Comment #6
Automatically closed - issue fixed for 2 weeks with no activity.