Posts by Letharion

1) Message boards : Questions and problems : What does "Authorization failure: -155" mean? (Message 46203)
Posted 5 Nov 2012 by Letharion
Post:
So, I tested on a new server, with Ubuntu 12.10, where I installed the boinc-client package.
$ sudo /etc/init.d/boinc-client start
 * Starting BOINC core client: boinc
   ...done.
 * Setting up scheduling for BOINC core client and children:
   ...done.
$ ps fax | grep boinc
10797 pts/1    S+     0:00  |   \_ grep --color=auto boinc
10761 ?        SN     0:00 /usr/bin/boinc --check_all_logins --redirectio --dir /var/lib/boinc-client
$ boinc --no_gui_rpc
05-Nov-2012 12:30:22 [---] No config file found - using defaults
05-Nov-2012 12:30:22 [---] Starting BOINC client version 7.0.27 for x86_64-pc-linux-gnu
05-Nov-2012 12:30:22 [---] log flags: file_xfer, sched_ops, task
05-Nov-2012 12:30:22 [---] Libraries: libcurl/7.27.0 OpenSSL/1.0.1c zlib/1.2.7 libidn/1.25 librtmp/2.3
05-Nov-2012 12:30:22 [---] Data directory: /home/ubuntu/.boinc
05-Nov-2012 12:30:22 [---] Processor: 2 GenuineIntel Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz [Family 6 Model 45 Stepping 7]
05-Nov-2012 12:30:22 [---] Processor: 20.00 MB cache
05-Nov-2012 12:30:22 [---] Processor features: fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl nonstop_tsc pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm
05-Nov-2012 12:30:22 [---] OS: Linux: 3.5.0-17-generic
05-Nov-2012 12:30:22 [---] Memory: 1.65 GB physical, 896.00 MB virtual
05-Nov-2012 12:30:22 [---] Disk: 7.87 GB total, 5.64 GB free
05-Nov-2012 12:30:22 [---] Local time is UTC +0 hours
05-Nov-2012 12:30:22 [---] No usable GPUs found
05-Nov-2012 12:30:22 [---] No general preferences found - using defaults
05-Nov-2012 12:30:22 [---] Preferences:
05-Nov-2012 12:30:22 [---]    max memory usage when active: 846.18MB
05-Nov-2012 12:30:22 [---]    max memory usage when idle: 1523.12MB
05-Nov-2012 12:30:22 [---]    max disk usage: 3.94GB
05-Nov-2012 12:30:22 [---]    don't use GPU while active
05-Nov-2012 12:30:22 [---]    suspend work if non-BOINC CPU load exceeds 25 %
05-Nov-2012 12:30:22 [---]    (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)


Now in another terminal I run
ubuntu@ip-10-39-6-234:~/.boinc$ boinccmd --get_state
Authorization failure: -155
ubuntu@ip-10-39-6-234:~/.boinc$ boinccmd --quit
Authorization failure: -155
ubuntu@ip-10-39-6-234:~/.boinc$ boinccmd -v
Authorization failure: -155
ubuntu@ip-10-39-6-234:~/.boinc$ boinccmd --join_acct_mgr http://bam.boincstats.com [username] [password]
Authorization failure: -155


And while Ageless helpfully provided more details about the error message, that doesn't tell me anything helpful. Particularly since the solution involves "Detach from and re-attach to the project.", an action that simply doesn't make any sense in my situation.
2) Message boards : Questions and problems : What does "Authorization failure: -155" mean? (Message 46019)
Posted 17 Oct 2012 by Letharion
Post:
I was certain boinc was running, and restarting it

$ sudo /etc/init.d/boinc-client restart
 * Stopping BOINC core client: boinc
 ... waiting .   ...done.
 * Starting BOINC core client: boinc
   ...done.
 * Setting up scheduling for BOINC core client and children:
   ...done.


seems to confirm that I think, but after restaring, attaching worked well, so perhaps it wasn't after all.

Thank you very much :)
3) Message boards : Questions and problems : What does "Authorization failure: -155" mean? (Message 46011)
Posted 16 Oct 2012 by Letharion
Post:
$ boinccmd --join_acct_mgr http://bam.boincstats.com [username] [password]
Authorization failure: -155

Running on ubuntu, 12.04

The command finishes so quickly that I doubt it makes any network connection at all. Running "boinc" in another window to see the log doesn't show any activity when running boinccmd.

To my surprise, searching the message board for "Authorization failure: -155" gives nothing.

Any suggestions for how I can get boinc running? :)
4) Message boards : Server programs : Replacing the uppercase app with my own (Message 27415)
Posted 15 Sep 2009 by Letharion
Post:
The http://debian.localdomain/GT/html/ops/manage_apps.php is still a list of tags, which is really wierd, but I'll get there later. I just wanted to say that a blank project was actually quite a good idea, and progress is being made.[/img]
5) Message boards : Server programs : Replacing the uppercase app with my own (Message 27373)
Posted 14 Sep 2009 by Letharion
Post:
>PROJECT/html/ops/manage_apps.php
To my surprise, this gives me a list of "Allowed HTML tags"?

>Nicolas
I tried creating a new project and going to the same adress as above, same webpage. I will experiment with a blank project instead.

I'm guessing since I didn't get any links with an RTFM, I haven't missed anything obvious on the wiki? Or is there documentation on this somewhere that I just haven't found?
6) Message boards : Web interfaces : Drupal migration (Message 27292)
Posted 11 Sep 2009 by Letharion
Post:
>1) If we could have a way of updating the main index page, that may be useful.
>2) If we could have drop down menu using CSS or a tab for the main page, it will >look a bit more appealing.
Both are very doable :)

>I think it's a waste of time to start trying to integrate Drupal into BOINC, >from scratch, because someone has already done it. Better contact them and help :)
Based upon this, I just mailed renderfarm.fi.

>We're planning to migrate to Drupal 6 in 1-2 months (currently using Drupal 5).
Ops, here they are already :P Sorry, my bad, should have read entire thread first.
How's the porting going? I think we will find use for boinc and drupal in our corporate environment, and would be interested in integration. (Just gonna understand how to set up the boinc project to begin with ;) )
If so, I would aim for Drupal 7 instead of 6. The updates is fairly sizable, and I would prefer to work with 7. This would however require moving the time horizon to 3-6 months from today, as 7 was just recently feature frozen.
If you've managed to port to 6, I wouldn't mind looking at it and starting a port to 7.

>Will Drupal allow for a fine-grained allocation of additional user rights?
I removed an r from that sentence, and can answer definitely. Although I have yet to fully wrap my head around the access system.
7) Message boards : Server programs : Replacing the uppercase app with my own (Message 27282)
Posted 11 Sep 2009 by Letharion
Post:
I have written a dead simple app that calcs pi. I wanna distribute this instead of the uppercase app.

I can't seem to wrap my head around how boinc decides which application to send out.

I've looked at the app list in the DB, and by adding my app to the projects.xml and running xadd, I've had PI added there. This I managed mainly by looking here: http://boinc.berkeley.edu/trac/wiki/XaddTool

But now what? Clients only get the uppercase app still. Since the above webpage says "remove existing entries, you must edit the database directly with SQL" I tried dropping the uppercase entry from the file completely, and now the feeder gets very angry with "RESULT#342 has bad appid 1; clean up your DB!

A little bit of guidence please :)
8) Message boards : Server programs : Increasing daily quota (Message 27279)
Posted 11 Sep 2009 by Letharion
Post:
Ah, good thinking. I'll try to lower it if I'm still up to the quota, and when I get the internet working again for this Debian VM....
9) Message boards : Server programs : Increasing daily quota (Message 27250)
Posted 10 Sep 2009 by Letharion
Post:
I'm experimenting with setting up a boinc server. My local client has reached it's quota of 396 work units. Odd number, isn't it? Anyway, I found daily_result_quota and figured that could be it, set it to 50k, stop/start, no dice.

How do I increase the limit? :)
10) Message boards : Server programs : Make project script fails (Message 27248)
Posted 10 Sep 2009 by Letharion
Post:
Login in directly with the username and password is always the best way to check that your credentials are in order.

This is a mysql problem until that works.

For reasons I don't understand, I have also needed to replace
grant all on *.* to yourname@localhost identified by 'password';
with
grant all on *.* to 'yourname'@'localhost' identified by 'password';
to make it work.
flush privileges; also won't hurt.

11) Message boards : Server programs : Server side cgi-bin fails with libssl: no version information available (Message 27064)
Posted 4 Sep 2009 by Letharion
Post:
Seems to have been a consequence of me copying stuff from debian to gentoo.
I built it myself properly instead and it worked.
12) Message boards : Server programs : Server side cgi-bin fails with libssl: no version information available (Message 27056)
Posted 4 Sep 2009 by Letharion
Post:
In more details, here's the problem:
#./cgi
./cgi: /usr/lib/libssl.so.0.9.8: no version information available (required by ./cgi)
./cgi: /usr/lib/libcrypto.so.0.9.8: no version information available (required by ./cgi)
I suspect this is the reason why my client is failing to get any work, as the client only gets a message about "Internal server error".

I got everything set up from looking at the debian image, and I seem to have most things right, but here I got stuck.

Anyone hit this before?




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.