Posts by Huiping Yao

1) Message boards : Server programs : Client manager can't connect the server after the IP address of server changed (Message 20593)
Posted 30 Sep 2008 by Huiping Yao
Post:

later I did from the start :./make_project . Now it's running well.


Hi huiping, do you mind assisting. I've googled but no other seems to face the same problem. No client seems to be able to connect to my server for the scheduler request.

Error:
Project communication failed: attempting access to reference site
Internet access OK - project servers may be temporarily down.
Scheduler request failed: Couldn't connect to server

I restart from ./make_project but problem persists. Any help appreciated.



Firstly make sure ./make_project is correct such as you can add hostip etc
Second change to the dir PROJECT, execute bin/status,if project's deamons are not runing , executing bin/start, bin/status
2) Message boards : Server programs : questions when setting boinc for grid (Message 20420)
Posted 23 Sep 2008 by Huiping Yao
Post:
I have set up boinc server and the project can work successfully, but BOINC is typical for volunteer computing, and I wanna the boinc for grid system.I have viewed the web page http://boinc.berkeley.edu/trac/wiki/DesktopGrid, in the web page it tells "Create a custom installer that includes the desired configuration files." and then linked to the page http://boinc.berkeley.edu/wiki/Deploying_BOINC_on_networks which confused me a lot.

Firstly,what is the meaning of deploying BOINC on lots of hosts? To put the boinc server on lots of hosts or what?

Secondly where do the configuration files such as acct_mgr_url.xml,acct_mgr_login.xml,project_init.xml locate? On the server or On the client hosts? and in which existing folder or to create a new folder?

Thirdly in the web page it says "For the purposes of this document we will demonstrate attaching to one or more projects using the account_*.xml files", what is the exact name of the file? where shoud I put?

And idea is appreciated!
3) Message boards : Server programs : What's the problem? (Message 20397)
Posted 22 Sep 2008 by Huiping Yao
Post:
I have created a project for test. And I have a few computers to do the job from the server.BAM has many advantages.
I do as the web site "http://cn.boincstats.com/bam/",but it failed. Does someone give me some hints?Is it because that there is no configurations about the server?

PS: What's the url of account manager's web site? How can I get them?
4) Message boards : Questions and problems : What' account manager's web site? (Message 20395)
Posted 22 Sep 2008 by Huiping Yao
Post:
Does someone know the url of account manager?How to get it?
Thanks!
5) Message boards : Server programs : Problem creating a simple BOINC server (wrapper + worker) (Message 20394)
Posted 22 Sep 2008 by Huiping Yao
Post:
Hi all,

I am trying to set up a BOINC server. I downloaded the BOINC Virtual Machine (running Debian Linux) and set it as the server. I downloaded a standard BOINC client on my Windows machine (the host for the Debian VM).

As a start I have been trying to install the sample wrapper and worker applications. I compiled both apps under Windows and FTP'ed them to the Debian host. Then followed the instructions provided in http://boinc.berkeley.edu/trac/wiki/WrapperApp to the letter.

The problem is, when I attach to the project, the client says "project communication failed" followed by "Scheduler request failed: couldn't resolve host name"

At the beginning I thought this was a network problem, but using a single-job set up seems to enable the client and the server to communicate and the client downloads a program from the server (though it fails to create a process, but that is another story).

My questions are: Is there any other modification that should be done to the server or the client? I noticed that the single-job script adds assimilators and validators to the project. Should there be an assimilator and a validator for the wrapper-worker case too? If so, can I find it anywhere or should I write it myself?

Thanks for any help!


Maybe the problem with IP if you use free VM,because there are some restrictions on setting or getting IP.
Good luck
6) Message boards : Server programs : Scheduling about boinc (Message 20326)
Posted 17 Sep 2008 by Huiping Yao
Post:
BOINC is typical in grid computing.So what's its scheduler?
Any idea is apprecaited!
7) Message boards : Server programs : Question about columns 'outcome','client_state' in table 'result' and colums 'need_validate' in the table 'workunit' (Message 20040)
Posted 8 Sep 2008 by Huiping Yao
Post:
Do someone know about columns 'outcome','client_state' in table 'result' and colums 'need_validate' in the table 'workunit'?

Take columns 'outcome'for example,I have found the value of 'outcome' varied as the project processed. Its values can be 0 or 1 or 3.But I don't know what they really mean? And there is no hint from the internet

Any help will be appreciated!
8) Message boards : Server programs : Client manager can't connect the server after the IP address of server changed (Message 20019)
Posted 7 Sep 2008 by Huiping Yao
Post:
Before the IP address of server changed, everything runs ok,the client manager can connect to the server,also download and upload workunits successfully.

However after I changed the IP address of server, client manager can't connect to server normally, the messages under message tab are as follows:
Master file download succeeded
Sending scheduler request: Project initialization. Requesting 1 seconds of work, reporting 0 completed tasks
Project communication failed: attempting access to reference site
Internet access OK - project servers may be temporarily down.
Scheduler request failed: Couldn't connect to server

After altering the IP address of server,I edit the file config.xml and remove the database tables such as app,app_version,platform,workunit,result and then run bin/xadd, bin/update_versions, bin/start,bin/status. After doing that,all the deamons can running well and there is no errrors.Now the project’s website is available for browsing .And there is no firewall.

I don't the reasons. Any idea is appreciated!


later I did from the start :./make_project . Now it's running well.
9) Message boards : Server programs : BOINC Server (Message 20011)
Posted 6 Sep 2008 by Huiping Yao
Post:
Hi, i am trying to create a grid computing system within an internal network using BOINC. I have setup the server on a virtual machine of debian 4.0 and the client running on windows xp pro. I also set up a test application on the server provided.

The problem i am having is that the project test is started and the client is connected however, the server is not giving work to the client i am getting the error "communication deferred" and it seems that there is no tasks given to the client. I have tried playing around with firewall setting and feel there may be a problem with ports.

Any help would be appreciated


You can set up BOINC server by downloading the source codes and installing some softwares. Because the free virtual machine has some faults.
10) Message boards : Server programs : Client manager can't connect the server after the IP address of server changed (Message 20010)
Posted 6 Sep 2008 by Huiping Yao
Post:
Before the IP address of server changed, everything runs ok,the client manager can connect to the server,also download and upload workunits successfully.

However after I changed the IP address of server, client manager can't connect to server normally, the messages under message tab are as follows:
Master file download succeeded
Sending scheduler request: Project initialization. Requesting 1 seconds of work, reporting 0 completed tasks
Project communication failed: attempting access to reference site
Internet access OK - project servers may be temporarily down.
Scheduler request failed: Couldn't connect to server

After altering the IP address of server,I edit the file config.xml and remove the database tables such as app,app_version,platform,workunit,result and then run bin/xadd, bin/update_versions, bin/start,bin/status. After doing that,all the deamons can running well and there is no errrors.Now the project’s website is available for browsing .And there is no firewall.

I don't the reasons. Any idea is appreciated!
11) Message boards : Server programs : Does someone know the latest codes of boinc samples ? (Message 19986)
Posted 5 Sep 2008 by Huiping Yao
Post:
Hi, everyone
Does somebody know the latest codes of boinc samples?


It's no longer a separate SVN repo, it's been merged into the main BOINC SVN, as the "samples" subdirectory.



Thanks a lot!
12) Message boards : Server programs : Does someone know the latest codes of boinc samples ? (Message 19959)
Posted 4 Sep 2008 by Huiping Yao
Post:
Hi, everyone
Does somebody know the latest codes of boinc samples?
13) Message boards : Server programs : Does someone know how to start or stop a Daemon? (Message 18865)
Posted 27 Jul 2008 by Huiping Yao
Post:
hi,

I have tested or used kill/killall to kill one deamon. But in a moment, the deamon will automatically restart(using bin/status, the status of the daemon is running).

The command kill or killall is different from bin/stop, because after using bin/stop, the deamon will not restart until you use bin/start.

Could someone tell why the daemon will automatically restart after using kill or killall?
14) Message boards : Server programs : What does the values of columns "server_state","outcome","client_state" in the table "result"means? (Message 18864)
Posted 27 Jul 2008 by Huiping Yao
Post:
result.inc

or

boinc_db.h




Thanks :)
15) Message boards : Server programs : What does the values of columns "server_state","outcome","client_state" in the table "result"means? (Message 18800)
Posted 24 Jul 2008 by Huiping Yao
Post:
Hi,everybody
I have view the page http://boinc.berkeley.edu/trac/wiki/JobIn which tells the meanings of all server_state as follows:
- Inactive (not ready to dispatch)
- Unsent (ready to send to a client, but not sent)
- In progress (sent, not done)
- Done successfully
- Timed out
- Done with error
- Not needed (work unit was finalized before this result was sent)

After I create a work unit , the value of the column "server_state" in the table "result" is 2, and the value of column "outcome" is 0, and and the value of column "client_state" is 0.
After the client finished computing the workunit, the value of the columns "server_state","outcome","client_state" in the table "result" of the same record is respectively changed into 5,1,5.
Does someone know the meaning of the values such as 0,5?
Any idea is appreciated. :)
16) Message boards : Server programs : Does someone know how to start or stop a Daemon? (Message 18731)
Posted 22 Jul 2008 by Huiping Yao
Post:
Hi, everyone

Daemons including feeder,sample_work_generator are started when you run the bin/start script, and killed when you run bin/stop.

Does someone know how to start/stop one Daemon,not all Daemons? Or we could only start/stop all?
17) Message boards : Server programs : Is any excutable program suitable for using wrapper? (Message 18631)
Posted 19 Jul 2008 by Huiping Yao
Post:
Some projects are even using interpreter programs within a wrapper. Basically you can use any program or script that you can start from the command line somehow.


Crunchers will be unhappy, if results run very long without having checkpoints and if programs do not pause when BOINC tells them to. Multithreaded applications can cause trouble as well, as those will usually affect other projects.

If you do not have any control over the source of the wrapped program (i.e. want to wrap a ready-made program), you will probably not be able to add those features, if the program doesn't come with them.


Basically they will still run - but the problem will be to find someone who wants to run them ;-)


p.s.: Programs that do not run in batch mode and insist in having a GUI will not be wrappable of course - but I guess that's understood. Same for programs that insist in beeing attached to a tty.


Thanks for your reply.
But I still got one problem as follows:

I have got a a.exe file which I did not have source codes, one configuration file named config_math.dat , one input file name input.txt. I execute the program in command prompt in WindowsXP using the command line as follows:
a.exe -i input.txt -c config_math.dat -o d:\output\

because the program will generate four output files, above the command line " -o d:\output" indicates that which folder the four output files automatically generate in.

I think Wrapper don't know how to combine a.exe with the input file input.txt and the configuration file config_math.dat?Did I do some configurationns to wrap a.exe? How to do with config_math.dat?
18) Message boards : Server programs : Is any excutable program suitable for using wrapper? (Message 18569)
Posted 17 Jul 2008 by Huiping Yao
Post:
Is any excutable program suitable for using wrapper? Are there any constraints?
19) Message boards : Server programs : Should I redo from compiling the boinc souce code? (Message 18456)
Posted 15 Jul 2008 by Huiping Yao
Post:
hi,everybody

Now I have set up wrapper/worker project successfully which generated work by hand using ./create_work according to the web page: http://boinc.berkeley.edu/trac/wiki/WrapperApp

However I shoud replace worker program with my own app, and sample_work_generator.C should be modified.And I have used ./make_project to make a skeletal project.

Here's the question: How to use the modified sample_work_generator.c to generate Daemon sample_work_generator
20) Message boards : Server programs : some files can't download : http error (Message 18437)
Posted 15 Jul 2008 by Huiping Yao
Post:
Can you download all files with a web browser or does it give you a 403 there too?

Make sure to use the same connection type for that test, i.e. if your BOINC uses a proxy, put the same proxy for the web browser.

Try the same with all firewalls (zone alarm, windows XP firewall, virus scanner firewall ...) disabled.

Some malware program detection might recognize the executable program download as a pattern of all those downloader virii.
__________

Compare owner and linux access rights of your download directory files. If you added the binaries with FTP, the umask setting might lead to insufficient read permissions for the web user. If in doubt, just "chmod a+r *" in the download directory.



Thank you a lot.
Now the files can download successfully, the reason is about the access right of the .exe files. :)


Next 20

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.