Thread 'BOINC from very begining'

Message boards : Server programs : BOINC from very begining
Message board moderation

To post messages, you must log in.

AuthorMessage
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39735 - Posted: 20 Aug 2011, 19:11:09 UTC

Dear BOIC developers, I am trying to make BOINC project with quite limited, basically no knowledge about linux servers administration. Are there any topics for such a case? I am very sorry in advance if this topic doubles anything of what already exists.
So I have ordered virtual server, created boincadm user and I am trying to follow the BOINC cookbook. So I use Fedora and have started to install required software packages by yum, most of them are already present.
How exactly is to correctly install them?
For example yum install mysql-server-5.0
gives
[root@vps boincadm]# yum install mysql-server-5.0
Plugin "refresh-packagekit" can't be imported
Loaded plugins: presto
Setting up Install Process
No package mysql-server-5.0 available.

instead I use then:

yum install mysql-server mysql
I hope that is correct, so what s for others?

for example:
Plugin "refresh-packagekit" can't be imported
Loaded plugins: presto
Setting up Install Process
No package php5-cli available.
Error: Nothing to do

is just yum install php ok for all php related packages?

apache2-mpm-prefork
libapache2-mod-php5
mysql-client-5.0
mysql-server-5.0
php5-mysql
php5-cli
php5-gd
phpmyadmin
python-mysqldb
libmysql++-dev
libssl-dev
ID: 39735 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15552
Netherlands
Message 39736 - Posted: 20 Aug 2011, 20:00:07 UTC - in response to Message 39735.  

Did you check out http://boinc.berkeley.edu/trac/wiki/ProjectMain and then specifically Tutorial #1: Quick start and Tutorial #2: Project Creation Cookbook?

Also check this thread, if you're still stuck and no-one else answers here within the next 24 hours.
ID: 39736 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39737 - Posted: 20 Aug 2011, 20:04:24 UTC - in response to Message 39736.  
Last modified: 20 Aug 2011, 20:08:08 UTC

Did you check out http://boinc.berkeley.edu/trac/wiki/ProjectMain and then specifically Tutorial #1: Quick start and Tutorial #2: Project Creation Cookbook?

Also check this thread, if you're still stuck and no-one else answers here within the next 24 hours.


I am using this
http://boinc.berkeley.edu/trac/wiki/ServerIntro
not virtual machines.
There are software prerequisites, but generally it s helpful to mention how install them maybe in forum.
http://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix
ID: 39737 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15552
Netherlands
Message 39738 - Posted: 20 Aug 2011, 20:10:28 UTC - in response to Message 39735.  

So I have ordered virtual server

What do you mean with this comment? That you downloaded the BOINC Server VM? Or did you buy some program that can run VMs? (If so, why not use open source?)
ID: 39738 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 39749 - Posted: 20 Aug 2011, 23:45:15 UTC - in response to Message 39740.  

It looks like the problem with the packagekit plugin for yum is a missing package. Try installing dbus-python, ie
 yum install dbus-python
This was apparently fixed in Fedora 15, but only backported to Fedora 14, not anything earlier. Alternatively, you could try disabling the plugin from it's configuration file.

As for the other package problems, it's generally true that you don't put the version number in the name you give to yum. So just install "mysql-server" or "php-cli", without explicit package numbers in the names. (There are exceptions, but thankfully few.)

Then try more generally
 yum update 
to get everything up to date, if you've not already done so.

In addition to the official BOINC documentation, there's an explanation of how to set up a server that you may or may not find helpful, at http://www.spy-hill.net/~myers/help/boinc/Create_Project.html, which I hope is not too much out of date.
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 39749 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39770 - Posted: 21 Aug 2011, 11:18:27 UTC - in response to Message 39738.  

So I have ordered virtual server

What do you mean with this comment? That you downloaded the BOINC Server VM? Or did you buy some program that can run VMs? (If so, why not use open source?)



http://www.quantact.com/
this one, VPS
ID: 39770 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39773 - Posted: 21 Aug 2011, 11:27:14 UTC - in response to Message 39740.  

Dear BOIC developers, I am trying to make BOINC project with quite limited, basically no knowledge about linux servers administration. Are there any topics for such a case? I am very sorry in advance if this topic doubles anything of what already exists.
So I have ordered virtual server, created boincadm user and I am trying to follow the BOINC cookbook. So I use Fedora and have started to install required software packages by yum, most of them are already present.
How exactly is to correctly install them?
For example yum install mysql-server-5.0
gives
[root@vps boincadm]# yum install mysql-server-5.0
Plugin "refresh-packagekit" can't be imported
Loaded plugins: presto
Setting up Install Process
No package mysql-server-5.0 available.


There is no package by that name or else you have not configured yum to use the correct repository. You could Google mysql to find their website then search their website for the package. I think the docs you are reading are maybe outdated and the mysql-server-5.0 package (if there ever was one) has been replaced by a newer package named, for example, mysql-server-8.0.

Packages for Fedora always have a .rpm extension so you could Google for mysql rpm and that might locate the package you want, it often does. Then you download the rpm file, cd to the directory where the rpm file is stored and run yum with the localinstall option like this...

there was some mysql isntalled and yum writes that it is the latest version, so I initialize it:
[root@vps boincadm]# /etc/init.d/mysqld start
Starting MySQL: [ OK ]

then I try to change password and get some problems:
[root@vps boincadm]# mysqladmin -u root password NEWPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Maybe I have different MySQL user login? I a bit don t understand this message.
ID: 39773 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39776 - Posted: 21 Aug 2011, 11:40:57 UTC - in response to Message 39740.  
Last modified: 21 Aug 2011, 12:09:50 UTC


I am concerned that you got the following output when you used the yum command

Plugin "refresh-packagekit" can't be imported
Loaded plugins: presto


You seem to be missing the refresh-packagekit plugin. When I run yum I get

Loaded plugins: langpacks, presto, refresh-packagekit


You may want to do "yum search packagekit" or something similar and "yum search langpacks" to see if you can find packages for those. Or Google those names.

I don't know how to install BOINC server but I can help you with Linux. I use Fedora too.


Thank you for all your answers!
Looks like I ve somehow solved this problem. Actually I am not quite sure how.\ I was trying to install software called up2date and did yum install up2date, looks that after this I have started to get next messages:

[root@vps boincadm]# yum search packagekit
Loaded plugins: presto, refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.



I was trying also check if apache is installed:
rpm -q apache
and get the reply that
package Apache is not installed

I ve tried also in install wxWidgets-2.9.2,
did ./Configure --with-gtk --disable
then make and got the next error:
clude/libpng12 ./src/stc/scintilla/src/Editor.cxx
virtual memory exhausted: Cannot allocate memory
make: *** [wxscintilla_Editor.o] Error
[root@vps wxWidgets-2.9.2]# virtual memory exhausted: Cannot allocate memory
bash: virtual: command not found
ID: 39776 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39780 - Posted: 21 Aug 2011, 13:49:17 UTC - in response to Message 39776.  

httpd issame as apache in Fedora, right?
and wxGTK is same as wxWidgets

for those packages I get notice from yum that they are already installed with latest versions
ID: 39780 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39781 - Posted: 21 Aug 2011, 17:21:28 UTC - in response to Message 39780.  

while installing BOINC by

% cd work_dir
% svn co http://boinc.berkeley.edu/svn/trunk/boinc
% cd boinc
% svn update -r 12677 # optional - sets a particular revision
% _autosetup
Bootstrapping configure script and makefiles:
Checking version of 'make' >= 3.79... succeeded. (3.80)
Checking version of 'm4' >= 1.4... succeeded. (1.4)
Checking version of 'pkg-config' >= 0.15... succeeded. (0.20)
Checking version of 'autoconf' >= 2.58... succeeded. (2.59)
Checking version of 'automake' >= 1.8... succeeded. (1.9)
aclocal -I m4 && autoheader && automake && autoconf
Done, now run ./configure

% ./configure --prefix=/usr/local/boinc

I ve got an error with libcurl:

checking for gawk... (cached) gawk
checking for curl-config... no
checking whether libcurl is usable... no
configure: error:

but yum shows that the latest version is installed:

yum install libcurl
Loaded plugins: presto, refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Package libcurl-7.19.7-13.fc12.i686 already installed and latest version
ID: 39781 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39782 - Posted: 21 Aug 2011, 19:51:25 UTC - in response to Message 39781.  

Ok, libcurl installed.
Now I went using this manual http://www.spy-hill.net/~myers/help/boinc/Create_Project.html

to the project making.

config.status: creating zip/zip/Makefile
config.status: creating zip/unzip/Makefile
config.status: creating m4/Makefile
config.status: creating config.h
config.status: executing depfiles commands
--- Configuring BOINC 5.9.11 (Release) ---
--- Build Components: (server & client) ---

- here are the last messages from building BOINC by make, so I guess that everything with build was ok.
Now I go to tools and run the next:
./make_project -v --project_root /usr02/3D 3D 3D@Home
and get the next messages after keys generation:

Continue? [Y/n] y
Setting up server: creating directories

Keys don't exist in /usr02/3D/keys/; generate them? [Y/n] y
Setting up server files: generating keys
sh: /home/boincadm/boinc/lib/crypt_prog: No such file or directory
FATAL ERROR: Command failed: /home/boincadm/boinc/lib/crypt_prog -genkey 1024 /usr02/3D/keys/upload_private /usr02/3D/keys/upload_public >/dev/null

so it s something to do with encryption program? Which one? And where can I read more about what for these keys are needed?
ID: 39782 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 39796 - Posted: 22 Aug 2011, 18:18:32 UTC - in response to Message 39784.  

I just started using a new Fedora 12 install to build BOINC and apps, and I found
that I needed to install the glibc-static package to build an app with the math library linked statically (ie. with -lm ).

The apache server package is called "httpd"
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 39796 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39837 - Posted: 24 Aug 2011, 21:00:04 UTC
Last modified: 24 Aug 2011, 21:18:56 UTC

On crypt progs there is this thread:
http://boinc.berkeley.edu/dev/forum_thread.php?id=6294#36426

but looks like question there remained unanswered.

http://boinc.berkeley.edu/trac/wiki/KeySetup
Ok so this program generates private keys. Howcan I test nif it is really working, where to get that one which is required for BOINC and do I really need it at all? As I undertand those are private keys for SSH access right? No not only as I can see by description.

Here is also some description
http://www2.freehal.org/bin/crypt_prog
which can mean that not all required libraries were installed for it? How to check that? As I understand from Google this prog mostly was developed by BOINC team and for BOINC. So i can just maybe compile this program separately?
ID: 39837 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39859 - Posted: 25 Aug 2011, 18:59:30 UTC - in response to Message 39839.  
Last modified: 25 Aug 2011, 19:05:56 UTC

[root@vps boincadm]# ldd foo
ldd: ./foo: No such file or directory

[root@vps tools]# ldd foo crypt_prog
foo:
ldd: ./foo: No such file or directory
crypt_prog:
ldd: ./crypt_prog: No such file or directory
ID: 39859 · Report as offensive
AndrewV

Send message
Joined: 13 Feb 11
Posts: 20
Russia
Message 39860 - Posted: 25 Aug 2011, 19:10:39 UTC - in response to Message 39859.  

IOError: [Errno 2] No such file or directory: '/home/boincadm/boinc/sched/cgi'

When I have answered no to keys creation got this error
ID: 39860 · Report as offensive

Message boards : Server programs : BOINC from very begining

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.