ArashiInteractive
Verified User
- Joined
- May 25, 2021
- Messages
- 27
Hi all,
As the subject states, I've just setup a new VPS running Ubuntu 22.04LTS and DirectAdmin 1.650, had errors during setup and now DA continually reminds me that 'named' is down and gives errors when I try to create new users/domains on the server.
How did I get here?
- Purchase VPS with Ubuntu 22.04LTS (4 vcore, 8gig RAM, 160gig SSD - should it matter)
- Try to install install script from: https://docs.directadmin.com/getting-started/installation/installguide.html
- This gave an error (forgot to write that one down, but I got around it by doing wget https://download.directadmin.com/setup.sh, then bash setup.sh 'supersecretlicensekeyhere'
- First time installing DA myself (previously it came pre-installed for me), was surprised that a few minutes later I got a message saying I could log in now.
- Logged in using the onscreen details to find a notice message waiting for me stating: The service 'named' on <name> is currently down
- Logging in with SSH and running systemctl status named returns Unit named.service could not be found
- Quick Google to find that this apparently sometimes happens and not much else
- Come to forums to hope someone has a better answer than that
So, as I said, it's a new install/server, no customers on here yet, thus now is the time to fully break it. Should DA have installed named if it's needed? If I were to manually install with sudo apt install named, would that magically fix all the things? Would I be better off re-installing the VPS fresh and seeing if it works the second time around? If this is the recommendation, would it be advisable to check that named is there and running before installing DA? Without starting a holy war, is this more of an Ubuntu issue? My other server is Ubuntu 20.04 LTS, it came pre-installed but not aware of any such issues over there.
When I added a new user, this is the output:
Could not write domain's db file in /etc/bind
Could not add the domain's zone: Error writing /etc/bind/example.com.db.temp.169766.ePUaxxc99L : Cannot write to /etc/bind/example.com.db.temp.169766.ePUaxxc99L: Error opening /etc/bind/example.com.db.temp.169766.ePUaxxc99LXqfwcw for writing: No such file or directory
Error reading /etc/bind/example.com.db.temp.169766.ePUaxxc99L. Check the error.log for information.
Can't get file lock on /etc/bind/named.conf
Error writing /etc/bind/example.com.db.temp.169766.ePUaxxc99L : Cannot write to /etc/bind/example.com.db.temp.169766.ePUaxxc99L: Error opening /etc/bind/example.com.db.temp.169766.ePUaxxc99LXqfwcw for writing: No such file or directory
Error reading /etc/bind/example.com.db.temp.169766.ePUaxxc99L. Check the error.log for information.
Can't get file lock on /etc/bind/named.conf
Which makes sense since named doesn't exist in my little world, apparently.
Any thoughts or advise to share?
Thanks in advance.
As the subject states, I've just setup a new VPS running Ubuntu 22.04LTS and DirectAdmin 1.650, had errors during setup and now DA continually reminds me that 'named' is down and gives errors when I try to create new users/domains on the server.
How did I get here?
- Purchase VPS with Ubuntu 22.04LTS (4 vcore, 8gig RAM, 160gig SSD - should it matter)
- Try to install install script from: https://docs.directadmin.com/getting-started/installation/installguide.html
- This gave an error (forgot to write that one down, but I got around it by doing wget https://download.directadmin.com/setup.sh, then bash setup.sh 'supersecretlicensekeyhere'
- First time installing DA myself (previously it came pre-installed for me), was surprised that a few minutes later I got a message saying I could log in now.
- Logged in using the onscreen details to find a notice message waiting for me stating: The service 'named' on <name> is currently down
- Logging in with SSH and running systemctl status named returns Unit named.service could not be found
- Quick Google to find that this apparently sometimes happens and not much else
- Come to forums to hope someone has a better answer than that
So, as I said, it's a new install/server, no customers on here yet, thus now is the time to fully break it. Should DA have installed named if it's needed? If I were to manually install with sudo apt install named, would that magically fix all the things? Would I be better off re-installing the VPS fresh and seeing if it works the second time around? If this is the recommendation, would it be advisable to check that named is there and running before installing DA? Without starting a holy war, is this more of an Ubuntu issue? My other server is Ubuntu 20.04 LTS, it came pre-installed but not aware of any such issues over there.
When I added a new user, this is the output:
Could not write domain's db file in /etc/bind
Could not add the domain's zone: Error writing /etc/bind/example.com.db.temp.169766.ePUaxxc99L : Cannot write to /etc/bind/example.com.db.temp.169766.ePUaxxc99L: Error opening /etc/bind/example.com.db.temp.169766.ePUaxxc99LXqfwcw for writing: No such file or directory
Error reading /etc/bind/example.com.db.temp.169766.ePUaxxc99L. Check the error.log for information.
Can't get file lock on /etc/bind/named.conf
Error writing /etc/bind/example.com.db.temp.169766.ePUaxxc99L : Cannot write to /etc/bind/example.com.db.temp.169766.ePUaxxc99L: Error opening /etc/bind/example.com.db.temp.169766.ePUaxxc99LXqfwcw for writing: No such file or directory
Error reading /etc/bind/example.com.db.temp.169766.ePUaxxc99L. Check the error.log for information.
Can't get file lock on /etc/bind/named.conf
Which makes sense since named doesn't exist in my little world, apparently.
Any thoughts or advise to share?
Thanks in advance.