Article View: pl.comp.lang.ruby
Article #1269Re: spawn-fcgi.c.245: child exited with: 2, No such file or directory
From: Piotr Szwed
Date: Sun, 28 Jun 2009 21:08
Date: Sun, 28 Jun 2009 21:08
45 lines
2588 bytes
2588 bytes
Jaroslaw Zabiello wrote: > Dnia 12-06-2009 o 08:00:30 Piotr Szwed <szwedyx@gazeta.pl> napisał(a): > >> Nie znam w ogóle Rubiego a muszę zdeployować aplikację na tym opartą >> (Redmine). Mam problem taki jak poniżej. Nie wiem za bardzo jak w >> ogóle do tego podejść/zdebugować. > > Może by tak zacząć od http://www.redmine.org/wiki/redmine/RedmineInstall > Oczywiście, że od tego zacząłem... Ciężko było trochę znaleźć źródło problemu.. ale w końcu się udało: apt-get install lighttpd whereis spawn-fcgi spawn-fcgi: /usr/bin/spawn-fcgi potem: script/process/spawner fcgi => Starting FCGI dispatchers Checking if something is already running on 0.0.0.0:8000...NO Starting dispatcher on port: 0.0.0.0:8000 sh: /home/redmine/public/dispatch.fcgi: No such file or directory cp public/dispatch.fcgi.example public/dispatch.fcgi i udało się: script/process/spawner fcgi => Starting FCGI dispatchers Checking if something is already running on 0.0.0.0:8000...NO Starting dispatcher on port: 0.0.0.0:8000 spawn-fcgi.c.197: child spawned successfully: PID: 29646 Checking if something is already running on 0.0.0.0:8001...NO Starting dispatcher on port: 0.0.0.0:8001 spawn-fcgi.c.197: child spawned successfully: PID: 29648 Checking if something is already running on 0.0.0.0:8002...NO Starting dispatcher on port: 0.0.0.0:8002 spawn-fcgi.c.197: child spawned successfully: PID: 29650 redmine@host:~$ ps ax|grep fcgi 29646 pts/6 S 0:01 ruby /home/redmine/public/dispatch.fcgi 29648 pts/6 S 0:01 ruby /home/redmine/public/dispatch.fcgi 29650 pts/6 S 0:01 ruby /home/redmine/public/dispatch.fcgi
Technical Details
Message-ID:
<h28m3r$s0b$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<h0suee$s01$1@inews.gazeta.pl> <op.uvemz3cn6ecmr0@storenew.ftpviewlocal.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: Piotr Szwed <szwedyx@gazeta.pl> Newsgroups: pl.comp.lang.ruby Subject: Re: spawn-fcgi.c.245: child exited with: 2, No such file or directory Date: Sun, 28 Jun 2009 23:08:10 +0200 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 48 Message-ID: <h28m3r$s0b$1@inews.gazeta.pl> References: <h0suee$s01$1@inews.gazeta.pl> <op.uvemz3cn6ecmr0@storenew.ftpviewlocal.com> NNTP-Posting-Host: sub216-46.elpos.net Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1246223291 28683 85.193.216.46 (28 Jun 2009 21:08:11 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Sun, 28 Jun 2009 21:08:11 +0000 (UTC) X-User: szwedyx In-Reply-To: <op.uvemz3cn6ecmr0@storenew.ftpviewlocal.com> User-Agent: Thunderbird 2.0.0.21 (X11/20090409) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit