Hello Cristian,

It looks to me that you compiled your hello.wt with the httpd
connector, not with the fcgi connector. This means that your hello.wt
is in fact a standalone web server. Try to run it as 'hello.wt
--docroot=. --http-address=0.0.0.0 --http-port=8080' and then surf to
port 8080.

If you want to compile the examples as fcgi applications, make sure
that it is built (cmake will report if it can't build the fcgi
connector due to missing include files or libraries), and then set
EXAMPLES_CONNECTOR to wtfcgi (run cmake with
-DEXAMPLES_CONNECTOR=wtfcgi)

Regards,
Wim.

2010/9/7 Cristian Test <[email protected]>:
> Hello colleagues,
>
> I have to admit, that I have a similar problem. Maybe it's easy (Document
> root ("") not valid) and I can get some help.
> Many thanks for your time.
>
> [Tue Sep 07 00:57:55 2010] [warn] Init: Session Cache is not configured
> [hint: SSLSessionCache]
> [Tue Sep 07 00:57:55 2010] [notice] FastCGI: process manager initialized
> (pid 13672)
> [Tue Sep 07 00:57:55 2010] [warn] FastCGI: server
> "/srv/www/htdocs/wt-examples/hello/hello.wt" started (pid 13674)
> [Tue Sep 07 00:57:55 2010] [notice] Apache/2.2.15 (Linux/SUSE)
> mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.2 mod_fastcgi/2.4.2 configured --
> resuming normal operations
> stat: No such file or directory
> Document root ("") not valid.
> [Tue Sep 07 00:57:55 2010] [warn] FastCGI: server
> "/srv/www/htdocs/wt-examples/hello/hello.wt" (pid 13674) terminated by
> calling exit with status '1'
>
> ................
> Cristian
>
>
> 2010/7/22 Zhimin Song <[email protected]>
>>
>> hi, again :-)
>> may be you should be sure that restart apache2 AFTER mkdir and chown
>> Best Regards
>> Zhimin
>>
>> 2010/7/22 Diego <[email protected]>
>>>
>>> Hi again!
>>>
>>> I did this :
>>>
>>> 1. rm -R /var/lib/apache2/fastcgi
>>> 2. a2dismod fastcgi
>>> 3. a2enmod fastcgi
>>> 4. /etc/init.d/apache2 restart
>>>
>>> I tried again an this time everything worked fine..... Why?? Does anyone
>>> have a reasonable explanation?
>>>
>>> Thanks,
>>>
>>> Diego
>>>
>>>
>>> On 10-07-21 06:52 PM, Diego wrote:
>>> > Hi!
>>> >
>>> > I am trying to run hello.wt with FastCGI on Apache2 + Ubuntu Linux
>>> > 10.04
>>> >
>>> > 1. I changed the port to 9999 but I still get:
>>> >
>>> > [2010-Jul-21 18:43:42.034382] 8548 - [fatal] "bind(): Permission
>>> > denied"
>>> >
>>> > So I am guessing it is not because of the port anymore...
>>> >
>>> >
>>> > 2. I checked and www-data [which is the 'apache' user on ubuntu]
>>> > creates the directory /var/run/wt but I still get:
>>> >
>>> > [2010-Jul-21 18:43:42.004391] 8546 - [fatal] "Cannot create run
>>> > directory '/var/run/wt'"
>>> >
>>> > I am honestly lost here. Has anyone seen something like this before?
>>> >
>>> > Thanks,
>>> >
>>> > Diego
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Sprint
>>> What will you do first with EVO, the first 4G phone?
>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>> _______________________________________________
>>> witty-interest mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>>
>>
>> --
>> 想更多了解宋志民,请访问:http://cszhmsong.wealink.com/
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> witty-interest mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to