21)
Message boards :
Server programs :
how to create my own boinc project...
(Message 17959)
Posted 19 Jun 2008 by Kunsheng Chen Post: I found out the problem finally. There are some fatal errors in the template in the instruction I followed so far. The following link is workable: http://www.linux-magazine.com/issue/71/Distributed_Applications_With_BOINC.pdf Hope it will help new comers. |
22)
Message boards :
Server programs :
how to create my own boinc project...
(Message 17923)
Posted 17 Jun 2008 by Kunsheng Chen Post: Thank you, peter. The link you gave me is great helpful. I appreciate it. Hi, the sequence goes (roughly and summarised), install the boinc server, run /tools/make_project and then ./bin/create_work. There is lots of info on this on various wikis but I found this article very useful and consice. |
23)
Message boards :
BOINC client :
boinc_client failed ----- gstate.init() failed:181
(Message 17834)
Posted 12 Jun 2008 by Kunsheng Chen Post: I made a directory 'boinc_test' under project directory and try to run boinc_client but got message below:
I found a same problem here http://setiweb.ssl.berkeley.edu/sah/forum_thread.php?id=36336 because of a boinc version 4. I am using boinc version 5, really don't know what is happening. Appreciate any idea from you. Thanks. |
24)
Message boards :
Server programs :
how to create my own boinc project...
(Message 17824)
Posted 12 Jun 2008 by Kunsheng Chen Post: Also I have a question is that can I change content index.php directly for simple application (such as show the current time of the machine). Or I should create a project for that? Thanks. |
25)
Message boards :
Server programs :
how to create my own boinc project...
(Message 17822)
Posted 12 Jun 2008 by Kunsheng Chen Post: I set up a boinc server. (hopefully, the first content is 'relpace with project name', it's successful, isn't?) Here is the link http://canis.csc.ncsu.edu:8005/boinc_test/. Then I tried to run the sample app upper_case, everything goes on well according to the instruction except create_work,
I set the file number into 0 in the wu template the first time and second time for 1, neither worked. Also I can't find anything in table workunit in the database. And then when I try to access the web page, the content hasn't changed at all. I don't know whether because I failed to create the work so the web page content doesn't change (but it should be changed to error message,isn't ?) or I have to do something else to create the project? I am totally new to this project creating thing. Appreciate any help from you. Thank you. |
26)
Message boards :
Server programs :
Could not load language interface. This is a fatal error, exiting.
(Message 17818)
Posted 12 Jun 2008 by Kunsheng Chen Post: Thank you. I got it fixed. The package 'gettext' is missing in the machine. use apt-get to install it and everything is good now. I copied file 'language_interface.inc' from others and put it in the directory. Still doesn't work ,the same error. Does anyone know what is happening? |
27)
Message boards :
Server programs :
Could not load language interface. This is a fatal error, exiting.
(Message 17813)
Posted 12 Jun 2008 by Kunsheng Chen Post: I copied file 'language_interface.inc' from others and put it in the directory. Still doesn't work ,the same error. Does anyone know what is happening? |
28)
Message boards :
Server programs :
Could not load language interface. This is a fatal error, exiting.
(Message 17786)
Posted 11 Jun 2008 by Kunsheng Chen Post: Hello everyone, I built the website up and use chmod to fix the privilege problem. Finally I got into this bedlam, or might be the last step. The error occurred in the page:
This information is caused by the file translation.inc under directory $projectName/html/inc, since the project could not find the file '/$projectName/html/languages/compiled/language_interface.inc'. I tried to create another new project and still, no 'language_interface.inc' file there anyway. I don't know whether there is any mistake during the steps. Also does anyone have that 'language_interface.inc' file? I think its content is constant in the software. Hope someone could help me to kick out this door. Thank you. |
29)
Message boards :
Server programs :
create_work doesn't work...
(Message 17753)
Posted 9 Jun 2008 by Kunsheng Chen Post: Hello, I followed the link http://www.boinc-wiki.info/Creating_a_Project_-_Creating_work to create a work for existing project 'upper_case' Sorry, I got it. I mistook the project name 'upper_case' for 'uppser_case'... Thank you anyway |
30)
Message boards :
Server programs :
create_work doesn't work...
(Message 17751)
Posted 9 Jun 2008 by Kunsheng Chen Post: Hello, I followed the link http://www.boinc-wiki.info/Creating_a_Project_-_Creating_work to create a work for existing project 'upper_case' Everything goes well except the message 'create_work: app not found' below:
Does anyone know what it means? Can not find the application 'create_work'? Or can't find data table 'app' in the database? Actually they are there, so I am really confused about it. Thanks. |
31)
Message boards :
Server programs :
Don't have permission to the project URL through web browser
(Message 17748)
Posted 9 Jun 2008 by Kunsheng Chen Post: I did the following things to test a boinc server. Before that I created a project named 'test1' successfully and the following command didn't have any error message when running: (Also I have boinc_client and boinc_cmd copied in the directory 'boinc_test' before)
However I could not access the website after all this. Information is simple:
I think it's privilege problem but just can' t figure out what it is. Could any one help me? Thanks for all your help |
32)
Message boards :
Server programs :
./make_project script created database successfully ,but not the whole projec
(Message 17726)
Posted 7 Jun 2008 by Kunsheng Chen Post: Upgrade to the latest version. There was an error in schema.sql Thank you,Nic. I redownloaded all the files and the response is like this:
That means I got it done finally. Isn't it? I am still a little confused by the instruction in the readme file, the second step.
What does it really mean? I have no idea what to do by it Thank! It really help me! |
33)
Message boards :
Server programs :
./make_project script created database successfully ,but not the whole projec
(Message 17683)
Posted 5 Jun 2008 by Kunsheng Chen Post: I used 'make_project' to create a project but strange things happened: The script did create database and 31 tables in it inside mysql, however I could not find the file $projectname.httpd.conf under the project directory (which ought to be combined with httpd.conf under apache2 later) Also the message come after the script ran . The message is as below:
I did grant all privileges to the user 'kchen3', also I set up PYTHONPATH as '/osr/users/kchen3/boinc/py' in ~./bashrc, which should be correct setting. Does anyone have some idea? I appreciate any help here. Thank you. |
34)
Message boards :
Server programs :
Could anyone tell me where is PYTHONPATH in ubuntu?
(Message 17679)
Posted 5 Jun 2008 by Kunsheng Chen Post: Files whose name begins with a dot are hidden by default as they are "clutter". You can see dotfiles by using "ls -a" wow..thank you for your instant reply. Do you have any idea for the second problem? I first login a machine with username@while: and then ssh -X url -p [port] to ssh the remote server. Then the prefix becomre username@lobo, After that I fun svn ** something like that to get boinc resource but now it seems I download it in the @while machine for so long.. How could I get that in the server? I mean the prefix is username@lobo and I run everything after that, really don't know why it downloaded to the @while machine.. |
35)
Message boards :
Server programs :
Could anyone tell me where is PYTHONPATH in ubuntu?
(Message 17677)
Posted 5 Jun 2008 by Kunsheng Chen Post: It's okay if ~/.bashrc doesn't already exist. Open it in a text editor like this: Thank you. It works. when I run 'gedit ~/bashrc', I found the file actually exits.. which I can't see using 'ls'. Also I am a little confused about I m doing: I login a workstation in ubuntu and use the terminal to ssh the remote server installed ubuntu too. Whenever I type 'ls' inside the terminal, it shows the files in the original workstation, but I did successfully login in the remote server (I can tell from the prefix username@machinename). I am totally new to Linux system and I don't know why. Is that normal? All I do must be in the server, hope I am right now. Thanks. |
36)
Message boards :
Server programs :
Could anyone tell me where is PYTHONPATH in ubuntu?
(Message 17667)
Posted 5 Jun 2008 by Kunsheng Chen Post: I screwed up with the previous ubuntu server and is trying on a new one. The first problem for me is to set up 'PYTHONPATH' correctly according to my mate. I search online and found PYTHONPATH should be in './bashsrc' , which I don't have in /etc but another similar 'bash.bashsrc'. Could anyone tell me is this 'bash.bashsrc' the one I need? It's an emergency for me and I really appreciate any help from you guys. |
37)
Message boards :
Server programs :
mysql problem in ubuntu when setting up a boinc
(Message 17653)
Posted 4 Jun 2008 by Kunsheng Chen Post: It is mysql problem happened during the set up of boinc, did anyone meet this before? I want to reinstall mysql server in ubuntu and got message below: kchen3@steppe:~$ sudo apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done mysql-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. failed to open configuration file `/osr/users/kchen3/.dpkg.cfg' for reading: Permission denied Setting up mysql-server-5.0 (5.0.45-1ubuntu3.3) ... * Stopping MySQL database server mysqld [ OK ] * Starting MySQL database server mysqld [fail] invoke-rc.d: initscript mysql, action "start" failed. Then I try 'sudo dpkg --configure -a' according to the reminder and still: kchen3@steppe:~$ sudo dpkg --configure -a failed to open configuration file `/osr/users/kchen3/.dpkg.cfg' for reading: Permission denied Setting up mysql-server-5.0 (5.0.45-1ubuntu3.3) ... * Stopping MySQL database server mysqld [ OK ] * Starting MySQL database server mysqld [fail] invoke-rc.d: initscript mysql, action "start" failed. I don't know what this dpkg file do, I think there must be something wrong with it. could anyone help me? Thanks |
38)
Message boards :
Server programs :
./bin/xadd running error, probably pyodbc error?
(Message 17644)
Posted 3 Jun 2008 by Kunsheng Chen Post: I thought it was the mysql problem referring to this link: http://www.boinc-wiki.info/Creating_a_Project_-_Using_make_project. I did meet the problem it mentioned but fail to fix that with 'mysqld_safe'
|
39)
Message boards :
Server programs :
./bin/xadd running error, probably pyodbc error?
(Message 17643)
Posted 3 Jun 2008 by Kunsheng Chen Post:
Thanks. Could you give me more details about that? Also I wonder if there is some problems with mysql. When I try to use './tools/make_project [project_name]' to create a project, it will never succeed but with the message below: Traceback (most recent call last): File "./tools/make_project", line 217, in <module> project.install_project() File "/osr/users/kchen3/boinc/py/Boinc/setup_project.py", line 538, in install_project drop_first = options.drop_db_first File "/osr/users/kchen3/boinc/py/Boinc/database.py", line 263, in create_database connect(config, nodb=True) File "/osr/users/kchen3/boinc/py/Boinc/database.py", line 250, in connect passwd=config.__dict__.get('db_passwd', '')) File "/osr/users/kchen3/boinc/py/Boinc/db_base.py", line 492, in do_connect cursorclass=MySQLdb.cursors.DictCursor) File "/var/lib/python-support/python2.5/MySQLdb/__init__.py", line 74, in Connect return Connection(*args, **kwargs) File "/var/lib/python-support/python2.5/MySQLdb/connections.py", line 170, in __init__ super(Connection, self).__init__(*args, **kwargs2) _mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") kchen3@steppe:~/boinc$ mysql --socket=/var/lib/mysql/mysql.sock ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I tried both 'mysqld_safe --socket=/var/lib/mysql/mysql.sock' and 'mysqld_safe --socket=/tmp/mysql.sock' but the last message is still 'ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'. The socket path seems to be fixed. In the previous time I created the project with parameters '--db_name' ,'--db_user' with some error messages after that. However the script did create the tables in the database but fail to execute './bin/xadd'. apprecaite it. |
40)
Message boards :
Server programs :
./bin/xadd running error, probably pyodbc error?
(Message 17638)
Posted 3 Jun 2008 by Kunsheng Chen Post: I used make_script to create a project successfully. yet I met the error message below when using ./bin/xadd to add an application: Traceback (most recent call last): File "./bin/xadd", line 25, in <module> database.connect() File "/osr/users/kchen3/projects/boinctest/bin/database.py", line 240, in connect config = config or configxml.default_config().config File "/osr/users/kchen3/projects/boinctest/bin/configxml.py", line 99, in default_config if not default_config_file: ConfigFile().read() File "/osr/users/kchen3/projects/boinctest/bin/boincxml.py", line 129, in read raise Exception("Couldn't parse XML config\n") Exception: Couldn't parse XML config I search for the message online and someone got it in windows when using pyodbc. it might be kind of permission problem but I don't know what exactly it is. Appreciate any help from you. Thanks. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.