Página 2 de 3 PrimeiroPrimeiro 123 ÚltimoÚltimo
+ Responder ao Tópico



  1. Já viu as permissões do diretorio onde o pid é guardado pode ser apenas isso, no slackware temos problemas parecidos quando se instala o mysql pela primeira vez.

  2. #7
    fpmazzi
    cra ja vi sim, dei chmod 777 para todo mundo e nao resolveu..



  3. É pessoal tá difícil
    mas não vou desistir!!! :cry:

    Formatei e reinstalei o Fedora Core 1 novamente, mas os erros continuam!!!
    segue aki os erros apresenteados:


    [root@laboratorio root]# service named status
    rndc: connect failed: connection refused
    [root@laboratorio root]# service named stop
    Parando o named: rndc: connect failed: connection refused
    [FALHOU]
    [root@laboratorio root]# service named start
    Iniciando named: [ OK ]
    [root@laboratorio root]# service named status
    rndc: connect failed: connection refused
    [root@laboratorio root]#
    [root@laboratorio root]# tail -f /var/log/m
    maillog messages
    [root@laboratorio root]# tail -f /var/log/messages
    Jun 1 10:39:13 laboratorio gconfd (root-3475): Endereço "xml:readwrite:/root/.gconf" resolvido para uma fonte de configuração com permissões de escrita na posição 1
    Jun 1 10:39:13 laboratorio gconfd (root-3475): Endereço "xml:readonly:/etc/gconf/gconf.xml.defaults" resolvido para uma fonte de configuração somente para leitura na posição 2
    Jun 1 10:39:41 laboratorio named: desligar named failed
    Jun 1 09:39:45 laboratorio named[3541]: starting BIND 9.2.2-P3 -u named -t /var/named/chroot
    Jun 1 09:39:45 laboratorio named[3541]: using 1 CPU
    Jun 1 09:39:45 laboratorio named[3541]: loading configuration from '/etc/named.conf'
    Jun 1 10:39:45 laboratorio named: início de named succeeded
    Jun 1 09:39:45 laboratorio named[3541]: /etc/named.conf:41: missing ';' before 'allow-update'
    Jun 1 09:39:45 laboratorio named[3541]: loading configuration: failure
    Jun 1 09:39:45 laboratorio named[3541]: exiting (due to fatal error)

    [root@laboratorio root]# named -g
    Jun 01 10:41:00.582 starting BIND 9.2.2-P3 -g
    Jun 01 10:41:00.583 using 1 CPU
    Jun 01 10:41:00.587 loading configuration from '/etc/named.conf'
    Jun 01 10:41:00.615 /etc/named.conf:41: missing ';' before 'allow-update'
    Jun 01 10:41:00.615 loading configuration: failure
    Jun 01 10:41:00.615 exiting (due to fatal error)
    [root@laboratorio root]#

    por que está dando esses erros???

    Obs o bind esta rodando em chroot!!!!

    segue arquivos de configuracao:

    named.conf

    // generated by named-bootconf.pl

    options {
    directory "/var/named";
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;
    };

    //
    // a caching only nameserver config
    //
    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };
    zone "." IN {
    type hint;
    file "named.ca";
    };

    zone "localhost" IN {
    type master;
    file "localhost.zone";
    allow-update { none; };
    };

    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "named.local";
    allow-update { none; };
    };

    zone "thelast.com.br" IN {
    type master;
    file "thelast.com.br"
    allow-update { none; };
    };

    zone "0.168.192.in-addr.arpa" IN {
    type master;
    file "0.168.192";
    allow-update { none; };
    };
    include "/etc/rndc.key";
    ####################################
    named.local

    $TTL 86400
    @ IN SOA localhost. root.localhost. (
    1997022700 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    IN NS localhost.

    1 IN PTR localhost.

    ###############################
    localhost.zone

    $TTL 86400
    $ORIGIN localhost.
    @ 1D IN SOA @ root (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum

    1D IN NS @
    1D IN A 127.0.0.1
    #############################################
    thelast.com.br

    $TTL 86400
    @ IN SOA laboratorio.thelast.com.br. root.thelast.com.br. (
    2004101101 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    ;
    www IN CNAME laboratorio
    fp IN CNAME laboratorio
    pop IN CNAME laboratorio
    smtp IN CNAME laboratorio
    @ IN MX 5 laboratorio.thelast.com.br.
    @ IN NS 10
    laboratorio IN A 192.168.0.1

    ##############################################

    0.168.192

    $TTL 86400
    @ IN SOA laboratorio.thelast.com.br. root.thelast.com.br. (
    2004101101 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    @ IN NS laboratoio.thelast.com.br.

    1 IN PTR localhost.
    #############################################
    resolv.conf

    search thelast.com.br
    nameserver 192.168.0.1

    #######################################
    rndc.conf

    /*
    * Copyright (C) 2000, 2001 Internet Software Consortium.
    *
    * Permission to use, copy, modify, and distribute this software for any
    * purpose with or without fee is hereby granted, provided that the above
    * copyright notice and this permission notice appear in all copies.
    *
    * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
    * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
    * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
    * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
    * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
    * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
    * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
    * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    */

    /* $Id: rndc.conf,v 1.7 2001/01/09 21:40:45 bwelling Exp $ */

    /*
    * Sample rndc configuration file.
    */

    options {
    default-server localhost;
    default-key "rndckey";
    };

    server localhost {
    key "rndckey";
    };

    include "/etc/rndc.key";

    ###############################################
    rndc.key

    key "rndckey" {
    algorithm hmac-md5;
    secret "YMJSt2YEg0RFcNRk8I3V9oH3HjuujvqNqNM2aBpiWXQtXBCVrr7ZCCLuO6Bu";
    };

    ##############################################

    Obs: Os arquivos named.local; localhost.zone; thelast.com.br; 0.168.192 estão no diretorio /var/named/chroot/var/named/
    E os arquivos named.conf; rndc.conf e rndc.key estão no diretorio /var/named/chroot/etc/

    Quer puder dar uma força ai agredeço pois já faz quase um mes que tentando configurar isto mas ainda nao consegui!!!

  4. #9
    Super_Diaulas
    Jun 01 10:41:00.587 loading configuration from '/etc/named.conf'
    Jun 01 10:41:00.615 /etc/named.conf:41: missing ';' before 'allow-update'
    Jun 01 10:41:00.615 loading configuration: failure
    Jun 01 10:41:00.615 exiting (due to fatal error)

    Pode ver que está faltando ; no seu arquivo named.conf
    antes do item allw-update

    corrige isso e posta aqui de novo



  5. #10
    robsonzornitta
    pelo que eu vih ai em cima nos arquivos tah faltandu o allow-update e tambem definir a "key" que consta no arquivo rndc.key no named.conf

    fai o seguinte posta pra mim aqui:

    faixa de ip, dominio a ser criadu pra teste, e apelidos como www ftp etc.

    pra mim montar os arquivos de exemplos pra queim tiver cum duvidas!!!
    :good:






Tópicos Similares

  1. DNS no Fedora 3 com servidor web RH9
    Por Germano_Silva no fórum Servidores de Rede
    Respostas: 0
    Último Post: 28-05-2005, 22:47
  2. Configuracao de Dns no fedora core 3
    Por rodrigohewitt no fórum Servidores de Rede
    Respostas: 2
    Último Post: 28-04-2005, 10:49
  3. DNS no Fedora Core 2
    Por guardian_metal no fórum Servidores de Rede
    Respostas: 10
    Último Post: 05-01-2005, 08:34
  4. DNS no FEDORA
    Por rfdasilva1 no fórum Servidores de Rede
    Respostas: 3
    Último Post: 29-11-2004, 15:09
  5. DNS No Fedora
    Por Bruno no fórum Servidores de Rede
    Respostas: 3
    Último Post: 16-04-2004, 16:34

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L