lighttpd forum lighty > lighttpd + Oracle + fastcgi

Posted by Dipesh (Guest)
on 13.05.2008 19:39
Hi,

I am trying to run simple fastcgi code with Oracle and lighttpd.
It get stuck during oracle db connection. Is lighttpd + fastcgi + oracle 
proper combination?

I have same code is working fine under lighttpd + fastcgi + sybase.

do i need to define any variable in lighttpd config file?
any suggestion?


Thanks!
Dipesh
Posted by Dipesh (Guest)
on 13.05.2008 22:27
Dipesh wrote:
> Hi,
> 
> I am trying to run simple fastcgi code with Oracle and lighttpd.
> It get stuck during oracle db connection. Is lighttpd + fastcgi + oracle 
> proper combination?
> 
> I have same code is working fine under lighttpd + fastcgi + sybase.
> 
> do i need to define any variable in lighttpd config file?
> any suggestion?
> 
> 
> Thanks!
> Dipesh


OS : Linux AS3
Oracle Client  : 10.2.client
gcc : 3.2.3
Fast Cgi : 2.4.0
lighttpd : lighttpd-1.4.15

Tester code without fastcgi and lighttpd is working fine.

any help/comment is really appreciate
Posted by Olaf van der Spek
on 14.05.2008 12:19
Dipesh wrote:
> I am trying to run simple fastcgi code with Oracle and lighttpd.
> It get stuck during oracle db connection. Is lighttpd + fastcgi + oracle 
> proper combination?

Find out why your simple fastcgi code doesn't work. It's unlikely to be 
a Lighttd issue.
Posted by Dipesh (Guest)
on 14.05.2008 18:55
Olaf van der Spek wrote:
> Dipesh wrote:
>> I am trying to run simple fastcgi code with Oracle and lighttpd.
>> It get stuck during oracle db connection. Is lighttpd + fastcgi + oracle 
>> proper combination?
> 
> Find out why your simple fastcgi code doesn't work. It's unlikely to be 
> a Lighttd issue.


I have got core dump file after setting ulimit -c parameter.
As per debug info. It is aborting oracle connection due to signal 6.
I am not sure, Issue with code or lib. stand alone code is working fine( 
without lighttpd).

do we need to setup any environment variable in lighttpd config file for 
ORACLE?
Posted by Olaf van der Spek
on 14.05.2008 21:02
Dipesh wrote:
> Olaf van der Spek wrote:
>> Dipesh wrote:
>>> I am trying to run simple fastcgi code with Oracle and lighttpd.
>>> It get stuck during oracle db connection. Is lighttpd + fastcgi + oracle 
>>> proper combination?
>> 
>> Find out why your simple fastcgi code doesn't work. It's unlikely to be 
>> a Lighttd issue.
> 
> 
> I have got core dump file after setting ulimit -c parameter.
> As per debug info. It is aborting oracle connection due to signal 6.
> I am not sure, Issue with code or lib. stand alone code is working fine( 
> without lighttpd).
> 
> do we need to setup any environment variable in lighttpd config file for 
> ORACLE?

I've no idea.
What is signal 6?
Can you run strace on your app?