oenvoyage / brender

Brender is a distributed rendering solution for the 3D animation suite blender. A new version is developed here :
https://github.com/fsiddi/brender
38 stars 9 forks source link

client or autologin #40

Open antonvdh opened 12 years ago

antonvdh commented 12 years ago

How can the slave login the database without having lamp or wamp installed. We now need php and mysql on the slave workstation just for logging in with the connect.php script.

oenvoyage commented 12 years ago

Hello Anton, you said "we now need" ... do you mean before it was not the case ? I believe it was always like this... client also needs php and mysql.

On 28 June 2012 09:05, antonvdh < reply@reply.github.com> wrote:

How can the slave login the database without having lamp or wamp installed. We now need php and mysql on the slave workstation just for logging in with the connect.php script.


Reply to this email directly or view it on GitHub: https://github.com/oenvoyage/brender/issues/40


olivier amrein http://oenvoyage.wordpress.com company website : http://www.rgbprod.com travel photos : http://www.flickr.com/photos/oenvoyage/collections/

antonvdh commented 12 years ago

Sorry i mean we need

oenvoyage commented 12 years ago

Hehe :) well yes we need... and we are thinking on different ideas for the future. Unfortunately for now yes you will need php mysql... hope you have a nice experience with brender

On 28 June 2012 10:03, antonvdh < reply@reply.github.com

wrote:

Sorry i mean we need


Reply to this email directly or view it on GitHub: https://github.com/oenvoyage/brender/issues/40#issuecomment-6623917


olivier amrein http://oenvoyage.wordpress.com company website : http://www.rgbprod.com travel photos : http://www.flickr.com/photos/oenvoyage/collections/

antonvdh commented 12 years ago

No problem for me its just not handy with windows clients.

Some linux clients are giving these errors but did seem to work. I can enable them.

PHP Warning: fopen(logs/WL_Rood.log): failed to open stream: No such file or directory in /home/anton/brender/functions.php on line 437 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/anton/brender/functions.php on line 438 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /home/anton/brender/functions.php on line 439 PHP Warning: fopen(logs/brender.log): failed to open stream: No such file or directory in /home/anton/brender/functions.php on line 441 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/anton/brender/functions.php on line 442 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /home/anton/brender/functions.php on line 443

oenvoyage commented 12 years ago

This sounds like a permission problem... maybe check the perms on the log folder... or run as root if you are not too picky on security and your network is not too open :)

On 28 June 2012 13:34, antonvdh < reply@reply.github.com

wrote:

No problem for me its just not handy with windows clients.

Some linux clients are giving these errors but did seem to work. I can enable them.

PHP Warning: fopen(logs/WL_Rood.log): failed to open stream: No such file or directory in /home/anton/brender/functions.php on line 437 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/anton/brender/functions.php on line 438 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /home/anton/brender/functions.php on line 439 PHP Warning: fopen(logs/brender.log): failed to open stream: No such file or directory in /home/anton/brender/functions.php on line 441 PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/anton/brender/functions.php on line 442 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /home/anton/brender/functions.php on line 443


Reply to this email directly or view it on GitHub: https://github.com/oenvoyage/brender/issues/40#issuecomment-6627464


olivier amrein http://oenvoyage.wordpress.com company website : http://www.rgbprod.com travel photos : http://www.flickr.com/photos/oenvoyage/collections/

antonvdh commented 12 years ago

I see I only get these messages when I start brender_client.php WL_Red with kcron (taskmanager) same error with chmod 777 brender folders

oenvoyage commented 12 years ago

maybe -R recursive to all brender folder... or sudo brender_client.php in the cron

On 28 June 2012 14:02, antonvdh < reply@reply.github.com

wrote:

I see I only get these messages when I start brender_client.php WL_Red with kcron (taskmanager) same error with chmod 777 brender folders


Reply to this email directly or view it on GitHub: https://github.com/oenvoyage/brender/issues/40#issuecomment-6627985


olivier amrein http://oenvoyage.wordpress.com company website : http://www.rgbprod.com travel photos : http://www.flickr.com/photos/oenvoyage/collections/

antonvdh commented 12 years ago

Yes I know normally I do chmod -R 777 brender If I start brender_client.php WL_Rood I see no errors

---- brender client 0.5 ---- PHP Notice: Undefined index: os in /home/anton/brender/functions.php on line 430 2012/28/06 14:10:34 : info :
| | _ _ **| | _ | ' | '**/ \ ' \ / ` |/ _ \ '_| | |) | | | / | | | (_| | _/ |
|
./|| || ||,||_|

---- brender client 0.5 ----

INFO WL_Rood status :

2012/28/06 14:10:34 : info : computer name = WL_Rood os = linux 2012/28/06 14:10:34 : info : process id=19950 GTX580 is disabled ::
14:12:28 :: 07:00:00 / 19:00:00 ::::---- is during work hours? = 1
Zwart_HD3450 is disabled ::
14:12:28 :: 07:00:00 / 19:00:00 ::::---- is during work hours? = 1
WL_Rood is idle ::
14:12:28 :: 07:00:00 / 19:00:00 ::::---- is during work hours? = 1
OHH WL_Rood should not work, lets disable him

INFO WL_Rood status : artist@work

2012/28/06 14:10:34 : info : DISABLE

INFO WL_Rood status :

2012/28/06 14:11:13 : info : ENABLE

When I login to the brender server and click on logs I cannot find any log for WL_Rood logfile WL_Rood not found

I see there is a log file on the workstation WL_Rood itself /brender/logs/.

antonvdh commented 12 years ago

strange when I type this : anton@linux-txrl:~> cd brender anton@linux-txrl:~/brender> /usr/bin/php brender_client.php GTX580 It starting without errors except this one: PHP Notice: Undefined index: os in /home/anton/brender/functions.php on line 430

But I did define OS linux.

And when I type this : anton@linux-txrl:~> /usr/bin/php /home/anton/brender/brender_client.php GTX580 so I can start it automatically its goed wrong lots of errors?

By the way when opening the brender page then go to logs the logs are only showing when I place them on the server in brender /logs

Please fix the errors so we can also see the logs.