Hi Thomas,

I changed the port in the apache configuration file and indeed it worked!

Thank you so much,

Diego



On 37-01--10 02:59 PM, Thomas Dähling wrote:
> Hi Diego,
>
> Note that I am not using linux a lot lately, but what port are you
> trying to use and are you running the wt app as root or as a user?
> IIRC under linux/unix certain ports (<1024) are restricted to root
> access, so this could be the reason for why the bind() call fails with
> permission denied.
>
> HTH,
> /Thomas
>
> 2010/7/19 Diego<[email protected]>:
>    
>> Hello again,
>>
>> I am aware that the configuration options are slightly different when
>> you use FCGI or FastCGI. Either way... could anyone please guide me on
>> what needs to be configured (FCGI or FastCGI) in the apache server? I
>> made some progress during the weekend and at least now I have errors
>> like these:
>>
>> [Mon Jul 19 12:15:22 2010] [notice] FastCGI: process manager initialized
>> (pid 4341)
>> [Mon Jul 19 12:15:22 2010] [warn] FastCGI: server
>> "/var/www/localhost/htdocs/wt-examples/hello/hello.wt" started (pid 4342)
>> [Mon Jul 19 12:15:22 2010] [notice] Apache/2.2.14 (Ubuntu)
>> mod_fastcgi/2.4.6 configured -- resuming normal operations
>> [2010-Jul-19 12:15:22.408531] 4342 - [notice] "Wt: initializing FastCGI
>> session process manager"
>> [2010-Jul-19 12:15:22.409153] 4342 - [notice] "Reading Wt config file:
>> /etc/wt/wt_config.xml (location =
>> '/var/www/localhost/htdocs/wt-examples/hello/hello.wt')"
>> [2010-Jul-19 12:15:22.410171] 4342 - [notice] "Spawned session process:
>> pid = 4400"
>> [2010-Jul-19 12:15:22.410492] 4342 - [fatal] "Cannot create run
>> directory '/var/run/wt'"
>> [Mon Jul 19 12:15:22 2010] [warn] FastCGI: server
>> "/var/www/localhost/htdocs/wt-examples/hello/hello.wt" (pid 4342)
>> terminated by calling exit with status '1'
>> [2010-Jul-19 12:15:22.439073] 4400 - [notice] "Wt: initializing session
>> process"
>> [2010-Jul-19 12:15:22.439880] 4400 - [notice] "Reading Wt config file:
>> /etc/wt/wt_config.xml (location =
>> '/var/www/localhost/htdocs/wt-examples/hello/hello.wt')"
>> [2010-Jul-19 12:15:22.440444] 4400 - [fatal] "bind(): Permission denied"
>> [Mon Jul 19 12:15:27 2010] [warn] FastCGI: server
>> "/var/www/localhost/htdocs/wt-examples/hello/hello.wt" restarted (pid 4401)
>> [2010-Jul-19 12:15:27.439294] 4401 - [notice] "Wt: initializing FastCGI
>> session process manager"
>> [2010-Jul-19 12:15:27.439933] 4401 - [notice] "Reading Wt config file:
>> /etc/wt/wt_config.xml (location =
>> '/var/www/localhost/htdocs/wt-examples/hello/hello.wt')"
>> [2010-Jul-19 12:15:27.440937] 4401 - [notice] "Spawned session process:
>> pid = 4403"
>> [2010-Jul-19 12:15:27.441198] 4401 - [fatal] "Cannot create run
>> directory '/var/run/wt'"
>> [Mon Jul 19 12:15:27 2010] [warn] FastCGI: server
>> "/var/www/localhost/htdocs/wt-examples/hello/hello.wt" (pid 4401)
>> terminated by calling exit with status '1'
>> [2010-Jul-19 12:15:27.468224] 4403 - [notice] "Wt: initializing session
>> process"
>> [2010-Jul-19 12:15:27.469188] 4403 - [notice] "Reading Wt config file:
>> /etc/wt/wt_config.xml (location =
>> '/var/www/localhost/htdocs/wt-examples/hello/hello.wt')"
>> [2010-Jul-19 12:15:27.469770] 4403 - [fatal] "bind(): Permission denied"
>>
>>
>> I checked /var/run/wt and it is writable though....
>>
>> I think I am missing something obvious but again I am not an expert.
>>
>> Thanks,
>>
>> Diego
>>
>>
>>
>>
>> On 37-01--10 02:59 PM, [email protected] wrote:
>>      
>>>> Sorry for the repost but the mail list bounced my message. It showed me
>>>> it didn't go through completely (weird).
>>>> ---
>>>> Hi there,
>>>>
>>>> I am trying to deploy my wt demo in a apache2 + fastcgi (ubuntu)
>>>> environment. I am following the instructions that are posted in the
>>>> website:
>>>> http://www.webtoolkit.eu/wt/doc/reference/html/Installation.html
>>>>
>>>> However when I click on hello.wt (as I am trying one of the examples),
>>>> the browser says:
>>>>
>>>> You have chosen to open: hello.wt
>>>> which is a BIN file from: http://localhost
>>>>
>>>>
>>>> 1.I checked that fastcgi is enabled (I did a2enmod fastcgi and I checked
>>>> in the mods-enabled directory)
>>>>
>>>> 2.I added the directive FastCGIServer in /etc/apache2/mods-available:
>>>> FastCgiServer /var/www/localhost/htdocs/wt-examples/hello/hello.wt
>>>>
>>>> 3. I restarted apache with /etc/init.d/apache2 restart
>>>>
>>>> 4. Nothing, I still keep getting the same error.
>>>>
>>>> On a different note, is it better to use FCGI instead of FastCGI? Can Wt
>>>> work with FCGI?
>>>>
>>>> Thank you,
>>>>
>>>> Diego
>>>>
>>>>
>>>>
>>>>          
>>> Hello Diego,
>>>
>>> I don't know for FastCGI but I use FCGI with success with Wt applicatons :)
>>>
>>> Jean-Michel
>>>
>>> ------------------------------------------------------------------------------
>>>
>>>        
>>>> 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 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 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

Reply via email to