[CentOS] Name failed to restart with service named restart command
I have Centro 5.4 it named starts at bootup but fails to restart when I give command service named restart and it there is no any error in syslog messages. With reload command I get the following message in syslog :- Nov 25 14:03:30 unitedinfotechs named[2201]: using default UDP/IPv4 port range: [1024, 65535] Nov 25 14:03:30 unitedinfotechs named[2201]: using default UDP/IPv6 port range: [1024, 65535] Nov 25 14:16:03 unitedinfotechs named[2201]: loading configuration from '/etc/named.conf' Nov 25 14:16:03 unitedinfotechs named[2201]: using default UDP/IPv4 port range: [1024, 65535] Nov 25 14:16:03 unitedinfotechs named[2201]: using default UDP/IPv6 port range: [1024, 65535] I shall highly appreciate any hint. -- Best Regards Tariq Ismail Dalvi http://www.dalvis.net ta...@dalvis.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Name failed to restart with service named restart command
Hello Nate, In my case reload works fine but if i use restart the it show Stopping namedOK Starting named:[FAILED] and syslog message shows following entry:- Nov 26 01:23:15 localhost named[4413]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5 -u named -D -t /var/named/chroot Nov 26 01:23:15 localhost named[4413]: adjusted limit on open files from 1024 to 1048576 Nov 26 01:23:15 localhost named[4413]: found 1 CPU, using 1 worker thread Nov 26 01:23:15 localhost named[4413]: using up to 4096 sockets Nov 26 01:23:15 localhost named[4413]: loading configuration from '/etc/named.conf' Nov 26 01:23:15 localhost named[4413]: using default UDP/IPv4 port range: [1024, 65535] Nov 26 01:23:15 localhost named[4413]: using default UDP/IPv6 port range: [1024, 65535] Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface lo, 127.0.0.1#53 Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface eth0, 192.168.1.12#53 Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface eth0:0, 192.168.1.16#53 Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface eth0, 192.168.1.10#53 Nov 26 01:23:15 localhost named[4413]: command channel listening on 127.0.0.1#953 Nov 26 01:23:15 localhost named[4413]: command channel listening on 192.168.1.12#953 Nov 26 01:23:15 localhost named[4413]: zone 0.in-addr.arpa/IN/internal: loaded serial 42 Nov 26 01:23:15 localhost named[4413]: zone 0.0.127.in-addr.arpa/IN/internal: loaded serial 1 Nov 26 01:23:15 localhost named[4413]: zone 168.192.in-addr.arpa/IN/internal: loaded serial 6 Nov 26 01:23:15 localhost named[4413]: zone 255.in-addr.arpa/IN/internal: loaded serial 42 Nov 26 01:23:15 localhost named[4413]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN/internal: loaded serial 1997022700 Nov 26 01:23:15 localhost named[4413]: zone example4.in/IN/internal: loaded serial 6 Nov 26 01:23:15 localhost named[4413]: zone example1.in/IN/internal: loaded serial 6 Nov 26 01:23:15 localhost named[4413]: zone localdomain/IN/internal: loaded serial 42 Nov 26 01:23:15 localhost named[4413]: zone localhost/IN/internal: loaded serial 42 Nov 26 01:23:15 localhost named[4413]: zone example3.net/IN/internal: loaded serial 6 Nov 26 01:23:15 localhost named[4413]: zone example2.net/IN/internal: loaded serial 6 Nov 26 01:23:15 localhost named[4413]: zone 83.57.in-addr.arpa/IN/external: loaded serial 6 Nov 26 01:23:15 localhost named[4413]: zone example4.in/IN/external: loaded serial 1 Nov 26 01:23:15 localhost named[4413]: zone example1.in/IN/external: loaded serial 6 Nov 26 01:23:15 localhost named[4413]: zone example3.net/IN/external: loaded serial 1 Nov 26 01:23:15 localhost named[4413]: zone example2.net/IN/external: loaded serial 6 one more error i have noticed in Service configuration panel while trying to start named is :- rndc: connect failed: 127.0.0.1#953: connection refused named is stopped. Best regards. On Wed, Nov 25, 2009 at 1:54 PM, nate wrote: > Tariq Ismail Dalvi wrote: >> I have Centro 5.4 it named starts at bootup but fails to restart when >> I give command service named restart and it there is no any error in >> syslog messages. >> >> With reload command I get the following message in syslog :- > > You running *restart* or *reload* as they are often different > things. > > Your subject says restart your text above says reload. > > reload uses ndc and restart uses start/stop > > I prefer restart myself, ndc doesn't work well with my > configuration for whatever reason. > > nate > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Name failed to restart with service named restart command
I have changed it to reflect port 953 in named conf Control still the same problem On Wed, Nov 25, 2009 at 4:36 PM, Lars Hecking wrote: > >> rndc: connect failed: 127.0.0.1#953: connection refused >> named is stopped. > > Missing control statement for rndc port. > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Best Regards Tariq Ismail Dalvi http://www.dalvis.net ta...@dalvis.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rndc start fails with "rndc: connect failed: connection refused"
Hello , I am facing same problem but with CentOS 5.4 and BIND 9.3.6 while I was having 5.3 named was working fine but now it give me same error in Service configuration panel to start named I have to reboot the system but if I give Service named restart it stops and fails to start only I can use service named reload on command line. I did everything so far but no luck I shall try to go back to CentOS 5.3 thats the option I feel might work for me. Regards. On Wed, Nov 25, 2009 at 6:04 PM, Hugh E Cruickshank wrote: > CentOS 4.8, BIND 9.2.4 > > Hi All: > > I have a rather annoying problem with rndc which I have not been able > to resolve despite much searching and many attempts to correct. When > making changes to our DNS entries I have tried to use the following > procedures: > > 1. Flush the cache buffers: > > rndc flush > > 2. Stop named: > > rndc stop > > 3. Delete the journal files: > > rm *.jnl > > 4. Edit the forward and/or reverse zone files as necessary. > > 5. Restart named: > > rndc start > > Everything works fine until the last command which fails with: > > rndc: connect failed: connection refused > > I can get around this by using "service named start" but I should not > have to do this. Has anyone encountered something similar and can pass > on some words of wisdom? > > TIA > > Regards, Hugh > > -- > Hugh E Cruickshank, Forward Software, www.forward-software.com > ___________ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Best Regards Tariq Ismail Dalvi http://www.dalvis.net ta...@dalvis.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.2 i m having problem with gnome
Hello to all, I am having a web server mail server Mysql and name server on single machine my os is CentOs 5.2 and desktop gnome everything was working fine now couple of days back I was using text editor, Fire Fox and GIMP at a time and my mouse started to act funny as well as very slow even my keyboard curser moves very slow I feel it is some sort of memory problem but I have noticed the servers are accessible from outside of network are fine except that I am only facing problem while using desk top. Secondly if I reboot the system it start to work fine for few hours. I shall highly appreciate if someone can give me a hint or how to fix it. Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.2 i m having problem with gnome
I have 2Gbs DDR 2 Ram and swap part of appro 1957 Mbs as I feel i should have Swap Partition of 4 Gbs for a 2 Gbs Ram yes I am hosting about 12 sites and domains on Name-based Virtual Hosts, I got it I have to add some more Gbs of Ram. one more thing on this system there are lost of cron jobs active every hour wstatas every 6 hours backup of piblic_html on DVD [r...@dalvis ~]# cat /proc/meminfo MemTotal: 2010492 kB MemFree: 94284 kB Buffers:308360 kB Cached: 983024 kB SwapCached: 0 kB Active: 583016 kB Inactive: 863680 kB HighTotal: 1113920 kB HighFree:11208 kB LowTotal: 896572 kB LowFree: 83076 kB SwapTotal: 2031608 kB SwapFree: 2031608 kB Dirty: 176 kB Writeback: 0 kB AnonPages: 155316 kB Mapped: 54728 kB Slab: 457696 kB PageTables: 4368 kB NFS_Unstable:0 kB Bounce: 0 kB CommitLimit: 3036852 kB Committed_AS: 715780 kB VmallocTotal: 114680 kB VmallocUsed: 4168 kB VmallocChunk: 108772 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 Hugepagesize: 4096 kB Best regards Tariq Dalvi On Tue, Mar 10, 2009 at 8:46 AM, Brian Becker wrote: > > > On Tue, Mar 10, 2009 at 8:15 AM, Tariq Ismail Dalvi > wrote: >> >> Hello to all, >> >> I am having a web server mail server Mysql and name server >> on single machine my os is CentOs 5.2 and desktop >> gnome everything was working fine now couple of days >> back I was using text editor, Fire Fox and GIMP at a time >> and my mouse started to act funny as well as very slow >> even my keyboard curser moves very slow I feel it is >> some sort of memory problem but I have noticed the >> servers are accessible from outside of network are >> fine except that I am only facing problem while using desk top. >> >> Secondly if I reboot the system it start to work fine >> for few hours. >> >> I shall highly appreciate if someone can give me a >> hint or how to fix it. >> >> Thank you. >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos > > Just how much memory do you have in your system? Are you actually hosting > anything on your servers? When your system is experiencing the problem run > the following and send it over > > cat /proc/meminfo > > Brian > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Problem with browser
Hello everyone I am using CentOS 5.2 and facing a browsing problem I had complete system update of 71 applications recently and after the update completed my system can receive emails but cannot send and cannot browse get error domain not found, besides ftping is working fine web servers are working fine how can i fix this or roll back to my previous configuration of system. Thank you Best Regards Tariq Ismail Dalvi http://www.dalvis.in tariqdal...@gmail.com ta...@dalvis.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem with browser
Yes now I have fixed it, the DNS servers where missing in resolve conf file. Thank you JD Best regards On Wed, Apr 8, 2009 at 5:27 AM, John Doe wrote: > > From: Tariq Ismail Dalvi >> I am using CentOS 5.2 and facing a browsing problem I had complete >> system update of 71 applications recently and after the update >> completed my system can receive emails but cannot send and cannot >> browse get error domain not found, besides ftping is working fine web >> servers are working fine how can i fix this or roll back to my >> previous configuration of system. > > Do you have a caching dns? > Did you check /etc/resolv.conf? > > JD > > > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Best Regards Tariq Ismail Dalvi http://www.dalvis.in tariqdal...@gmail.com ta...@dalvis.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos