Closed maxli1 closed 11 years ago
Hi.
blender --engine help
- it is not a CGRU or Afanasy problem.Are you launching all programs under the "root" user? Why? Any cgru-afanasy tools should not be launched under the root, as most other Linux applications and tools.
I rememer lanching two progreams in the server and render machine. install_afserver.sh ,cgru/setup.sh , install_afrender.sh and cgru/setup.sh. Do you mean that I should install software and lanch programs under common user which is like render?
I also want to upload my config files to you. Those would be helpful.
Rener farm architecture one Afanasy server: ip 192.168.152.6. Centos 6.3 just installed afserver two afrender server : ip 192.168.152.4 192.168.152.2 Centos6.3 just installed afrender one Client workstation: 192.168.152.7 centos 6.3 installed afrender and cgru.
Comment: all servers are virtual machines.
Best regards
Dennis Ma
Date: Tue, 15 Jan 2013 00:14:01 -0800 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] OS and enviroment requirments (#48)
Hi.
Are you launching all programs under the "root" user? Why? Any cgru-afanasy tools should not be launched under the root, as most other Linux applications and tools.
¡ª
Reply to this email directly or view it on GitHub.
You should install cgru linux packages under the root, like other linux packages. And use them not under the root. It is a common Unix workflow.
Also to use afanasy with blender, you should run with cgru setup. There are several ways to do it. 1 Setup console and run blender command. 2 Use start_blender.sh script in cgru/software setup. 3 Launch blender from keeper (system tray cgru icon with menu)
Sir,
[root@afancy blender]# pwd /opt/cgru/afanasy/plugins/blender [root@afancy blender]# python render_afanasy.py File "render_afanasy.py", line 216 return {'CANCELLED'} ^ SyntaxError: invalid syntax [root@afancy blender]#
any suggestion ?
Date: Tue, 15 Jan 2013 01:29:59 -0800 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] OS and enviroment requirments (#48)
I did not got your issue. Are you afraid of an error "connect failed: No such file or directory" - this is some blender message, i don`t know why it appear. How do you configured it? Can you copy&paste a line of the config. You are looking in cgru/plugins folder, look in cgru/afanasy/plugins folder. You should install cgru linux packages under the root, like other linux packages. And use them not under the root. It is a common Unix workflow.
¡ª
Reply to this email directly or view it on GitHub.
To install a blender plugin (any) go to "User Preferences" - > "Addons" -> "Install Addon...". And locate a file /opt/cgru/afanasy/plugins/blender/render_afanasy.py
thanks , I will try soon.
I suppose you viewed configurations in the attachments. Are those right ?
Date: Thu, 17 Jan 2013 01:22:40 -0800 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] OS and enviroment requirments (#48)
To install a blender plugin (any) go to "User Preferences" - > "Addons" -> "Install Addon...". And locate a file /opt/cgru/afanasy/plugins/blender/render_afanasy.py
¡ª
Reply to this email directly or view it on GitHub.
i do not see any attachments
Cloud you check them for me? I just change it a little, like server ip. service can run but there is no any service port to open, like 51000, 51001. keeper can't connect to afserver. it reported error, like can't not conncection server .etc.
thank you inadvance.
Date: Thu, 17 Jan 2013 01:22:40 -0800 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] OS and enviroment requirments (#48)
To install a blender plugin (any) go to "User Preferences" - > "Addons" -> "Install Addon...". And locate a file /opt/cgru/afanasy/plugins/blender/render_afanasy.py
¡ª
Reply to this email directly or view it on GitHub.
Where is your configs? I no not see them anywhere.
Did you installed afanasy-server linux package?
I encosed all configurations in the attachmnts and send them witih issue description by e-mail. If you aren't able to get them, I can send them to your alternative e-mail box.
I am sure I installed Afanasy-server linux package. I also checed service by ps command. The service afserver was running, but no any relative service port are opened. I remember describing my Cgru test enviroment. 192.168.152.6 afserver run ./install_afserver.sh 192.168.152.2 afrender run ./install_afrender.sh 192.168.152.4 afrender run ./install_afrender.sh 192.168.152.7 Cgru_workstation run ./install_cgru.sh
All servers are openstack virtual machines. I just put afserve IP into he config.json files in the each directories and machines. I did a little. But the didn't work well.
Best regards
Dennis Ma
Date: Thu, 17 Jan 2013 01:38:15 -0800 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] OS and enviroment requirments (#48)
Where is your configs? I no not see them anywhere.
Did you installed afanasy-server linux package?
¡ª
Reply to this email directly or view it on GitHub.
On what email you send attachments? So, you install afanasy-server package, see afserver in processes list, and afserver did not opened 51000 port? What is afserver log?
cat /var/tmp/afanasy/afserver.HOSTNAME.log
May be firewall does not allow it to open a port.
I sent configuraton files to this e-mail box (reply@reply.github.com ) for two times before.
I am sorry to not check this log, becasue I am not familiar with Afanasy, I don't know where log is. I checked one log which I forgot where it is. It reported sda error that I mentioned ever before.
I am going to intall them again. Would you tell me how to configure afrender configuration file, afserver confinguration file and cgru configuration file? just give me key points which I need to change and what do those mean? So It helps me to understand them.
Thanks
Dennis Ma
Date: Mon, 21 Jan 2013 00:15:24 -0800 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] OS and enviroment requirments (#48)
On what email you send attachments?
So, you install afanasy-server package, see afserver in processes list, and afserver did not opened 51000 port?
What is afserver log?
cat /var/tmp/afanasy/afserver.HOSTNAME.log
May be firewall does not allow it to open a port.
¡ª
Reply to this email directly or view it on GitHub.
So, you install afanasy-server package, see afserver in processes list, and afserver did not opened 51000 port?
yes. I don't know why.
Date: Mon, 21 Jan 2013 00:15:24 -0800 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] OS and enviroment requirments (#48)
On what email you send attachments?
So, you install afanasy-server package, see afserver in processes list, and afserver did not opened 51000 port?
What is afserver log?
cat /var/tmp/afanasy/afserver.HOSTNAME.log
May be firewall does not allow it to open a port.
¡ª
Reply to this email directly or view it on GitHub.
reply@reply.github.com - where you got such address? You can use an address specified here: http://cgru.info/#contacts.html Or just copy&paste log and config here.
Sir,
I opened a issue in the github forum. I got answers by e-mail way. So I think it could be your e-mailbox. Base your hint, I find an e-mailbox (cgruafanasy@gmail.com). Is it right? I would sent attachments to this. Otherwise, I find a issue here too. After I edited config.json, and rebooted server I found ther afsever opened 50000 port and afrender opened 50001. I am sure I didn't change port in the configuration files.
[root@afancy ~]# afserver Compilation date = 'Dec 21 2012 14:41:29' CGRU version = '' Python version = '2.6.6' GCC version = '4.4.6' Config file does not exist: /opt/cgru/config_default.json Config file does not exist: /root/.cgru/config.json AFERROR: AFDB_JobRegister: Database connect failed: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? System job constructed. Database connection "AFDB_update_task" is not working. Database connection "AFDB_update" is not working. Available addresses: IP = '0.0.0.0' IPv6 = '::' Using IPv6 addresses family. IPv4 connections addresses will be mapped to IPv6. Listening 50000 port...
Best regards
Dennis Date: Mon, 21 Jan 2013 01:21:31 -0800 From: notifications@github.com To: cgru@noreply.github.com CC: maxli988@hotmail.com Subject: Re: [cgru] OS and enviroment requirments (#48)
reply@reply.github.com - where you got such address?
You can use an address specified here: http://cgru.info/#contacts.html
Or just copy&paste log and config here.
¡ª
Reply to this email directly or view it on GitHub.
Hi, I got some issues that like these: 1.[root@blender2 Desktop]# blender --engine help connect failed: No such file or directory found bundled python: /usr/blender-2.65a-linux-glibc211-x86_64/2.65/python Blender Engine Listing: BLENDER_RENDER BLENDER_GAME CYCLES [root@blender2 Desktop]#
2.[root@blender1 bin]# ./afrender Creating folder: /root/.cgru Compilation date = 'Dec 21 2012 14:40:18' CGRU version = '1.6.10' Afanasy build revision = '62879bdf9b7f00967b839747d40bcbf088af9a3f' Python version = '2.6.6' GCC version = '4.4.6' Config file does not exist: /opt/cgru/config.json Config file does not exist: /root/.cgru/config.json Network Interfaces: eth0: fa:16:3e:42:5d:c9 IPv4 Address: 192.168.152.2 IPv6 Address: fe80::::f816:3eff:fe42:5dc9 unable to find statistics about 'sda' in '/proc/diskstats'.unable to find statistics about 'sda' in '/proc/diskstats'. ON
Gcc: gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) Pytond: [root@blender1 plugins]# python -V Python 2.6.6
Blender : [root@blender2 Desktop]# blender -v Blender 2.65 (sub 0) build date: 2012-12-19 build time: 13:10:31 build revision: 53177 build platform: Linux:64bit build type: Release build c flags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -DNDEBUG -O2 -msse -msse2 -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -DLITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI build c++ flags: -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -fpermissive -DSTDC_CONSTANT_MACROS -DNDEBUG -O2 -msse -msse2 -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -D__LITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI build link flags: -lrt build system: SCons
Could you help me out those issues ? I wonder to finish Afansy test within this week, however, at starting, I encountered those issues. :( I don't know how I assign this issue to a right person yet. :(