An error has occurred - sbin/service named start 2>&1

luizccm

Verified User
Joined
Oct 24, 2004
Messages
41
Location
Brazil, Brasilia D.F
Hello,
after run ./builder all d, all the sites are out of service. is there some script to update and do it to solve this problem?
Thanks,
Luiz:(

An error has occurred

Details

/sbin/service named start 2>&1
 
If I unsterstand it correctly named doesn't work, and your DNS may be expired. Try starting named in ssh so you can see what's going wrong.

/sbin/service named start
 
I just looked and it seems theres no debug mode for named, so you could try looking in your log files. /var/log/syslog for example.
 
Hello,
I do not remind myself the command, but there is a command that updates all the names and IP`s of the server, solving this problem.
Thanks,
Luiz
 
I already ran script (./set_permissions.sh all) but it did not solve the problem

As I can reestablish the property permissions of the files and folder installed by directadmin (diradmin:diradmin)?

Oct 1 13:29:01 topgyn named[19834]: loading configuration from '/etc/named.conf'
Oct 1 13:29:01 topgyn named[19834]: /etc/named.conf:41: open: /etc/rndc.key: permission denied
Oct 1 13:29:01 topgyn named[19834]: loading configuration: permission denied
Oct 1 13:29:01 topgyn named[19834]: exiting (due to fatal error)
Oct 1 13:29:11 topgyn named[19857]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 -u named
Oct 1 13:29:11 topgyn named[19857]: adjusted limit on open files from 65535 to 1048576
Oct 1 13:29:11 topgyn named[19857]: found 2 CPUs, using 2 worker threads
Oct 1 13:29:11 topgyn named[19857]: using up to 4096 sockets
Oct 1 13:29:12 topgyn named[19857]: loading configuration from '/etc/named.conf'
Oct 1 13:29:12 topgyn named[19857]: /etc/named.conf:41: open: /etc/rndc.key: permission denied
Oct 1 13:29:12 topgyn named[19857]: loading configuration: permission denied
Oct 1 13:29:12 topgyn named[19857]: exiting (due to fatal error)
Oct 1 13:30:01 topgyn named[19879]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 -u named
Oct 1 13:30:01 topgyn named[19879]: adjusted limit on open files from 65535 to 1048576
Oct 1 13:30:01 topgyn named[19879]: found 2 CPUs, using 2 worker threads
Oct 1 13:30:01 topgyn named[19879]: using up to 4096 sockets
Oct 1 13:30:01 topgyn named[19879]: loading configuration from '/etc/named.conf'
Oct 1 13:30:01 topgyn named[19879]: /etc/named.conf:41: open: /etc/rndc.key: permission denied
Oct 1 13:30:01 topgyn named[19879]: loading configuration: permission denied
Oct 1 13:30:01 topgyn named[19879]: exiting (due to fatal error)
 
Last edited:
Just run:

chown named:named /etc/rndc.key
 
Last edited:
Back
Top