Message boards : Server programs : BOINC from very begining
Message board moderation
Author | Message |
---|---|
Send message Joined: 13 Feb 11 Posts: 20 |
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 |
Send message Joined: 29 Aug 05 Posts: 15552 |
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. |
Send message Joined: 13 Feb 11 Posts: 20 |
Did you check out http://boinc.berkeley.edu/trac/wiki/ProjectMain and then specifically Tutorial #1: Quick start and Tutorial #2: Project Creation Cookbook? 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 |
Send message Joined: 29 Aug 05 Posts: 15552 |
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?) |
Send message Joined: 12 Feb 06 Posts: 232 |
It looks like the problem with the packagekit plugin for yum is a missing package. Try installing dbus-python, ie yum install dbus-pythonThis 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 updateto 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 |
Send message Joined: 13 Feb 11 Posts: 20 |
So I have ordered virtual server http://www.quantact.com/ this one, VPS |
Send message Joined: 13 Feb 11 Posts: 20 |
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. 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. |
Send message Joined: 13 Feb 11 Posts: 20 |
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 |
Send message Joined: 13 Feb 11 Posts: 20 |
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 |
Send message Joined: 13 Feb 11 Posts: 20 |
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 |
Send message Joined: 13 Feb 11 Posts: 20 |
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? |
Send message Joined: 12 Feb 06 Posts: 232 |
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 |
Send message Joined: 13 Feb 11 Posts: 20 |
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? |
Send message Joined: 13 Feb 11 Posts: 20 |
[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 |
Send message Joined: 13 Feb 11 Posts: 20 |
IOError: [Errno 2] No such file or directory: '/home/boincadm/boinc/sched/cgi' When I have answered no to keys creation got this error |
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.