cannaserver






cannaserver − ããªæ¼¢åå¤æãµã¼ã

cannaserver [−d] [−u userid] [−inet] [−inet6] [−l n]
[−syslog] [−p num] [ddpath]



     ããªæ¼¢åå¤æãµã¼ãã¹ãæä¾ãã¾ããé常 cannaserver(1M)ã¯
/etc/rc ãªã©ã®ã·ã¹ãã ä¾åã®ãã¼ã¢ã³èµ·åããã»ã¹ã«ããã¦èµ·åããã
ã¦ã¼ã¶ã«ããç´æ¥èµ·åããããã¨ã¯ããã¾ããã

     cannaserver(1M)ã¯ãããã©ã«ãã§ã¯UNIXãã¡ã¤ã³ã½ã±ãããéããåä¸
ãã¹ãã®ã¯ã©ã¤ã¢ã³ãããã®æ¥ç¶ããåãä»ãã¾ããããã ãããªãã·ã§ã³
‐inetï¼ã¾ãã¯‐inet6ï¼ã«ãããTCP æ¥ç¶ãåãå¥ããããã«ãªãã¾ãã
ä¸è¨ã®ãããã®è¨å®ã§ãã£ã¦ãããã¹ããã¦ã¼ã¶åä½ã§ã¢ã¯ã»ã¹ãå¶å¾¡ãã
ããã« /etc/hosts.canna ãã¡ã¤ã«ãç¨ãããã¨ãã§ãã¾ãã

     cannaserver(1M)
ã¯èµ·åããã¨å³åº§ã«ãã©ã¼ã¯ãããã¯ã°ã©ã¦ã³ãããã»ã¹
ã¨ãªãã¾ãããããã£ã¦‘‘&’’ã«ããæ示çã«ããã¯ã°ã©ã¦ã³ãããã»ã¹ã«ã
ãå¿è¦ã¯ããã¾ããã

     cannaserver(1M) ã¯èµ·åæã« cannaserver(1M)
ã¨ã¯ã©ã¤ã¢ã³ããéä¿¡ããããã« UNIXãã¡ã¤ã³ã½ã±ãã
/var/run/.iroha_unix/IROHA[:num] ãä½æãã¾ãã ã½ã±ããã¯
cannaserver(1M) çµäºæã«èªåçã«æ¶å»ããã¾ãããcannaserver(1M) ãç°
常çµäºãããªã©ã®åå 㧠cannaserver(1M) ãåãã¦ããªãã«ããããããã½ã±ãã
ãåå¨ããå ´åã«ã¯æåã§ã½ã±ãããåé¤ãã¦ä¸ãããããããªã㨠cannaserver(1M)
ãèµ·åã§ãã¾ããã

     ã¯ã©ã¤ã¢ã³ãã使ç¨ã§ããè¾æ¸ã¯
/var/lib/canna/dic/*/dics.dir ã«ãã£ã¦æå®ãã¾ãã
ã¯ã©ã¤ã¢ã³ãå´ã®ã¦ã¼ã¶ã¯ã~/.canna
ã«ããã¦ã©ã®è¾æ¸ã使ç¨ãããæå®ã§ãã¾ãã



ddpath      è¾æ¸ã®åå¨ãããã£ã¬ã¯ããªãæå®ãã¾ãã

−d          cannaserver(1M)
            ããããã°ã¢ã¼ãã§èµ·åãã¾ããcannaserver(1M) ã¯ãã©
            ã¢ã°ã©ã³ãããã»ã¹ã¨ãã¦å®è¡ããããã°ã¬ãã« 5 ã®ãã°ãæ¨æº
            ã¨ã©ã¼åºåã«åºåããã¾ãã

−inet       cannaserver(1M) ããªã¢ã¼ããã¹ãããã®
            inetãã¡ã¤ã³ã½ã±ãããç¨ãã
            æ¥ç¶ãåãä»ããããã«ãªãã¾ãããããæå®ããªãã¨ã
            cannaserver(1M) ã¯
            UNIXãã¡ã¤ã³ã½ã±ãããç¨ãã¦ãåä¸ãã¹ãã®ã¯ã©ã¤ã¢ã³ãã¨æ¥ç¶ãããã¨
            ããã§ãã¾ããã

−inet6      IPv6ãµãã¼ããæå¹ã«ãã¾ãããããåç¬ã§æå®ããå ´åã¯ãIPv4ã§ã®æ¥ç¶ã¯
            ã§ãã¾ãããIPv4ãæå¹ã«ããã«ã¯ã‐inet ‐inet6ã¨æå®ãã¾ãã










                             ‐2‐


−l n        cannaserver(1M) ã®ãã°ã /tmp/canna.log
            ã«åºåãã¾ããn ã§ãã° ã®ã¬ãã«ãè¨å®ãã¾ããã‐
            ã°ã®ã¬ãã«ã¨ã㦠1ã5 ã®æ°åãæå® ã§ãã¾ãã

−u
            userid   cannaserver(1M)ãã©ã®ã¦ã¼ã¶ã¼ã®æ¨©éã§åä½ãããæå®ãã¾ããæå®ããªãã£ãå ´åã
            èµ·åããã¦ã¼ã¶ã¼ã®æ¨©éã§åä½ãã¾ãã

−syslog     syslogd(8)ã¸ãã°ãåºåãã¾ãããã®ãªãã·ã§ã³ãæå®ããéã¯
            /var/log/canna/CANNA?msgs ã«ã¯ãã°ã¯åºåããã¾ããã

−p num      cannaserver(1M)ã使ç¨ãããã¼ãçªå·ãé常ã®ãã®ã« +num
            ããå¤ã¨ãã¾ãã
            é常使ããããã¼ãçªå·ã¯5680ã§ãããã®ãªãã·ã§ã³ã¯ã½ã±ããã®ãã¡ã¤ã«å
            ããã³ãã°ãã¡ã¤ã«åã«å½±é¿ãã¾ããä¸è¨åç§ã



/var/run/.iroha_unix/IROHA[:num]
        ã½ã±ããã[:num]ã®é¨åã¯ã‐p ãæå®ããã¨ãã®ã¿è¿½å ããã¾ãã

/var/lib/canna/dic/*/dics.dir
        è¾æ¸ç®é²

/etc/hosts.canna
        ã¢ã¯ã»ã¹å¶å¾¡ãã¡ã¤ã«

/var/log/canna/CANNA?msgs
        ãã°ãã¡ã¤ã«ã"?" 㯠‐p ã§æå®ãã num ã§ãããã©ã«ã㯠0 ã§ãã
        ‐syslog ãæå®ããéã¯ãã®ãã¡ã¤ã«ã«ãã°ã¯åºåããã¾ããã



     cannakill(1M), cannastat(1), cannacheck(1), cshost(1)