Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Re: Suse blues-progress?



paul arenson wrote:

> I went back and reviewed some old messages from here and other places, but it 
> seems they might apply to running Linux installed in English.  I did a 
> Japanese install and have the same problem.

A 'Japanese' install is not really different from an english install
except that Japanise IME packages get installed by default and the
default language is set to Japanese.

> 3. If I use cannstat or cshost I always get the message "Error Disconnected" 

Could you try cannastat yourself?
If it does not work as a normal user try it as root.
If it does not work as root try
"strace -econnect cannastat"

This is what I get for the last line:
|connect(3, {sa_family=AF_UNIX, path="/tmp/.iroha_unix/IROHA"}, 110) = 0
                                      ^^^^^^^^^^^^^^^^^^^^^^
This one is important.
|connect(4, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
|connect(4, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)


Lookup the pid of your cannaserver:

ps -efa | grep [c]annaserver

If it is not running start it and try again.
If it is running, lookup which files it has open:

lsof -n -p pid_of_your_cannaserver

This is what I get:
|COMMAND     PID  USER   FD   TYPE     DEVICE    SIZE     NODE NAME
|cannaserv 23160 canna  cwd    DIR        3,3   24576 13041665 /home/ranma
|cannaserv 23160 canna  rtd    DIR        3,3    4096        2 /
|cannaserv 23160 canna  txt    REG        3,3  141208 11026606 /usr/sbin/cannaserver
|cannaserv 23160 canna  mem    REG        3,3   90048 11108353 /lib/ld-2.3.2.so
|cannaserv 23160 canna  mem    REG        3,3 1271388 12681220 /lib/tls/libc-2.3.2.so
|cannaserv 23160 canna  mem    REG        3,3   35140 12681228 /lib/tls/libnss_files-2.3.2.so
|cannaserv 23160 canna  mem    REG        3,3   34804 12681230 /lib/tls/libnss_nis-2.3.2.so
|cannaserv 23160 canna  mem    REG        3,3   74220 12681225 /lib/tls/libnsl-2.3.2.so
|cannaserv 23160 canna    2u   REG        3,3       0  6373651 /var/log/canna/CANNA0msgs
|cannaserv 23160 canna    3u  unix 0xcc16f540           772833 /tmp/.iroha_unix/IROHA
                                                               ^^^^^^^^^^^^^^^^^^^^^^
Here it is again
|cannaserv 23160 canna    5u   CHR     136,55               57 /dev/pts/55 (deleted)


This file (/tmp/.iroha_unix/IROHA) is a so-called unix domain socket,
which the two programs use to communicate.

If it was accidentally removed by a script, cannaserver will still have
it listed as an open file, but it won't be visible in the filesystem and
cannastat would not be able to find it.  Restarting cannaserver _should_
help in that case.

-- 
Tobias						PGP: http://9ac7e0bc.2ya.com
このメールは十割再利用されたビットで作られています。

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links