🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.ruby
3 messages
3 total messages Started by Piotr Szwed Fri, 12 Jun 2009 09:00
spawn-fcgi.c.245: child exited with: 2, No such file or directory
#1240
Author: Piotr Szwed
Date: Fri, 12 Jun 2009 09:00
20 lines
816 bytes
Witam

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ć.

Dzięki z góry za sugestie!

/home/redmine/redmine-0.8.4# 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.245: child exited with: 2, No such file or directory
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.245: child exited with: 2, No such file or directory
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.245: child exited with: 2, No such file or directory

Re: spawn-fcgi.c.245: child exited with: 2, No such file or directory
#1241
Author: "Jaroslaw Zabiel
Date: Fri, 12 Jun 2009 10:22
12 lines
391 bytes
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

--
Jarosław Zabiełło
http://blog.zabiello.com

Re: spawn-fcgi.c.245: child exited with: 2, No such file or directory
#1245
Author: 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




Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads