خطای failed در اجرای دستور service named start لطفا کمک کنید
کد HTML:[root@server ~]# service named start Starting named: [FAILED]
خطای failed در اجرای دستور service named start لطفا کمک کنید
کد HTML:[root@server ~]# service named start Starting named: [FAILED]
لطفا لاگ درست ازش بزارید احتمالا یکی از فایل های کانفیگ named ارور سینتکس داره
یا حق!
اینم لاگ
- - - Updated - - -کد PHP:
tail -f /var/log/messages
[root@server log]# tail -f /var/log/messages
Dec 11 23:02:07 server named[28402]: loading configuration from '/etc/named.conf'
Dec 11 23:02:07 server named[28402]: /etc/named.conf:54: unknown option 'allow-transfer'
Dec 11 23:02:07 server named[28402]: /etc/named.conf:55: unknown option 'allow-recursion'
Dec 11 23:02:07 server named[28402]: /etc/named.conf:56: unknown option 'recursion'
Dec 11 23:02:07 server named[28402]: loading configuration: failure
Dec 11 23:02:07 server named[28402]: exiting (due to fatal error)
Dec 11 23:02:13 server proftpd[28427]: 92.121.195.1 - Failed binding to ::, port 21: Address already in use
Dec 11 23:02:13 server proftpd[28427]: 92.121.195.1 - Check the ServerType directive to ensure you are configured correctly
Dec 11 23:02:13 server proftpd[28427]: 92.121.195.1 - Check to see if inetd/xinetd, or another proftpd instance, is already using ::, port 21
Dec 11 23:02:13 server proftpd[28427]: 92.121.195.1 - Unable to start proftpd; check logs for more details
Dec 11 23:02:19 server proftpd[28463]: 92.121.195.1 - Failed binding to ::, port 21: Address already in use
Dec 11 23:02:19 server proftpd[28463]: 92.121.195.1 - Check the ServerType directive to ensure you are configured correctly
Dec 11 23:02:19 server proftpd[28463]: 92.121.195.1 - Check to see if inetd/xinetd, or another proftpd instance, is already using ::, port 21
Dec 11 23:02:19 server proftpd[28463]: 92.121.195.1 - Unable to start proftpd; check logs for more details
Dec 11 23:03:01 server named[28510]: starting BIND 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 -u named
Dec 11 23:03:01 server named[28510]: built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libtool' '--localstatedir=/var' '--enable-threads' '--enable-ipv6' '--enable-filter-aaaa' '--with-pic' '--disable-static' '--disable-openssl-version-check' '--enable-rpz-nsip' '--enable-rpz-nsdname' '--with-dlopen=yes' '--with-dlz-ldap=yes' '--with-dlz-postgres=yes' '--with-dlz-mysql=yes' '--with-dlz-filesystem=yes' '--with-gssapi=yes' '--disable-isc-spnego' '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' '--enable-fixed-rrset' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CPPFLAGS= -DDIG_SIGCHASE'
Dec 11 23:03:01 server named[28510]: ----------------------------------------------------
Dec 11 23:03:01 server named[28510]: BIND 9 is maintained by Internet Systems Consortium,
Dec 11 23:03:01 server named[28510]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Dec 11 23:03:01 server named[28510]: corporation. Support and training for BIND 9 are
Dec 11 23:03:01 server named[28510]: available at https://www.isc.org/support
Dec 11 23:03:01 server named[28510]: ----------------------------------------------------
Dec 11 23:03:01 server named[28510]: adjusted limit on open files from 65535 to 1048576
Dec 11 23:03:01 server named[28510]: found 2 CPUs, using 2 worker threads
Dec 11 23:03:01 server named[28510]: using up to 4096 sockets
Dec 11 23:03:01 server named[28510]: loading configuration from '/etc/named.conf'
Dec 11 23:03:01 server named[28510]: /etc/named.conf:54: unknown option 'allow-transfer'
Dec 11 23:03:01 server named[28510]: /etc/named.conf:55: unknown option 'allow-recursion'
Dec 11 23:03:01 server named[28510]: /etc/named.conf:56: unknown option 'recursion'
Dec 11 23:03:01 server named[28510]: loading configuration: failure
Dec 11 23:03:01 server named[28510]: exiting (due to fatal error)
Dec 11 23:03:07 server named[28555]: starting BIND 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 -u named
Dec 11 23:03:07 server named[28555]: built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libtool' '--localstatedir=/var' '--enable-threads' '--enable-ipv6' '--enable-filter-aaaa' '--with-pic' '--disable-static' '--disable-openssl-version-check' '--enable-rpz-nsip' '--enable-rpz-nsdname' '--with-dlopen=yes' '--with-dlz-ldap=yes' '--with-dlz-postgres=yes' '--with-dlz-mysql=yes' '--with-dlz-filesystem=yes' '--with-gssapi=yes' '--disable-isc-spnego' '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' '--enable-fixed-rrset' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CPPFLAGS= -DDIG_SIGCHASE'
Dec 11 23:03:07 server named[28555]: ----------------------------------------------------
Dec 11 23:03:07 server named[28555]: BIND 9 is maintained by Internet Systems Consortium,
Dec 11 23:03:07 server named[28555]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Dec 11 23:03:07 server named[28555]: corporation. Support and training for BIND 9 are
Dec 11 23:03:07 server named[28555]: available at https://www.isc.org/support
Dec 11 23:03:07 server named[28555]: ----------------------------------------------------
Dec 11 23:03:07 server named[28555]: adjusted limit on open files from 65535 to 1048576
Dec 11 23:03:07 server named[28555]: found 2 CPUs, using 2 worker threads
Dec 11 23:03:07 server named[28555]: using up to 4096 sockets
Dec 11 23:03:07 server named[28555]: loading configuration from '/etc/named.conf'
Dec 11 23:03:07 server named[28555]: /etc/named.conf:54: unknown option 'allow-transfer'
Dec 11 23:03:07 server named[28555]: /etc/named.conf:55: unknown option 'allow-recursion'
Dec 11 23:03:07 server named[28555]: /etc/named.conf:56: unknown option 'recursion'
Dec 11 23:03:07 server named[28555]: loading configuration: failure
Dec 11 23:03:07 server named[28555]: exiting (due to fatal error)
Dec 11 23:03:12 server proftpd[28579]: 92.121.195.1 - Failed binding to ::, port 21: Address already in use
Dec 11 23:03:12 server proftpd[28579]: 92.121.195.1 - Check the ServerType directive to ensure you are configured correctly
Dec 11 23:03:12 server proftpd[28579]: 92.121.195.1 - Check to see if inetd/xinetd, or another proftpd instance, is already using ::, port 21
Dec 11 23:03:12 server proftpd[28579]: 92.121.195.1 - Unable to start proftpd; check logs for more details
Dec 11 23:03:18 server proftpd[28614]: 92.121.195.1 - Failed binding to ::, port 21: Address already in use
Dec 11 23:03:18 server proftpd[28614]: 92.121.195.1 - Check the ServerType directive to ensure you are configured correctly
Dec 11 23:03:18 server proftpd[28614]: 92.121.195.1 - Check to see if inetd/xinetd, or another proftpd instance, is already using ::, port 21
Dec 11 23:03:18 server proftpd[28614]: 92.121.195.1 - Unable to start proftpd; check logs for more details
اینم خلاصش
[root@server ~]# named-checkconf /etc/named.conf
/etc/named.conf unknown option 'allow-transfer'
/etc/named.conf unknown option 'allow-recursion'
/etc/named.conf unknown option 'recursion'
- - - Updated - - -
مشکل حل شد می تونید تاپیک رو ببندید
در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)