ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Konstantin N. Bezruchenko" <bk@is.net.ua>
To: community@altlinux.ru
Subject: Re: [Comm] mod_fastcgi "из коробки"
Date: Wed, 15 Jan 2003 15:09:34 +0200
Message-ID: <3E255D8E.7060107@is.net.ua> (raw)
In-Reply-To: <3E255B90.7090701@is.net.ua>

Konstantin N. Bezruchenko wrote:
> Добрый день, уважаемые!
> 
> Поставил mod_fastcgi и что-то "из коробки" он не заработал.
> Может ткнет меня носом что не так.
> 
> Ситуация следующая:
> $ ls -la /var/www/fcgi-bin/
> total 16
> drwxrws--x    2 root     webmaster     4096 Янв 15 00:03 .
> drwxr-xr-x    6 root     webmaster     4096 Янв 14 23:38 ..
> -rwxr-xr-x    1 root     webmaster      148 Янв 14 23:50 printenv.cgi
> -rwxr-xr-x    1 root     webmaster      757 Янв 14 23:45 test.cgi
> 
> 
> $ cat /var/www/fcgi-bin/printenv.cgi
> #!/usr/bin/perl
> ##
> ##  printenv -- demo CGI program which just prints its environment
> ##
> 
> print "Content-type: text/html\n\n";
> print "it worked\n";
> 
> Хэндлеры fast-cgi для .cgi добавил
> 
> Пытаюсь обратится к скрипту и получаю в error-log:
> 
> 
> [Wed Jan 15 14:59:57 2003] [warn] FastCGI: (dynamic) server 
> "/var/www/fcgi-bin/printenv.cgi" restarted (pid 2122)
> Content-type: text/html
> 
> it worked
> [Wed Jan 15 14:59:57 2003] [warn] FastCGI: (dynamic) server 
> "/var/www/fcgi-bin/printenv.cgi" (pid 2122) terminated by calling exit 
> with status '0'
> 
> 
> И так в цикле пока по 500 ошибке не отвалится

P.S
Еще в логах увидел что:

[Wed Jan 15 15:05:13 2003] [notice] FastCGI: process manager initialized 
(pid 2544)

Но:

$ ps axf | grep 2544
  2544 ?        S      0:00  \_ /usr/sbin/fcgi- -DHAVE_HTTPD 
-DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS 
-DHAVE_AUTH -DHAVE_AUTH_ANON -DHAVE_AUTH_DB -DHAVE_AUTH_DIGEST 
-DHAVE_AUTOINDEX -DHAVE_CERN_META -DHAVE_CGI -DHAVE_DEFINE -DHAVE_DIGEST 
-DHAVE_DIR -DHAVE_ENV -DHAVE_EXAMPLE -DHAVE_EXPIRES -DHAV

А в /usr/sbin нету никаких бинарников fcgi* :(
Где их брать?

-- 
Konstantin N. Bezruchenko
CJSC "Internet-Service"
BK5536-RIPE



  reply	other threads:[~2003-01-15 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-15 13:01 Konstantin N. Bezruchenko
2003-01-15 13:09 ` Konstantin N. Bezruchenko [this message]
2003-01-17 13:57 ` [Comm] " Alexey Tourbin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E255D8E.7060107@is.net.ua \
    --to=bk@is.net.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git