Hola Jose María, Ya habia comprobado que no estubiera arrancado previamente, y usando el named me devuelve exactamente el mismo error: atalaya:~ # /etc/init.d/named start Starting name server BIND 9 startproc: exit status of parent of /usr/sbin/named: 1 failed Este es el codigo de mi named: ###################################################### #! /bin/sh # Copyright (c) 1995-2003 SuSE Linux AG, Nuernberg, Germany # # init.d/named # ### BEGIN INIT INFO # Provides: named # Required-Start: $network $remote_fs $syslog # Required-Stop: # Default-Start: 3 5 # Default-Stop: # Description: Starts internet domain name server (DNS) BIND 9 ### END INIT INFO . /etc/rc.status rc_reset SYSCONFIG_FILE="/etc/sysconfig/named" for configfile in ${SYSCONFIG_FILE} /etc/named.conf; do if [ ! -f ${configfile} ]; then echo -n "Name server configuration file ${configfile} does not exist. " # Tell the user this has skipped rc_status -s exit 6 fi done . /etc/sysconfig/named if [ x"${NAMED_RUN_CHROOTED}" = x"yes" ]; then CHROOT_PREFIX="/var/lib/named" NAMED_ARGS="${NAMED_ARGS} -t ${CHROOT_PREFIX}" else CHROOT_PREFIX="" fi NAMED_BIN="/usr/sbin/named" NAMED_CHECKCONF_BIN="/usr/sbin/named-checkconf" NAMED_PID="${CHROOT_PREFIX}/var/run/named/named.pid" NAMED_CONF="/etc/named.conf" RNDC_BIN="/usr/sbin/rndc" if [ ! -x ${NAMED_BIN} ] ; then echo -n "Name server, ${NAMED_BIN} not installed! " # Tell the user this has skipped rc_status -s exit 5 fi function warnMessage() { tput bold echo -en "\nWarning: " tput sgr0 echo -e $1 } function SuSEconfigNamed { test "${suseconfigCalled}" = "yes" && return echo /sbin/SuSEconfig -module named # we want to start it one time only suseconfigCalled="yes" } # Check if all needed configuration files exist and copy these files relativly # to the chroot directory if 'named' runs chrooted. function checkAndCopyConfigFiles { # check for /etc/rndc.key if [ ! -f /etc/rndc.key ]; then warnMessage "File /etc/rndc.key not found. Creating it. " /usr/sbin/rndc-confgen -a -b 512 -r /dev/urandom chmod 0640 /etc/rndc.key chown root:named /etc/rndc.key fi local suseconfigCalled="no" # handle include files for configfile in /etc/named.conf.include ${NAMED_CONF_INCLUDE_FILES}; do # prepend the default include directory if the filename is # relative test "${configfile:0:1}" = "/" || configfile="/etc/named.d/${configfile}" if [ ! -f ${configfile} ]; then case ${configfile} in /etc/named.conf.include) warnMessage "File, ${configfile} not found. Creating it. " SuSEconfigNamed ;; *) grep -qe "^[[:space:]]*include[[:space:]]*\"${configfile}\"" /etc/named.conf.include && \ SuSEconfigNamed || \ warnMessage "File, ${configfile} not found. Skipping.\nPlease check the setting of NAMED_CONF_INCLUDE_FILES in /etc/sysconfig/named." continue ;; esac fi if [ x"${NAMED_RUN_CHROOTED}" = x"yes" ]; then makeDestDir cp -a ${configfile} ${CHROOT_PREFIX}/${configfile%/*} fi done # handle configuration files if [ x"${NAMED_RUN_CHROOTED}" = x"yes" ]; then for configfile in /etc/{localtime,named.conf,rndc.key} ${NAMED_ADD_CONF_FILES}; do if [ ! -e ${configfile} ]; then warnMessage "File ${configfile} not found. Skipping. " continue fi makeDestDir cp -a ${configfile} ${CHROOT_PREFIX}/${configfile%/*} done fi } # Check the syntax of our 'named' configuration. namedConfChecked="no" function namedCheckConf { test ${namedConfChecked} = "yes" && return if ! ${NAMED_CHECKCONF_BIN} >/dev/null; then checkAndCopyConfigFiles if ! ${NAMED_CHECKCONF_BIN}; then rc_status -s rc_failed 6 rc_exit fi fi namedConfChecked="yes" } export PATH="/sbin:/usr/sbin:/bin:/usr/bin" case "$1" in start) echo -n "Starting name server BIND 9 " checkproc -p ${NAMED_PID} ${NAMED_BIN} case $? in 0) echo -n "- Warning: named already running! " ;; 1) echo -n "- Warning: ${NAMED_PID} exists! " ;; esac checkAndCopyConfigFiles namedCheckConf startproc -p ${NAMED_PID} ${NAMED_BIN} ${NAMED_ARGS} -u named rc_status -v ;; stop) echo -n "Shutting down name server BIND 9 " checkproc -p ${NAMED_PID} ${NAMED_BIN} || echo -n "- Warning: named not running! " if ${RNDC_BIN} status &>/dev/null; then ${RNDC_BIN} stop else killproc -p ${NAMED_PID} -TERM ${NAMED_BIN} fi ret=$? # let's wait, because # 1) trying to start named before it has terminated can leave # us without a running named... # 2) making sure that pending updates are written to zone files is good # before trying to modify them externally timer=1; timeout=30 while checkproc -p ${NAMED_PID} ${NAMED_BIN} &>/dev/null; do case $timer in 1) echo -n >&2 " waiting for named to shut down ";; esac echo -n . if [ $((timer++)) -gt $timeout ]; then echo >&2 " named still appears to be running after $timeout seconds, sending SIGTERM" killproc -p ${NAMED_PID} -TERM ${NAMED_BIN} break fi sleep 1 done rc_failed $ret rc_status -v ;; try-restart) namedCheckConf $0 status >/dev/null && $0 restart rc_status ;; restart) namedCheckConf $0 stop $0 start rc_status ;; force-reload|reload) echo -n "Reloading name server BIND 9 " checkproc -p ${NAMED_PID} ${NAMED_BIN} || echo "- Warning: named not running! " checkAndCopyConfigFiles namedCheckConf ${RNDC_BIN} status &>/dev/null if [ $? -ne 0 ]; then killproc -p ${NAMED_PID} -HUP ${NAMED_BIN} else ${RNDC_BIN} reload fi rc_status -v ;; status) echo -n "Checking for nameserver BIND 9 " ${RNDC_BIN} status &>/dev/null if [ $? -ne 0 ]; then checkproc -p ${NAMED_PID} ${NAMED_BIN} else echo "" ${RNDC_BIN} status && echo -en "${esc}[1A" fi rc_status -v ;; probe) test ${NAMED_CONF} -nt ${NAMED_PID} && echo reload ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" exit 1 ;; esac rc_exit -- *Aythami José Melián Perdomo* /Administrador de Sistemas y Redes/ email: aythami.melian@gmail.com URL: http://www.aythami.com/ Favorito 01: http://www.atalayadigital.com/