LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   named / BIND won't start (https://www.linuxquestions.org/questions/linux-newbie-8/named-bind-wont-start-466871/)

TruthSeeker 07-23-2006 03:08 PM

named / BIND won't start
 
i'm not sure why, named (bind) won't start in anyway, already even tried to reset the .conf more or less to default. it's probably some more advanced problem since everything was fine in server till last night and it simply stopped without no one touching it, can't restart in ssh bash, cpanel won't restart it either

i've just posted this here cause im a bit newb and i dont know how to debug this, like startup logs / error messages etc.

where can i find this info? :/

details:

apache is up and runnin, can access ftp and http (ip only) i tried up2date named but up2date won't work either.

-----

root@scorpion [~]# up2date -l
Error communicating with server. The message was:
Temporary failure in name resolution
root@scorpion [~]# dig linuxquestions.org

; <<>> DiG 9.2.4 <<>> linuxquestions.org
;; global options: printcmd
;; connection timed out; no servers could be reached

-----

The server is rde i believe

macemoneta 07-23-2006 03:29 PM

Take a look at /var/log/messages. If BIND won't start, it usually explains why in the log. If you are running SELinux, make sure your policy (heck, your whole system)is up to date.

TruthSeeker 07-23-2006 03:46 PM

Jul 23 21:43:58 scorpion named[3834]: starting BIND 9.2.4 -u named
Jul 23 21:43:58 scorpion named[3834]: using 1 CPU
Jul 23 21:43:58 scorpion named[3834]: loading configuration: failure
Jul 23 21:43:58 scorpion named[3834]: exiting (due to fatal error)
Jul 23 21:43:58 scorpion named: named startup failed

ok now i know,
/etc/named.conf ?
in there a named.conf.default ?

tanx in advance ^^

ps: got cpanel on machine (i heard cpanel is mean to the system sometimes)

macemoneta 07-23-2006 04:04 PM

Try it with 'setenforce 0' (as root) to temporarily disable SELinux. If that works, then you can re-enable SELinux with 'setenforce 1', and update your policy with:

yum -y update selinux-policy-targeted

Otherwise, post your /etc/named.conf (which should be the same as your /var/named/chroot/etc/named.conf).

TruthSeeker 07-23-2006 04:41 PM

please elaborate 'setenforce 0' where do i set it?
a bash command? no.
a setting somewhere? a var?
im sorry, kinda newb in bash/linux commands / properties
i really still only use windows like linux and some
real basic commands, so on ssh to server, im still a baby ^^

ps: yum is not installed :/ , tough i could install it (try) oO

macemoneta 07-24-2006 08:40 AM

The setenforce command is a root command on Fedora. It is issued at the command line in a root terminal. To get a root terminal, open a terminal window and issue the command:

su - root

The space-dash-space is an important option that causes the root session to use the proper environment, including the path to the system commands, like setenforce.


All times are GMT -5. The time now is 10:49 AM.