cygwin "Bad System Call"
ä¸è¨ã®å 容ãä¼ç¤¾ã®cygwinã§ãå®ç¾ãããã¨æã£ãã¨ããApacheãèµ·åããã¨ããªãè¬ãªã¨ã©ã¼ã«ãªãã
% apachectl2 start Bad System Call $HTTPD -k $ARGV %
ããè¨ãã°ä»¥åãåãã¡ãã»ã¼ã¸ãè¦ããã¨ããã£ããã©ããã£ã¦è§£æ±ºããã£ãï¼ã¨æãå度調ã¹ããå¿ããªãããã«æ¸ãã¦ããã
(no)server - è¨å®ãããå ´åãã¯ã©ã¤ã¢ã³ãã¢ããªã±ã¼ã·ã§ã³ã¯ Cygserver ã®æ©è½ãå©ç¨ãã¾ãããã®ãªãã·ã§ã³ã¯æ示çã«ã¯ã©ã¤ã¢ã³ããµã¤ãã§æå¹åãããã¹ããã®ã§ãããããã§ãªããã°ã¢ããªã±ã¼ã·ã§ã³ã¯ XSI IPC é¢æ°å¼ã³åºã(msggetãsemgetãshmget åã³ããã«é¡ãããã®)ãå©ç¨åºæ¥ã¾ãããè¨å®ããã¦ããªãå ´åããããã®é¢æ°ç¾¤ã¯ ENOSYS(Bad system call)ãè¿ãã§ãããã
ã¨ãããã¨ã§ãApacheã«éããmsgget, semget, shmgetçã®é¢æ°ã使ãããã°ã©ã ãå®è¡ããããã«ã¯ãCygserverãæå¹ã«ããä¸ã§ãCYGWINç°å¢å¤æ°ã«serverãæå®ããå¿ è¦ããããCygserverãæå¹ã«ããããã«ã¯ãã¾ãã·ã§ã«ã§cygserver-configãå®è¡ãããã¤ãã§ãnet start cygserverãå®è¡ããããããããããã¾ããããªããã°PCãåèµ·åããã°è¯ãããã®æä½ã¯ä¸åº¦è¡ãã°ä»¥éã¯ä¸è¦ã ã
% cygserver-config Overwrite existing /etc/cygserver.conf file? (yes/no) yes Generating /etc/cygserver.conf file Warning: The following function requires administrator privileges! Do you want to install cygserver as service? (Say "no" if it's already installed as service) (yes/no) yes The service has been installed under LocalSystem account. To start it, call `net start cygserver' or `cygrunsrv -S cygserver'. Further configuration options are available by editing the configuration file /etc/cygserver.conf. Please read the inline information in that file carefully. The best option for the start is to just leave it alone. Please keep in mind, that a client application which wants to use the services provided by cygserver *must* have the environment variable CYGWIN set so that it contains the word "server". So, if you don't need any other special CYGWIN setting, just set it to "server". It is advisable to add this setting to the Windows system environment. Basic Cygserver configuration finished. Have fun! %
ããã§æ¸ããå
容ã¯"bad system call" cygserverã®ããã«æ¤ç´¢ããã¨è©²å½ãããã®ãå¤æ°è¦ã¤ãããã"bad system call" apacheã®ããã«æ¤ç´¢ãã¦ããªããªããã©ãã¤ããªããè¿·ããéãæããããã¨ãï¼ãªãã¦ï¼ã