On 3/27/06, kashani <[EMAIL PROTECTED]> wrote: > THUFIR HAWAT wrote: > > I want to test that leafnode is up and running, so am using telnet: > > Wow, you got some wacky ass answers on this. > > First off telneting to the port should work as long as you're on the > same box since it's supposed to be running on 127.0.0.1 otherwise known > as lo or the loopback address which should clear up that.
Ok :) > Then I'd look at logs. xinetd can be finicky about starting services if > they aren't configured right. I'd restart xinetd I've been rebooting :( Is there a better way? > and see what it drops > in /var/log/messages about which services it's activating. It's usually > pretty good about telling you if it's accepting a service though it may > not tell you why it decided a service wasn't up to snuff. > > As root a netstat -ptln might tell you if xinetd is holding the port, > but since xinetd is a superdaemon of sorts it might not show it on the > port unless there is a working connection... I'm not sure and have no > desire to install xinetd to find out. :) > > kashani > -- > gentoo-user@gentoo.org mailing list > > [EMAIL PROTECTED] ~ $ [EMAIL PROTECTED] ~ $ su - Password: localhost ~ # whoami root localhost ~ # cat -n /var/log/messages | grep nntp 2764 Mar 26 12:59:32 localhost xinetd[485]: Reading included configuration file: /etc/xinetd.d/leafnode-nntp [file=/etc/xinetd.d/leafnode-nntp] [line=10] 2776 Mar 26 12:59:32 localhost xinetd[485]: removing nntp localhost ~ # cat -n /var/log/messages | grep leaf 1054 Mar 22 13:40:13 localhost leafnode[19860]: cannot open /etc/leafnode/config 1055 Mar 22 13:40:13 localhost leafnode[19860]: 503 Unable to read configuration file, exiting; the server's syslog should have more information. 1070 Mar 22 14:52:05 localhost leafnode[2613]: cannot open /etc/leafnode/config 1071 Mar 22 14:52:05 localhost leafnode[2613]: 503 Unable to read configuration file, exiting; the server's syslog should have more information. 1074 Mar 22 15:01:38 localhost leafnode[21414]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost.localdomain". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 1075 Mar 22 15:03:29 localhost leafnode[29433]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost.localdomain". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 1076 Mar 22 15:04:40 localhost leafnode[2373]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost.localdomain". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 1154 Mar 22 19:40:11 localhost leafnode[21275]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost.localdomain". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 1907 Mar 25 00:53:59 localhost leafnode[14349]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 2129 Mar 25 00:55:49 localhost leafnode[9744]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 2137 Mar 25 00:58:00 localhost leafnode[10022]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 2180 Mar 25 06:18:03 localhost leafnode[10838]: config: unknown line 9: "host = hawat.thufir.gmail.com" 2181 Mar 25 06:18:03 localhost leafnode[10838]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 2197 Mar 25 06:18:39 localhost leafnode[11036]: config: unknown line 9: "host = hawat.thufir.gmail.com" 2198 Mar 25 06:18:39 localhost leafnode[11036]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 2425 Mar 25 06:20:43 localhost leafnode[9741]: config: unknown line 9: "host = hawat.thufir.gmail.com" 2426 Mar 25 06:20:43 localhost leafnode[9741]: Leafnode must have a fully-qualified and globally unique domain name, not just "localhost". Edit your /etc/hosts file to add a unique, fully qualified domain name. "localhost.localdomain" or thereabouts will not work; it's qualified, but not unique. Please see the README-FQDN file for details. 2520 Mar 25 18:12:59 localhost leafnode[30182]: config: unknown line 9: "host = hawat.thufir.gmail.com" 2521 Mar 25 18:12:59 localhost leafnode[30182]: connect from (local file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn: hawat.thufir.gmail.com) 2522 Mar 25 18:12:59 localhost leafnode[30182]: unable to open /var/spool/news/leaf.node/groupinfo: No such file or directory 2523 Mar 25 18:16:49 localhost leafnode[30188]: config: unknown line 9: "host = hawat.thufir.gmail.com" 2524 Mar 25 18:16:49 localhost leafnode[30188]: connect from (local file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn: hawat.thufir.gmail.com) 2525 Mar 25 18:16:49 localhost leafnode[30188]: unable to open /var/spool/news/leaf.node/groupinfo: No such file or directory 2530 Mar 25 18:37:30 localhost fetchnews[30246]: leafnode 1.11.3.rel: verbosity level is 0, debugmode is 0 2531 Mar 25 18:37:30 localhost fetchnews[30246]: unable to open /var/spool/news/leaf.node/groupinfo: No such file or directory 2549 Mar 25 18:58:28 localhost leafnode[30304]: config: unknown line 9: "host = hawat.thufir.gmail.com" 2550 Mar 25 18:58:28 localhost leafnode[30304]: connect from (local file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn: hawat.thufir.gmail.com) 2572 Mar 25 21:24:54 localhost leafnode[30753]: connect from (local file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn: hawat.thufir.gmail.com) 2573 Mar 25 21:25:24 localhost leafnode[30756]: connect from (local file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn: hawat.thufir.gmail.com) 2584 Mar 25 22:33:28 localhost leafnode[30978]: connect from (local file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn: hawat.thufir.gmail.com) 2585 Mar 25 22:33:48 localhost fetchnews[30994]: leafnode 1.11.3.rel: verbosity level is 3, debugmode is 0 2599 Mar 25 22:34:12 localhost fetchnews[30998]: leafnode 1.11.3.rel: verbosity level is 3, debugmode is 0 2614 Mar 25 22:45:26 localhost fetchnews[31017]: leafnode 1.11.3.rel: verbosity level is 3, debugmode is 0 2627 Mar 25 22:45:49 localhost fetchnews[31017]: shawnews.vc.shawcable.net: reading server info from /var/spool/news/leaf.node/shawnews.vc.shawcable.net 2630 Mar 25 22:46:20 localhost fetchnews[31019]: leafnode 1.11.3.rel: verbosity level is 3, debugmode is 0 2634 Mar 25 22:46:27 localhost fetchnews[31019]: shawnews.vc.shawcable.net: reading server info from /var/spool/news/leaf.node/shawnews.vc.shawcable.net 2638 Mar 25 22:54:24 localhost fetchnews[31054]: leafnode 1.11.3.rel: verbosity level is 3, debugmode is 0 2642 Mar 25 22:54:31 localhost fetchnews[31054]: shawnews.vc.shawcable.net: reading server info from /var/spool/news/leaf.node/shawnews.vc.shawcable.net 2645 Mar 25 22:57:36 localhost leafnode[31057]: connect from (local file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn: hawat.thufir.gmail.com) 2764 Mar 26 12:59:32 localhost xinetd[485]: Reading included configuration file: /etc/xinetd.d/leafnode-nntp [file=/etc/xinetd.d/leafnode-nntp] [line=10] 2873 Mar 27 01:39:13 localhost fetchnews[3169]: leafnode 1.11.3.rel: verbosity level is 0, debugmode is 0 2877 Mar 27 01:39:20 localhost fetchnews[3169]: shawnews.vc.shawcable.net: reading server info from /var/spool/news/leaf.node/shawnews.vc.shawcable.net 2906 Mar 27 04:32:26 localhost fetchnews[20298]: leafnode 1.11.3.rel: verbosity level is 3, debugmode is 0 2910 Mar 27 04:32:38 localhost fetchnews[20298]: shawnews.vc.shawcable.net: reading server info from /var/spool/news/leaf.node/shawnews.vc.shawcable.net 3153 Mar 27 05:30:36 localhost fetchnews[10070]: leafnode 1.11.3.rel: verbosity level is 3, debugmode is 0 3165 Mar 27 05:31:25 localhost fetchnews[10070]: shawnews.vc.shawcable.net: reading server info from /var/spool/news/leaf.node/shawnews.vc.shawcable.net localhost ~ # date Mon Mar 27 21:30:44 IST 2006 localhost ~ # thanks, Thufir -- gentoo-user@gentoo.org mailing list