Gentoo Archives: gentoo-user

From: THUFIR HAWAT <hawat.thufir@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] telnet localhost
Date: Mon, 27 Mar 2006 20:43:33
Message-Id: bf6b6d5c0603271233m3046021du5bc36f011903ac3b@mail.gmail.com
In Reply to: Re: [gentoo-user] telnet localhost by kashani
1 On 3/27/06, kashani <kashani-list@××××××××.net> wrote:
2 > THUFIR HAWAT wrote:
3 > > I want to test that leafnode is up and running, so am using telnet:
4 >
5 > Wow, you got some wacky ass answers on this.
6 >
7 > First off telneting to the port should work as long as you're on the
8 > same box since it's supposed to be running on 127.0.0.1 otherwise known
9 > as lo or the loopback address which should clear up that.
10
11 Ok :)
12
13 > Then I'd look at logs. xinetd can be finicky about starting services if
14 > they aren't configured right. I'd restart xinetd
15
16 I've been rebooting :(
17 Is there a better way?
18
19 > and see what it drops
20 > in /var/log/messages about which services it's activating. It's usually
21 > pretty good about telling you if it's accepting a service though it may
22 > not tell you why it decided a service wasn't up to snuff.
23 >
24 > As root a netstat -ptln might tell you if xinetd is holding the port,
25 > but since xinetd is a superdaemon of sorts it might not show it on the
26 > port unless there is a working connection... I'm not sure and have no
27 > desire to install xinetd to find out. :)
28 >
29 > kashani
30 > --
31 > gentoo-user@g.o mailing list
32 >
33 >
34
35 thufir@localhost ~ $
36 thufir@localhost ~ $ su -
37 Password:
38 localhost ~ # whoami
39 root
40 localhost ~ # cat -n /var/log/messages | grep nntp
41 2764 Mar 26 12:59:32 localhost xinetd[485]: Reading included
42 configuration file: /etc/xinetd.d/leafnode-nntp
43 [file=/etc/xinetd.d/leafnode-nntp] [line=10]
44 2776 Mar 26 12:59:32 localhost xinetd[485]: removing nntp
45 localhost ~ # cat -n /var/log/messages | grep leaf
46 1054 Mar 22 13:40:13 localhost leafnode[19860]: cannot open
47 /etc/leafnode/config
48 1055 Mar 22 13:40:13 localhost leafnode[19860]: 503 Unable to read
49 configuration file, exiting; the server's syslog should have more
50 information.
51 1070 Mar 22 14:52:05 localhost leafnode[2613]: cannot open
52 /etc/leafnode/config
53 1071 Mar 22 14:52:05 localhost leafnode[2613]: 503 Unable to read
54 configuration file, exiting; the server's syslog should have more
55 information.
56 1074 Mar 22 15:01:38 localhost leafnode[21414]: Leafnode must have
57 a fully-qualified and globally unique domain name, not just
58 "localhost.localdomain". Edit your /etc/hosts file to add a unique,
59 fully qualified domain name. "localhost.localdomain" or thereabouts
60 will not work; it's qualified, but not unique. Please see the
61 README-FQDN file for details.
62 1075 Mar 22 15:03:29 localhost leafnode[29433]: Leafnode must have
63 a fully-qualified and globally unique domain name, not just
64 "localhost.localdomain". Edit your /etc/hosts file to add a unique,
65 fully qualified domain name. "localhost.localdomain" or thereabouts
66 will not work; it's qualified, but not unique. Please see the
67 README-FQDN file for details.
68 1076 Mar 22 15:04:40 localhost leafnode[2373]: Leafnode must have
69 a fully-qualified and globally unique domain name, not just
70 "localhost.localdomain". Edit your /etc/hosts file to add a unique,
71 fully qualified domain name. "localhost.localdomain" or thereabouts
72 will not work; it's qualified, but not unique. Please see the
73 README-FQDN file for details.
74 1154 Mar 22 19:40:11 localhost leafnode[21275]: Leafnode must have
75 a fully-qualified and globally unique domain name, not just
76 "localhost.localdomain". Edit your /etc/hosts file to add a unique,
77 fully qualified domain name. "localhost.localdomain" or thereabouts
78 will not work; it's qualified, but not unique. Please see the
79 README-FQDN file for details.
80 1907 Mar 25 00:53:59 localhost leafnode[14349]: Leafnode must have
81 a fully-qualified and globally unique domain name, not just
82 "localhost". Edit your /etc/hosts file to add a unique, fully
83 qualified domain name. "localhost.localdomain" or thereabouts will not
84 work; it's qualified, but not unique. Please see the README-FQDN file
85 for details.
86 2129 Mar 25 00:55:49 localhost leafnode[9744]: Leafnode must have
87 a fully-qualified and globally unique domain name, not just
88 "localhost". Edit your /etc/hosts file to add a unique, fully
89 qualified domain name. "localhost.localdomain" or thereabouts will not
90 work; it's qualified, but not unique. Please see the README-FQDN file
91 for details.
92 2137 Mar 25 00:58:00 localhost leafnode[10022]: Leafnode must have
93 a fully-qualified and globally unique domain name, not just
94 "localhost". Edit your /etc/hosts file to add a unique, fully
95 qualified domain name. "localhost.localdomain" or thereabouts will not
96 work; it's qualified, but not unique. Please see the README-FQDN file
97 for details.
98 2180 Mar 25 06:18:03 localhost leafnode[10838]: config: unknown
99 line 9: "host = hawat.thufir.gmail.com"
100 2181 Mar 25 06:18:03 localhost leafnode[10838]: Leafnode must have
101 a fully-qualified and globally unique domain name, not just
102 "localhost". Edit your /etc/hosts file to add a unique, fully
103 qualified domain name. "localhost.localdomain" or thereabouts will not
104 work; it's qualified, but not unique. Please see the README-FQDN file
105 for details.
106 2197 Mar 25 06:18:39 localhost leafnode[11036]: config: unknown
107 line 9: "host = hawat.thufir.gmail.com"
108 2198 Mar 25 06:18:39 localhost leafnode[11036]: Leafnode must have
109 a fully-qualified and globally unique domain name, not just
110 "localhost". Edit your /etc/hosts file to add a unique, fully
111 qualified domain name. "localhost.localdomain" or thereabouts will not
112 work; it's qualified, but not unique. Please see the README-FQDN file
113 for details.
114 2425 Mar 25 06:20:43 localhost leafnode[9741]: config: unknown line
115 9: "host = hawat.thufir.gmail.com"
116 2426 Mar 25 06:20:43 localhost leafnode[9741]: Leafnode must have
117 a fully-qualified and globally unique domain name, not just
118 "localhost". Edit your /etc/hosts file to add a unique, fully
119 qualified domain name. "localhost.localdomain" or thereabouts will not
120 work; it's qualified, but not unique. Please see the README-FQDN file
121 for details.
122 2520 Mar 25 18:12:59 localhost leafnode[30182]: config: unknown
123 line 9: "host = hawat.thufir.gmail.com"
124 2521 Mar 25 18:12:59 localhost leafnode[30182]: connect from (local
125 file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn:
126 hawat.thufir.gmail.com)
127 2522 Mar 25 18:12:59 localhost leafnode[30182]: unable to open
128 /var/spool/news/leaf.node/groupinfo: No such file or directory
129 2523 Mar 25 18:16:49 localhost leafnode[30188]: config: unknown
130 line 9: "host = hawat.thufir.gmail.com"
131 2524 Mar 25 18:16:49 localhost leafnode[30188]: connect from (local
132 file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn:
133 hawat.thufir.gmail.com)
134 2525 Mar 25 18:16:49 localhost leafnode[30188]: unable to open
135 /var/spool/news/leaf.node/groupinfo: No such file or directory
136 2530 Mar 25 18:37:30 localhost fetchnews[30246]: leafnode
137 1.11.3.rel: verbosity level is 0, debugmode is 0
138 2531 Mar 25 18:37:30 localhost fetchnews[30246]: unable to open
139 /var/spool/news/leaf.node/groupinfo: No such file or directory
140 2549 Mar 25 18:58:28 localhost leafnode[30304]: config: unknown
141 line 9: "host = hawat.thufir.gmail.com"
142 2550 Mar 25 18:58:28 localhost leafnode[30304]: connect from (local
143 file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn:
144 hawat.thufir.gmail.com)
145 2572 Mar 25 21:24:54 localhost leafnode[30753]: connect from (local
146 file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn:
147 hawat.thufir.gmail.com)
148 2573 Mar 25 21:25:24 localhost leafnode[30756]: connect from (local
149 file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn:
150 hawat.thufir.gmail.com)
151 2584 Mar 25 22:33:28 localhost leafnode[30978]: connect from (local
152 file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn:
153 hawat.thufir.gmail.com)
154 2585 Mar 25 22:33:48 localhost fetchnews[30994]: leafnode
155 1.11.3.rel: verbosity level is 3, debugmode is 0
156 2599 Mar 25 22:34:12 localhost fetchnews[30998]: leafnode
157 1.11.3.rel: verbosity level is 3, debugmode is 0
158 2614 Mar 25 22:45:26 localhost fetchnews[31017]: leafnode
159 1.11.3.rel: verbosity level is 3, debugmode is 0
160 2627 Mar 25 22:45:49 localhost fetchnews[31017]:
161 shawnews.vc.shawcable.net: reading server info from
162 /var/spool/news/leaf.node/shawnews.vc.shawcable.net
163 2630 Mar 25 22:46:20 localhost fetchnews[31019]: leafnode
164 1.11.3.rel: verbosity level is 3, debugmode is 0
165 2634 Mar 25 22:46:27 localhost fetchnews[31019]:
166 shawnews.vc.shawcable.net: reading server info from
167 /var/spool/news/leaf.node/shawnews.vc.shawcable.net
168 2638 Mar 25 22:54:24 localhost fetchnews[31054]: leafnode
169 1.11.3.rel: verbosity level is 3, debugmode is 0
170 2642 Mar 25 22:54:31 localhost fetchnews[31054]:
171 shawnews.vc.shawcable.net: reading server info from
172 /var/spool/news/leaf.node/shawnews.vc.shawcable.net
173 2645 Mar 25 22:57:36 localhost leafnode[31057]: connect from (local
174 file) (no IP) to hawat.thufir.gmail.com (no IP) (my fqdn:
175 hawat.thufir.gmail.com)
176 2764 Mar 26 12:59:32 localhost xinetd[485]: Reading included
177 configuration file: /etc/xinetd.d/leafnode-nntp
178 [file=/etc/xinetd.d/leafnode-nntp] [line=10]
179 2873 Mar 27 01:39:13 localhost fetchnews[3169]: leafnode
180 1.11.3.rel: verbosity level is 0, debugmode is 0
181 2877 Mar 27 01:39:20 localhost fetchnews[3169]:
182 shawnews.vc.shawcable.net: reading server info from
183 /var/spool/news/leaf.node/shawnews.vc.shawcable.net
184 2906 Mar 27 04:32:26 localhost fetchnews[20298]: leafnode
185 1.11.3.rel: verbosity level is 3, debugmode is 0
186 2910 Mar 27 04:32:38 localhost fetchnews[20298]:
187 shawnews.vc.shawcable.net: reading server info from
188 /var/spool/news/leaf.node/shawnews.vc.shawcable.net
189 3153 Mar 27 05:30:36 localhost fetchnews[10070]: leafnode
190 1.11.3.rel: verbosity level is 3, debugmode is 0
191 3165 Mar 27 05:31:25 localhost fetchnews[10070]:
192 shawnews.vc.shawcable.net: reading server info from
193 /var/spool/news/leaf.node/shawnews.vc.shawcable.net
194 localhost ~ # date
195 Mon Mar 27 21:30:44 IST 2006
196 localhost ~ #
197
198
199
200 thanks,
201
202 Thufir
203
204 --
205 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] telnet localhost kashani <kashani-list@××××××××.net>
Re: [gentoo-user] telnet localhost Alexander Skwar <listen@×××××××××××××××.name>