Can't start Bind open: /etc/named.conf: permission denied - Centos 7Systemd service start errorHow do I...

US visa is under administrative processing, I need the passport back ASAP

Apply MapThread to all but one variable

Meaning of Bloch representation

How to creep the reader out with what seems like a normal person?

Examples of subgroups where it's nontrivial to show closure under multiplication?

Will tsunami waves travel forever if there was no land?

How can I place the product on a social media post better?

Do I have to worry about players making “bad” choices on level up?

How exactly does Hawking radiation decrease the mass of black holes?

What is the most expensive material in the world that could be used to create Pun-Pun's lute?

Why do Computer Science majors learn Calculus?

How did Captain America manage to do this?

Reducing vertical space in stackrel

Don’t seats that recline flat defeat the purpose of having seatbelts?

Why was the Spitfire's elliptical wing almost uncopied by other aircraft of World War 2?

Packing rectangles: Does rotation ever help?

Do I have an "anti-research" personality?

How can I practically buy stocks?

Size of electromagnet needed to replicate Earth's magnetic field

Does holding a wand and speaking its command word count as V/S/M spell components?

Why is it that the natural deduction method can't test for invalidity?

What is Niska's accent?

Is there any limitation with Arduino Nano serial communication distance?

Seemingly unused edef prior to an ifx mysteriously affects the outcome of the ifx. Why?



Can't start Bind open: /etc/named.conf: permission denied - Centos 7


Systemd service start errorHow do I figure out why systemctl service “systemd-modules-load” fails?Unable to move MySQL data to external driveIs It Possible To Have Bind Answer Authoritatively For Local Domains?Failed at step EXEC spawning: No such file or directoryIcinga2 monitoring client is not workingStarting Tomcat 8.5 using systemd on Centos 7What is causing the failure in the msodbcsql instalation and how can I solve it?Error bluetooth with systemtclParrot Security OS - The MATE Panel V1,20.5 — Menu Bar _ a custom menu bar (EDIT MENUS ISSUE)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















so I'm really new on this and was following this tutorial to set up bind, and up to 4:50 I was having no problems, I could ping, use nslookup and had internet connection with the dns server, then we had to add the zones and create the zone files (just creating them), perfect, I restart to see if there's any trouble (I use a virtual machine btw), then i could no longer ping, use nslookup and i didn't even have internet connection.
This is what I got using systemctl status



Redirecting to /bin/systemctl status  -l named.service
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor prese$
Active: failed (Result: exit-code) since jue 2019-04-25 23:14:30 -04; 3min 3$
Process: 3355 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "y$

abr 25 23:14:30 linux bash[3355]: _default/0.168.192.in-addr.arpa/IN: bad zone
abr 25 23:14:30 linux bash[3355]: zone localhost.localdomain/IN: loaded serial 0
abr 25 23:14:30 linux bash[3355]: zone localhost/IN: loaded serial 0
abr 25 23:14:30 linux bash[3355]: zone
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.$
abr 25 23:14:30 linux bash[3355]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial$
abr 25 23:14:30 linux bash[3355]: zone 0.in-addr.arpa/IN: loaded serial 0
abr 25 23:14:30 linux systemd[1]: named.service: control process exited, code=e$
abr 25 23:14:30 linux systemd[1]: Failed to start Berkeley Internet Name Domain$
abr 25 23:14:30 linux systemd[1]: Unit named.service entered failed state.
abr 25 23:14:30 linux systemd[1]: named.service failed.


I thought this was because of the empty zone files so I deleted the zones from named.conf, tried to restart with service restart named but got (again):



Failed to start BIND : Redirecting to /bin/systemctl start named.service Job 
for named.service failed because the control process exited with error code.
See "systemctl status named.service" and "journalctl -xe" for details.


So I did



● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since jue 2019-04-25 23:25:30 -04; 1min 3s ago
Process: 5557 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=1/FAILURE)
Process: 5552 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)

abr 25 23:25:30 linux named[5559]: found 2 CPUs, using 2 worker threads
abr 25 23:25:30 linux named[5559]: using 2 UDP listeners per interface
abr 25 23:25:30 linux named[5559]: using up to 21000 sockets
abr 25 23:25:30 linux named[5559]: loading configuration from '/etc/named.conf'
abr 25 23:25:30 linux named[5559]: open: /etc/named.conf: permission denied
abr 25 23:25:30 linux named[5559]: loading configuration: permission denied
abr 25 23:25:30 linux systemd[1]: named.service: control process exited, code=exited status=1
abr 25 23:25:30 linux systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
abr 25 23:25:30 linux systemd[1]: Unit named.service entered failed state.
abr 25 23:25:30 linux systemd[1]: named.service failed.


It's a permission problem but it worked perfectly before so I'm at a loss.



This is what I get doing ls -l /etc/named.conf:



-rw-r-----. 1 root root 1808 abr 25 15:13 /etc/named.conf


Not sure if it helps but here's the named.conf



options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
recursing-file "/var/named/data/named.recursing";
secroots-file "/var/named/data/named.secroots";
allow-query { localhost; };

recursion yes;

dnssec-enable yes;
dnssec-validation yes;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";

pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";


Is there a solution for this? Thanks.










share|improve this question







New contributor




Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    so I'm really new on this and was following this tutorial to set up bind, and up to 4:50 I was having no problems, I could ping, use nslookup and had internet connection with the dns server, then we had to add the zones and create the zone files (just creating them), perfect, I restart to see if there's any trouble (I use a virtual machine btw), then i could no longer ping, use nslookup and i didn't even have internet connection.
    This is what I got using systemctl status



    Redirecting to /bin/systemctl status  -l named.service
    ● named.service - Berkeley Internet Name Domain (DNS)
    Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor prese$
    Active: failed (Result: exit-code) since jue 2019-04-25 23:14:30 -04; 3min 3$
    Process: 3355 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "y$

    abr 25 23:14:30 linux bash[3355]: _default/0.168.192.in-addr.arpa/IN: bad zone
    abr 25 23:14:30 linux bash[3355]: zone localhost.localdomain/IN: loaded serial 0
    abr 25 23:14:30 linux bash[3355]: zone localhost/IN: loaded serial 0
    abr 25 23:14:30 linux bash[3355]: zone
    1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.$
    abr 25 23:14:30 linux bash[3355]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial$
    abr 25 23:14:30 linux bash[3355]: zone 0.in-addr.arpa/IN: loaded serial 0
    abr 25 23:14:30 linux systemd[1]: named.service: control process exited, code=e$
    abr 25 23:14:30 linux systemd[1]: Failed to start Berkeley Internet Name Domain$
    abr 25 23:14:30 linux systemd[1]: Unit named.service entered failed state.
    abr 25 23:14:30 linux systemd[1]: named.service failed.


    I thought this was because of the empty zone files so I deleted the zones from named.conf, tried to restart with service restart named but got (again):



    Failed to start BIND : Redirecting to /bin/systemctl start named.service Job 
    for named.service failed because the control process exited with error code.
    See "systemctl status named.service" and "journalctl -xe" for details.


    So I did



    ● named.service - Berkeley Internet Name Domain (DNS)
    Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since jue 2019-04-25 23:25:30 -04; 1min 3s ago
    Process: 5557 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=1/FAILURE)
    Process: 5552 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)

    abr 25 23:25:30 linux named[5559]: found 2 CPUs, using 2 worker threads
    abr 25 23:25:30 linux named[5559]: using 2 UDP listeners per interface
    abr 25 23:25:30 linux named[5559]: using up to 21000 sockets
    abr 25 23:25:30 linux named[5559]: loading configuration from '/etc/named.conf'
    abr 25 23:25:30 linux named[5559]: open: /etc/named.conf: permission denied
    abr 25 23:25:30 linux named[5559]: loading configuration: permission denied
    abr 25 23:25:30 linux systemd[1]: named.service: control process exited, code=exited status=1
    abr 25 23:25:30 linux systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
    abr 25 23:25:30 linux systemd[1]: Unit named.service entered failed state.
    abr 25 23:25:30 linux systemd[1]: named.service failed.


    It's a permission problem but it worked perfectly before so I'm at a loss.



    This is what I get doing ls -l /etc/named.conf:



    -rw-r-----. 1 root root 1808 abr 25 15:13 /etc/named.conf


    Not sure if it helps but here's the named.conf



    options {
    listen-on port 53 { 127.0.0.1; };
    listen-on-v6 port 53 { ::1; };
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    memstatistics-file "/var/named/data/named_mem_stats.txt";
    recursing-file "/var/named/data/named.recursing";
    secroots-file "/var/named/data/named.secroots";
    allow-query { localhost; };

    recursion yes;

    dnssec-enable yes;
    dnssec-validation yes;

    /* Path to ISC DLV key */
    bindkeys-file "/etc/named.iscdlv.key";

    managed-keys-directory "/var/named/dynamic";

    pid-file "/run/named/named.pid";
    session-keyfile "/run/named/session.key";
    };

    logging {
    channel default_debug {
    file "data/named.run";
    severity dynamic;
    };
    };

    zone "." IN {
    type hint;
    file "named.ca";
    };

    include "/etc/named.rfc1912.zones";
    include "/etc/named.root.key";


    Is there a solution for this? Thanks.










    share|improve this question







    New contributor




    Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      so I'm really new on this and was following this tutorial to set up bind, and up to 4:50 I was having no problems, I could ping, use nslookup and had internet connection with the dns server, then we had to add the zones and create the zone files (just creating them), perfect, I restart to see if there's any trouble (I use a virtual machine btw), then i could no longer ping, use nslookup and i didn't even have internet connection.
      This is what I got using systemctl status



      Redirecting to /bin/systemctl status  -l named.service
      ● named.service - Berkeley Internet Name Domain (DNS)
      Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor prese$
      Active: failed (Result: exit-code) since jue 2019-04-25 23:14:30 -04; 3min 3$
      Process: 3355 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "y$

      abr 25 23:14:30 linux bash[3355]: _default/0.168.192.in-addr.arpa/IN: bad zone
      abr 25 23:14:30 linux bash[3355]: zone localhost.localdomain/IN: loaded serial 0
      abr 25 23:14:30 linux bash[3355]: zone localhost/IN: loaded serial 0
      abr 25 23:14:30 linux bash[3355]: zone
      1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.$
      abr 25 23:14:30 linux bash[3355]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial$
      abr 25 23:14:30 linux bash[3355]: zone 0.in-addr.arpa/IN: loaded serial 0
      abr 25 23:14:30 linux systemd[1]: named.service: control process exited, code=e$
      abr 25 23:14:30 linux systemd[1]: Failed to start Berkeley Internet Name Domain$
      abr 25 23:14:30 linux systemd[1]: Unit named.service entered failed state.
      abr 25 23:14:30 linux systemd[1]: named.service failed.


      I thought this was because of the empty zone files so I deleted the zones from named.conf, tried to restart with service restart named but got (again):



      Failed to start BIND : Redirecting to /bin/systemctl start named.service Job 
      for named.service failed because the control process exited with error code.
      See "systemctl status named.service" and "journalctl -xe" for details.


      So I did



      ● named.service - Berkeley Internet Name Domain (DNS)
      Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
      Active: failed (Result: exit-code) since jue 2019-04-25 23:25:30 -04; 1min 3s ago
      Process: 5557 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=1/FAILURE)
      Process: 5552 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)

      abr 25 23:25:30 linux named[5559]: found 2 CPUs, using 2 worker threads
      abr 25 23:25:30 linux named[5559]: using 2 UDP listeners per interface
      abr 25 23:25:30 linux named[5559]: using up to 21000 sockets
      abr 25 23:25:30 linux named[5559]: loading configuration from '/etc/named.conf'
      abr 25 23:25:30 linux named[5559]: open: /etc/named.conf: permission denied
      abr 25 23:25:30 linux named[5559]: loading configuration: permission denied
      abr 25 23:25:30 linux systemd[1]: named.service: control process exited, code=exited status=1
      abr 25 23:25:30 linux systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
      abr 25 23:25:30 linux systemd[1]: Unit named.service entered failed state.
      abr 25 23:25:30 linux systemd[1]: named.service failed.


      It's a permission problem but it worked perfectly before so I'm at a loss.



      This is what I get doing ls -l /etc/named.conf:



      -rw-r-----. 1 root root 1808 abr 25 15:13 /etc/named.conf


      Not sure if it helps but here's the named.conf



      options {
      listen-on port 53 { 127.0.0.1; };
      listen-on-v6 port 53 { ::1; };
      directory "/var/named";
      dump-file "/var/named/data/cache_dump.db";
      statistics-file "/var/named/data/named_stats.txt";
      memstatistics-file "/var/named/data/named_mem_stats.txt";
      recursing-file "/var/named/data/named.recursing";
      secroots-file "/var/named/data/named.secroots";
      allow-query { localhost; };

      recursion yes;

      dnssec-enable yes;
      dnssec-validation yes;

      /* Path to ISC DLV key */
      bindkeys-file "/etc/named.iscdlv.key";

      managed-keys-directory "/var/named/dynamic";

      pid-file "/run/named/named.pid";
      session-keyfile "/run/named/session.key";
      };

      logging {
      channel default_debug {
      file "data/named.run";
      severity dynamic;
      };
      };

      zone "." IN {
      type hint;
      file "named.ca";
      };

      include "/etc/named.rfc1912.zones";
      include "/etc/named.root.key";


      Is there a solution for this? Thanks.










      share|improve this question







      New contributor




      Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      so I'm really new on this and was following this tutorial to set up bind, and up to 4:50 I was having no problems, I could ping, use nslookup and had internet connection with the dns server, then we had to add the zones and create the zone files (just creating them), perfect, I restart to see if there's any trouble (I use a virtual machine btw), then i could no longer ping, use nslookup and i didn't even have internet connection.
      This is what I got using systemctl status



      Redirecting to /bin/systemctl status  -l named.service
      ● named.service - Berkeley Internet Name Domain (DNS)
      Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor prese$
      Active: failed (Result: exit-code) since jue 2019-04-25 23:14:30 -04; 3min 3$
      Process: 3355 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "y$

      abr 25 23:14:30 linux bash[3355]: _default/0.168.192.in-addr.arpa/IN: bad zone
      abr 25 23:14:30 linux bash[3355]: zone localhost.localdomain/IN: loaded serial 0
      abr 25 23:14:30 linux bash[3355]: zone localhost/IN: loaded serial 0
      abr 25 23:14:30 linux bash[3355]: zone
      1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.$
      abr 25 23:14:30 linux bash[3355]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial$
      abr 25 23:14:30 linux bash[3355]: zone 0.in-addr.arpa/IN: loaded serial 0
      abr 25 23:14:30 linux systemd[1]: named.service: control process exited, code=e$
      abr 25 23:14:30 linux systemd[1]: Failed to start Berkeley Internet Name Domain$
      abr 25 23:14:30 linux systemd[1]: Unit named.service entered failed state.
      abr 25 23:14:30 linux systemd[1]: named.service failed.


      I thought this was because of the empty zone files so I deleted the zones from named.conf, tried to restart with service restart named but got (again):



      Failed to start BIND : Redirecting to /bin/systemctl start named.service Job 
      for named.service failed because the control process exited with error code.
      See "systemctl status named.service" and "journalctl -xe" for details.


      So I did



      ● named.service - Berkeley Internet Name Domain (DNS)
      Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
      Active: failed (Result: exit-code) since jue 2019-04-25 23:25:30 -04; 1min 3s ago
      Process: 5557 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=1/FAILURE)
      Process: 5552 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)

      abr 25 23:25:30 linux named[5559]: found 2 CPUs, using 2 worker threads
      abr 25 23:25:30 linux named[5559]: using 2 UDP listeners per interface
      abr 25 23:25:30 linux named[5559]: using up to 21000 sockets
      abr 25 23:25:30 linux named[5559]: loading configuration from '/etc/named.conf'
      abr 25 23:25:30 linux named[5559]: open: /etc/named.conf: permission denied
      abr 25 23:25:30 linux named[5559]: loading configuration: permission denied
      abr 25 23:25:30 linux systemd[1]: named.service: control process exited, code=exited status=1
      abr 25 23:25:30 linux systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
      abr 25 23:25:30 linux systemd[1]: Unit named.service entered failed state.
      abr 25 23:25:30 linux systemd[1]: named.service failed.


      It's a permission problem but it worked perfectly before so I'm at a loss.



      This is what I get doing ls -l /etc/named.conf:



      -rw-r-----. 1 root root 1808 abr 25 15:13 /etc/named.conf


      Not sure if it helps but here's the named.conf



      options {
      listen-on port 53 { 127.0.0.1; };
      listen-on-v6 port 53 { ::1; };
      directory "/var/named";
      dump-file "/var/named/data/cache_dump.db";
      statistics-file "/var/named/data/named_stats.txt";
      memstatistics-file "/var/named/data/named_mem_stats.txt";
      recursing-file "/var/named/data/named.recursing";
      secroots-file "/var/named/data/named.secroots";
      allow-query { localhost; };

      recursion yes;

      dnssec-enable yes;
      dnssec-validation yes;

      /* Path to ISC DLV key */
      bindkeys-file "/etc/named.iscdlv.key";

      managed-keys-directory "/var/named/dynamic";

      pid-file "/run/named/named.pid";
      session-keyfile "/run/named/session.key";
      };

      logging {
      channel default_debug {
      file "data/named.run";
      severity dynamic;
      };
      };

      zone "." IN {
      type hint;
      file "named.ca";
      };

      include "/etc/named.rfc1912.zones";
      include "/etc/named.root.key";


      Is there a solution for this? Thanks.







      linux dns permissions centos bind






      share|improve this question







      New contributor




      Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      Nelson SMGNelson SMG

      1




      1




      New contributor




      Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Nelson SMG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You may have a selinux issue: check the files with ls -Z.



          Other option: if you installed chroot, then all files are relative to /var/named/chroot.






          share|improve this answer








          New contributor




          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • Thanks for answering, this is what I got doing "ls -Z /etc/named.conf" -rw-r-----. 1 root root unconfined_u:object_r:etc_t:s0 /etc/named.conf I don't have a chroot folder on /var/named/ So I don't think it's installed

            – Nelson SMG
            yesterday














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Nelson SMG is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429858%2fcant-start-bind-open-etc-named-conf-permission-denied-centos-7%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You may have a selinux issue: check the files with ls -Z.



          Other option: if you installed chroot, then all files are relative to /var/named/chroot.






          share|improve this answer








          New contributor




          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • Thanks for answering, this is what I got doing "ls -Z /etc/named.conf" -rw-r-----. 1 root root unconfined_u:object_r:etc_t:s0 /etc/named.conf I don't have a chroot folder on /var/named/ So I don't think it's installed

            – Nelson SMG
            yesterday


















          0














          You may have a selinux issue: check the files with ls -Z.



          Other option: if you installed chroot, then all files are relative to /var/named/chroot.






          share|improve this answer








          New contributor




          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • Thanks for answering, this is what I got doing "ls -Z /etc/named.conf" -rw-r-----. 1 root root unconfined_u:object_r:etc_t:s0 /etc/named.conf I don't have a chroot folder on /var/named/ So I don't think it's installed

            – Nelson SMG
            yesterday
















          0












          0








          0







          You may have a selinux issue: check the files with ls -Z.



          Other option: if you installed chroot, then all files are relative to /var/named/chroot.






          share|improve this answer








          New contributor




          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.










          You may have a selinux issue: check the files with ls -Z.



          Other option: if you installed chroot, then all files are relative to /var/named/chroot.







          share|improve this answer








          New contributor




          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered yesterday









          StarfightStarfight

          112




          112




          New contributor




          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Starfight is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.













          • Thanks for answering, this is what I got doing "ls -Z /etc/named.conf" -rw-r-----. 1 root root unconfined_u:object_r:etc_t:s0 /etc/named.conf I don't have a chroot folder on /var/named/ So I don't think it's installed

            – Nelson SMG
            yesterday





















          • Thanks for answering, this is what I got doing "ls -Z /etc/named.conf" -rw-r-----. 1 root root unconfined_u:object_r:etc_t:s0 /etc/named.conf I don't have a chroot folder on /var/named/ So I don't think it's installed

            – Nelson SMG
            yesterday



















          Thanks for answering, this is what I got doing "ls -Z /etc/named.conf" -rw-r-----. 1 root root unconfined_u:object_r:etc_t:s0 /etc/named.conf I don't have a chroot folder on /var/named/ So I don't think it's installed

          – Nelson SMG
          yesterday







          Thanks for answering, this is what I got doing "ls -Z /etc/named.conf" -rw-r-----. 1 root root unconfined_u:object_r:etc_t:s0 /etc/named.conf I don't have a chroot folder on /var/named/ So I don't think it's installed

          – Nelson SMG
          yesterday












          Nelson SMG is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Nelson SMG is a new contributor. Be nice, and check out our Code of Conduct.













          Nelson SMG is a new contributor. Be nice, and check out our Code of Conduct.












          Nelson SMG is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429858%2fcant-start-bind-open-etc-named-conf-permission-denied-centos-7%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...