弁財天

ゴフマン「専門家を信じるのではなく、自分自身で考えて判断せよ」

Cygwin Bad system call

$ ./apachectl2 -k start
./apachectl2: line 78: 3776 Bad system call $HTTPD $ARGV
$
$ cygserver-config
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!

$
サービスで"CYGWIN cygserver"を起動。
$ export CYGWIN=server
$ ./apachectl2 -k start
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
2264 1 2264 2264 con 1004 13:46:15 /usr/bin/bash
2396 1 2396 2396 ? 1004 13:55:43 /usr/sbin/httpd2
3036 2396 2396 3036 ? 1004 13:55:44 /usr/sbin/httpd2
3332 2396 2396 3332 ? 1004 13:55:44 /usr/sbin/httpd2
2880 2396 2396 2880 ? 1004 13:55:44 /usr/sbin/httpd2
3720 2396 2396 3720 ? 1004 13:55:45 /usr/sbin/httpd2
1372 2396 2396 1372 ? 1004 13:55:45 /usr/sbin/httpd2
2564 2264 2564 3856 con 1004 13:55:47 /usr/bin/ps
$
投稿されたコメント:

コメント
コメントは無効になっています。