User Tools

Site Tools


manual:3gbridge

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:3gbridge [2013/01/22 10:15]
a.visegradi
manual:3gbridge [2013/02/27 13:29] (current)
Line 26: Line 26:
 # As root # As root
 echo 'deb http://​www.desktopgrid.hu/​debian/​ squeeze szdg' >> /​etc/​apt/​sources.list echo 'deb http://​www.desktopgrid.hu/​debian/​ squeeze szdg' >> /​etc/​apt/​sources.list
-apt-key advanced --keyserver ​pools.keyserver.eu --recv-keys ​7B1AAC6F+apt-key advanced --keyserver ​keys.niif.hu --recv-keys ​6A2165907B1AAC6F
 apt-get update apt-get update
 </​code>​ </​code>​
Line 58: Line 58:
 ===Preparing the Database=== ===Preparing the Database===
  
-Switch to the BOINC project user. To use the Bridge as a master application,​ you+**Switch to the BOINC project user.** 
 + 
 +To use the Bridge as a master application,​ you
 must first **create the 3G Bridge database**. You can simply create the must first **create the 3G Bridge database**. You can simply create the
 3G Bridge tables in the already existing BOINC database ((If you intend to use 3G Bridge tables in the already existing BOINC database ((If you intend to use
Line 128: Line 130:
 file. The keys included in this listing are those that must be set. file. The keys included in this listing are those that must be set.
  
-<file ini+<file ini $HOME/​master/​3g-bridge/​3g-bridge.conf>
-$HOME/​master/​3g-bridge/​3g-bridge.conf+
-... +
 [database] [database]
 host     = localhost host     = localhost
Line 185: Line 184:
 Setup the ''​[database]''​ section so the Brigde will be able to access the Setup the ''​[database]''​ section so the Brigde will be able to access the
 database. Typical values are shown in the listing, change them as necessary. The database. Typical values are shown in the listing, change them as necessary. The
-password can be found in **''​$HOME/​project/​config.xml''​**.+password can be found in **''​$HOME/​project/​config.xml''​** or in **''​$HOME/​.my.cnf''​**.
  
 == All components == == All components ==
Line 206: Line 205:
 directories. So don't forget to **create these directories**,​ if they don't directories. So don't forget to **create these directories**,​ if they don't
 exist. The Bridge must have **write permission** on both directories. exist. The Bridge must have **write permission** on both directories.
 +
 +<code bash>
 +INDIR=/​var/​lib/​boinc/<​projectname>/​master/​3g-bridge/​input
 +OUTDIR=/​var/​lib/​boinc/<​projectname>/​project/​download/​bridge-output
 +
 +mkdir -p "​$INDIR"​ "​$OUTDIR"​
 +</​code>​
  
 The output directory must be accessible through http. (It's usually a good The output directory must be accessible through http. (It's usually a good
Line 217: Line 223:
 (>1024). If you have a single project and no other services running on (>1024). If you have a single project and no other services running on
 the host, you can leave all ports with their default values. the host, you can leave all ports with their default values.
- 
 ==== Configuring plugins (queues) ==== ==== Configuring plugins (queues) ====
  
Line 341: Line 346:
 check the logs for information on the problem. check the logs for information on the problem.
  
 +== When submitting a job with ''​wsclient'',​ I get the error End of file or no input. ==
 +
 +Upon submission, the ''​wsclient''​ produces the following error:
 +
 +<​file>​
 +Error -1 fault: SOAP-ENV:​Client [no subcode]
 +"End of file or no input: Operation interrupted or timed out"
 +Detail: [no detail]
 +</​file>​
 +
 +This usually means that either the **input or the output directory has not been created** on the server. See the [[manual:​3gbridge#​wssubmitter|[wssubmitter] configuration section]].
manual/3gbridge.txt · Last modified: 2013/02/27 13:29 (external edit)