🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #1245

Re: spawn-fcgi.c.245: child exited with: 2, No such file or directory

#1245
From: Piotr Szwed
Date: Sun, 28 Jun 2009 23:08
49 lines
1659 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




Message-ID: <h28m3r$s0b$1@inews.gazeta.pl>
Path: polish.pugleaf.net!archive.newsdeef.eu!mbox2nntp-pl.comp.lang.ruby.mbox.zip!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news.nask.pl!news.nask.org.pl!news.internetia.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
References: <h0suee$s01$1@inews.gazeta.pl> <op.uvemz3cn6ecmr0@storenew.ftpviewlocal.com>