Forum

Error Running php-fcgi

Oscar Gomez Fuente
2 September 2009, 14:04
when I try to run php-fcgi. I have the following error:

[root@root] [/usr/etc/hiawatha]> php-fcgi
starting PHP FastCGI daemons
error redirecting stdin
PHP FastCGI daemon exited with code 256

If a make a ps, i don't see the process php-fcgi, but if i run php-fcgi again i have the next error:

[root@root] [/usr/etc/hiawatha]> php-fcgi
A PID file exists. Are FastCGI daemons already running?

when I try to run hiawatha. I have the following error:

[root@root] [/usr/etc/hiawatha]> hiawatha
Error redirecting stdin

But with the option -d run ok:

[root@root] [/usr/etc/hiawatha]> hiawatha -d &
Press Ctrl-C to shutdown the Hiawatha webserver.

Thanks !

PD: email: oscar@vista-silicon.com

Hiawatha version: 6.17
Operating System: arm926
Hugo Leisink
4 September 2009, 14:26
What kind of OS is arm926?? I guess that is your processor. What is the output of "uname -a"?
Prit
5 September 2009, 08:08
We had a similar issue when running the Hiawatha pet package created for Puppy on a puppy version that used SMP kernel.
Hugo Leisink
5 September 2009, 08:29
Is /dev/null available on your system and is it writable for normal users?
Oscar Gomez Fuente
7 September 2009, 09:55
Operating System: Linux visstrim 2.6.22.6-gd6b1f301-dirty #147 PREEMPT Thu Aug 13 17:00:03 CEST 2009 armv5tejl unknown
Oscar Gomez Fuente
7 September 2009, 09:59
I changed the permissions of /dev/null to:

crwxrwxrwx 1 root root 1, 3 Jan 1 00:00 null

and everything works OK.
Oscar Gomez Fuente
7 September 2009, 10:09
Thank you very much !
---------------------------------------------------Closed----------------------------------------------------------------------------
This topic has been closed.