
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Re: Fwd: Re: Suse blues-progress?
paul arenson wrote:
> arenson@example.com:~> strace -econnect cannastat
> connect(3, {sa_family=AF_UNIX, path="/tmp/.iroha_unix/IROHA"}, 24) = 0
> connect(4, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = 0
> connect(3, {sa_family=AF_UNIX, path="/tmp/.iroha_unix/IROHA"}, 24) = 0
> connect(3, {sa_family=AF_UNIX, path="/tmp/.iroha_unix/IROHA"}, 24) = 0
> Error Disconnected
> arenson@example.com:~>
This is weird. The connect to the socket works just fine, so it does
'talk' to the cannaserver, but still says "Error Disconnected".
I am unable to get my cannaserver into a state where it does this.
My guess is that something in the early handshake between client and
server fails.
To get more info I'd suggest the following:
Open Konsole.
Use su to get root (Enter su in Konsole, hit return, enter root
password, hit return).
Use "cannakill" to stop the running cannaserver.
Use "/usr/sbin/cannaserver -d -u wnn" to start cannaserver in debug mode.
Open another Konsole.
Run "strace -econnect cannastat".
(Should be the same as above, but lets expect the worst for now)
Have a look at the debug output in the Konsole running cannaserver.
This is what I get:
|����ۡ���ǥ��쥯�ȥꥣ = /var/lib/canna/dic
|My name is melchior
|�����饽���åȤ���
|�ե�����̾:[/tmp/.iroha_unix/IROHA]
|�գΣɣإɥᥤ��ϤǤ���
|�����åȤν����ϤǤ���
|
|select()���Ԥ���
|select() returned 1
|���饤����ȤȤ���³������, fd=4
|
|select()���Ԥ���
|select() returned 1
|EUC�ץ��ȥ���Υꥯ�����Ȥ����, Ĺ��=18
|Client: <@> [1]
|Now Call ir_initialize
|�������
|UserName:[ranma]
|client:hi[3],lo[3]
|server:hi[3],lo[3]
|PROTOCOL.Version[3:3]
|����ۡ���ǥ��쥯�ȥꥣ��user/ranma:canna
|���å����γ��Ϥ�����
|
|select()���Ԥ���
|select() returned 1
|���饤����Ȥؤ��ֿ�����λ, fd=4
|
|select()���Ԥ���
|select() returned 1
|�磻�ɥץ��ȥ���Υꥯ�����Ȥ����, Ĺ��=16
|Client: <ranma@example.com(UNIX)> [0x22:0x0]
|Now Call irw_notice_group_name
|group name = "users"
|����ۡ���ǥ��쥯�ȥꥣ��user/ranma:group/users:canna
|
|select()���Ԥ���
|select() returned 1
|���饤����Ȥؤ��ֿ�����λ, fd=4
|
|select()���Ԥ���
|select() returned 1
|�磻�ɥץ��ȥ���Υꥯ�����Ȥ����, Ĺ��=4
|Client: <ranma@example.com(UNIX)> [0x1:0x1]
|Now Call GetServerInfo
|
|select()���Ԥ���
|select() returned 1
|���饤����Ȥؤ��ֿ�����λ, fd=4
|
|select()���Ԥ���
|select() returned 1
|�磻�ɥץ��ȥ���Υꥯ�����Ȥ����, Ĺ��=4
|Client: <ranma@example.com(UNIX)> [0x2:0x0]
|Now Call irw_finalize
|���å������Ĥ���
|
|select()���Ԥ���
|select() returned 1
|���饤����Ȥؤ��ֿ�����λ, fd=4
|���饤����ȤȤ���³���ڤ�, fd=4
|
|select()���Ԥ���
|select() returned 0
|EventMgr_run(): select: all sync start
|
|select()���Ԥ���
|select() returned 0
|
|select()���Ԥ���
|select() returned 0
I also have a file called "/etc/hosts.canna" containing the single line
"unix", but even if I remove it or change it to foo, my cannaserver
still works just fine.
--
Tobias PGP: http://9ac7e0bc.2ya.com
Be vigilant!
Home |
Main Index |
Thread Index