■掲示板に戻る■ 1- 最新10

レス数が950を超えています。1000を超えると表示できなくなるよ。

初心者もOK! FreeBSD質問スレッド その8

[621:名無しさん@お腹いっぱい。 (01/11/17 15:00)]
>>619
cannaserverは今、自分が使っているマシーンで立ち上げているよ。
(マシーンは一台しかないのね)
>んとさ、もしかして cannaserver が立ち上がってるマシンって、
>ゲートウェイで NIC 2枚差しとかしてない?
NIC?うーん、2枚さしとかはしてないと思う。
ほかによく初心者がやりそうな間違いないかな・・・


[622:615 (01/11/17 15:09)]
>>621
cannastat -cannaserver localhost
の結果は?

telnet localhost 5680 とするとどうなる?
 Escape character is '^]'.
となって止まったら OK。Ctrl-](Enter)quit(Enter) で
抜けられる。


[623:名無しさん@お腹いっぱい。 (01/11/17 15:21)]
>>622
>cannastat -cannaserver localhost
>の結果は?
Connected to localhost
Canna Server(Ver.3.2)
No cliants
です
>telnet localhost 5680 とするとどうなる?
localhost5680:No adress associated with hostname
です。


[624:名無しさん@お腹いっぱい。 (01/11/17 15:27)]
>>623
引用にtypoが多いと、ちゃんと入力してるのか心配になっちゃうよ。
「telnet localhost 5680」ってlocalhostと5680の間にもスペース
入ってるけど大丈夫?
あと、「grep localhost /etc/hosts」「grep canna /etc/services」
「cat /etc/host.conf」の結果も教えてちょーだい。


[625:名無しさん@お腹いっぱい。 (01/11/17 15:53)]
>>624
>引用にtypoが多いと、ちゃんと入力してるのか心配になっちゃうよ。
>「telnet localhost 5680」ってlocalhostと5680の間にもスペース
ごめんさい。
結果は
#telnet localhost 5680
trying ::1...
telnet:connect to adress ::1: Connection refused
Trying127.0.0.1...
Connected to localhost.***********
Escape character is '^]'.
です。ちゃんとなってました。ごめんなさい。


>あと、「grep localhost /etc/hosts」「grep canna /etc/services」
>「cat /etc/host.conf」の結果も教えてちょーだい。
#grep localhost /etc/hosts
::1 localhost.********* localhost
127.0.0.1 localhost.********* localhost

*********はドメイン名です。

#grep canna /etc/services
canna 5680/tcp #Canna(Jananese Input)

#cat /etc/host.conf
$FreeBSD: src/etc/host.conf,v 1.6 1993/08/27 23:23:41 perter Exp $
First try /etc/hosts file
hosts
Now try the nameserver next
bird
If ypu have YP/NIS configured, uncomment the next line
nis

です。


[626:名無しさん@お腹いっぱい。 (01/11/17 16:03)]
>>625
/etc/hosts の ::1 の行を消すと?
つーか、typo 多い。


[627:615 (01/11/17 16:09)]
うーむ。環境変数 CANNAHOST を設定せずに
 truss cannastat |& grep socket (csh か tcsh でやってね)
はどうかね。そしたら
 socket(0x1,0x1,0x0)
となる? それとも
 socket(0x2,0x1,0x0)
となる?

# 0x1 が AF_LOCAL、0x2 が AF_INET。


[628:名無しさん@お腹いっぱい。 (01/11/17 16:20)]
>>626
>/etc/hosts の ::1 の行を消すと?
再起動して確認してみたけど、同じやった。
cannastatも"Error Disconnected " です。


[629:名無しさん@お腹いっぱい。 (01/11/17 16:23)]
>>627
socket(0x1,0x1,0x0) =3(0x3)

ってなりました。どうでしょうか?


[630:615 (01/11/17 16:27)]
>>629
じゃあ、cannastat はポート 5680 の方じゃなくて、
/tmp/.X11-unix/ の方を見にいってる。

% ls -ld /tmp /tmp/.X11-unix
% ls -l /tmp/.X11-unix
の結果は?

root で cannaserver 殺して、rm -rf /tmp/.X11-unix して、
再度 cannaserver 立ち上げてから cannastat するとどう?

これで手がかりなしならお手上げじゃ…。


次10 前10 最新10
NAME:MAIL:

read.cgi ver5.26+ (01/10/21-)