Evo-wine app can't copy files

Alles zum Projekt yoyo@home
Everything about the project yoyo@home
Nachricht
Autor
dividedbymyself
Mikrocruncher
Mikrocruncher
Beiträge: 19
Registriert: 07.11.2008 16:50

Evo-wine app can't copy files

#1 Ungelesener Beitrag von dividedbymyself » 18.10.2010 00:04

I'm trying to run the Wine-evo application, but obviously I'm doing something wrong as I get errors. I've installed Wine straight from the repository on Ubuntu 10.04 and extracted the evo.linux.001.tar.gz file to the project directory. I don't have a /usr/bin/wine directory, but I do have a 'wine' executable file in the /usr/bin dir.

When the evo app starts I get tis error:

Code: Alles auswählen

Sun 17 Oct 2010 05:37:10 PM CEST	yoyo@home	Starting evo_A1287226506-32-0_25.7MB_71.76_0
Sun 17 Oct 2010 05:37:11 PM CEST	yoyo@home	[error] Can't copy projects/www.rechenkraft.net_yoyo/S005_Preferences_1.02_Win32.txt to slots/4/S005_Preferences.txt: fopen() failed
Sun 17 Oct 2010 05:37:12 PM CEST	yoyo@home	Computation for task evo_A1287226506-32-0_25.7MB_71.76_0 finished
and the stderr out says the following:

Code: Alles auswählen

<core_client_version>6.10.17</core_client_version>
<![CDATA[
<message>
Can't link input file
</message>
]]>
The in the error mentioned preferences file is in the correct directory. Is there maybe something wrong with the permissions?

I hope someone can help to get Evo running.

Bart

Txt.file

Re: Evo-wine app can't copy files

#2 Ungelesener Beitrag von Txt.file » 18.10.2010 12:27

I think there is a problem with the permissions. can you post the output of

Code: Alles auswählen

ls -l /path/to/boinc/projects/yoyo/

dividedbymyself
Mikrocruncher
Mikrocruncher
Beiträge: 19
Registriert: 07.11.2008 16:50

Re: Evo-wine app can't copy files

#3 Ungelesener Beitrag von dividedbymyself » 18.10.2010 13:10

Here it is:

Code: Alles auswählen

root@Xubtop64:/# ls -l /var/lib/boinc-client/projects/www.rechenkraft.net_yoyo
total 1560
-rw-r--r-- 1 root  root     1097 2009-12-19 18:09 app_info.xml
-rw-r--r-- 1 boinc boinc     681 2010-10-16 20:39 default_stat_icon_01.png
-rw-r--r-- 1 boinc boinc   11020 2010-10-16 20:39 ecm_01.png
-rw-r--r-- 1 boinc boinc   12574 2010-10-16 20:39 evo_01.png
-rwxr-x--x 1 root  root      229 2009-11-28 21:59 evojob_0.01_i686-pc-linux-gnu.xml
-rwxr-xr-x 1 root  root   193216 2009-11-28 22:02 evowrapper_0.01_i686-pc-linux-gnu
-rw-r--r-- 1 boinc boinc    9464 2010-10-16 20:39 muon_01.png
-rw-r--r-- 1 boinc boinc    6677 2010-10-16 20:39 ogr_01.png
-rw-r--r-- 1 boinc boinc   10749 2010-10-16 20:39 rkn_01.png
-rwxr-x--x 1 root  root     6527 2009-11-28 21:40 S005_Preferences_1.02_Win32.txt
-rwxr-x--x 1 root  root  1291116 2009-11-28 21:40 S005r6gSimulatorWin32.exe
-rw-r--r-- 1 boinc boinc      68 2010-10-18 12:28 slideshow_00
-rw-r--r-- 1 boinc boinc      68 2010-10-18 12:28 slideshow_01
-rw-r--r-- 1 boinc boinc      68 2010-10-18 12:28 slideshow_02
-rw-r--r-- 1 boinc boinc      69 2010-10-18 12:28 slideshow_03
-rw-r--r-- 1 boinc boinc      68 2010-10-18 12:28 slideshow_04
-rw-r--r-- 1 boinc boinc      82 2010-10-18 12:28 stat_icon
I think it has to do with the root permission of the files I copied into the dir. If so, how can I change them to give the appropriate permissions to the Boinc account? And will Wine be able to handle that?

Bart

Edit:
I've tried to change the permissions of the files through the GUI (right-click/properties/permissions), but this doesn't change the permissions in the ls -l listing
Zuletzt geändert von dividedbymyself am 18.10.2010 15:40, insgesamt 1-mal geändert.

Txt.file

Re: Evo-wine app can't copy files

#4 Ungelesener Beitrag von Txt.file » 18.10.2010 14:21

you will ne to do this on a shell. because you have to be root to change root's files. And with Linux you are a normal user as long until you tell the system to become root.

at least you have to change the ownership to boinc. with ubuntu do a

Code: Alles auswählen

sudo chown boinc:boinc /path/to/boinc/projects/yoyo/*
I'm not sure if the permissions then are accurate but it should work.

dividedbymyself
Mikrocruncher
Mikrocruncher
Beiträge: 19
Registriert: 07.11.2008 16:50

Re: Evo-wine app can't copy files

#5 Ungelesener Beitrag von dividedbymyself » 18.10.2010 15:42

I changed the permissions the way you advised. This is the new ls -l directory listing:

Code: Alles auswählen

root@Xubtop64:/home/bart/Desktop# ls -l /var/lib/boinc-client/projects/www.rechenkraft.net_yoyo
total 1564
-rw-rw-r-- 1 root  boinc    1097 2009-12-19 18:09 app_info.xml
-rw-r--r-- 1 boinc boinc     681 2010-10-16 20:39 default_stat_icon_01.png
-rw-r--r-- 1 boinc boinc   11020 2010-10-16 20:39 ecm_01.png
-rw-r--r-- 1 boinc boinc   12574 2010-10-16 20:39 evo_01.png
-rwxrwx--x 1 root  boinc     229 2009-11-28 21:59 evojob_0.01_i686-pc-linux-gnu.xml
-rwxrwxr-x 1 root  boinc  193216 2009-11-28 22:02 evowrapper_0.01_i686-pc-linux-gnu
-rw-r--r-- 1 boinc boinc    9464 2010-10-16 20:39 muon_01.png
-rw-r--r-- 1 boinc boinc    6677 2010-10-16 20:39 ogr_01.png
-rw-r--r-- 1 boinc boinc   10749 2010-10-16 20:39 rkn_01.png
-rwxrwx--x 1 root  boinc    6527 2009-11-28 21:40 S005_Preferences_1.02_Win32.txt
-rwxrwx--x 1 root  boinc 1291116 2009-11-28 21:40 S005r6gSimulatorWin32.exe
-rw-r--r-- 1 boinc boinc      68 2010-10-18 12:28 slideshow_00
-rw-r--r-- 1 boinc boinc      68 2010-10-18 12:28 slideshow_01
-rw-r--r-- 1 boinc boinc      68 2010-10-18 12:28 slideshow_02
-rw-r--r-- 1 boinc boinc      69 2010-10-18 12:28 slideshow_03
-rw-r--r-- 1 boinc boinc      68 2010-10-18 12:28 slideshow_04
-rw-r--r-- 1 boinc boinc      82 2010-10-18 12:28 stat_icon
-rw-r--r-- 1 root  root      152 2010-10-18 14:14 stderr.txt
In the second column the permission still seems to be root, but I have no clue what's the difference between the second and third columns. Maybe write and read?

I've set Yoyo to allow new tasks again and I'll see what happens let you know how it works out.

Thanks for your help.
Bart

Txt.file

Re: Evo-wine app can't copy files

#6 Ungelesener Beitrag von Txt.file » 18.10.2010 15:56

the output of ls is:
permissions | owner | owner-group | filesize | date of creation (i think) | name

so I don't think that it will work if only the group is boinc but the owner is still root. but otherwise I wonder why the owner wasn't changed when you used boinc:boinc
someone else any idea?

dividedbymyself
Mikrocruncher
Mikrocruncher
Beiträge: 19
Registriert: 07.11.2008 16:50

Re: Evo-wine app can't copy files

#7 Ungelesener Beitrag von dividedbymyself » 18.10.2010 16:07

I just suspended other projects to get evo running and after 10 minutes it's still running which didn't happen with the previous permissions, so my first impression is that your solution did the trick anyhow.

I'll let it finish before I resume the other projects to see if it finishes and uploads well. With the current DCF it's estimated almost 24 hours, but I don't know if it will go beyond 100% like evo always does in Windows.

Fingers crossed.

Thanks and I'll report back.
Bart

dividedbymyself
Mikrocruncher
Mikrocruncher
Beiträge: 19
Registriert: 07.11.2008 16:50

Re: Evo-wine app can't copy files

#8 Ungelesener Beitrag von dividedbymyself » 18.10.2010 16:53

I'm back somewhat sooner than I had hoped for. Now things have become totally hilarious. I was in the process of suspending of all the rest of the projects to make sure Evo would finish without interruption and then at once the boinc-client stopped and there's no way to get it back running again.
I tried a reinstall of Boinc and several reboots later it still won't work.
There's an error at the end of the install process though:

Code: Alles auswählen

root@Xubtop64:/home/bart/Desktop# apt-get install boinc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  boinc-client boinc-manager
Suggested packages:
  boinc-app-seti
The following NEW packages will be installed:
  boinc boinc-client boinc-manager
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,391kB of archives.
After this operation, 6,377kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe boinc-client 6.10.17+dfsg-3ubuntu1 [462kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/universe boinc-manager 6.10.17+dfsg-3ubuntu1 [1,828kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/universe boinc 6.10.17+dfsg-3ubuntu1 [101kB]
Fetched 2,391kB in 2s (1,120kB/s)
Preconfiguring packages ...
Selecting previously deselected package boinc-client.
(Reading database ... 117134 files and directories currently installed.)
Unpacking boinc-client (from .../boinc-client_6.10.17+dfsg-3ubuntu1_amd64.deb) ...
Selecting previously deselected package boinc-manager.
Unpacking boinc-manager (from .../boinc-manager_6.10.17+dfsg-3ubuntu1_amd64.deb) ...
Selecting previously deselected package boinc.
Unpacking boinc (from .../boinc_6.10.17+dfsg-3ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for python-support ...
Setting up boinc-client (6.10.17+dfsg-3ubuntu1) ...
 * Starting BOINC core client: boinc                                     [ OK ] 
 * Setting up scheduling for BOINC core client and children:                    
/etc/init.d/boinc-client: 203: cannot create /proc/1622/oom_adj: Directory nonexistent

                                                                         [ OK ]

Setting up boinc-manager (6.10.17+dfsg-3ubuntu1) ...

Setting up boinc (6.10.17+dfsg-3ubuntu1) ...
root@Xubtop64:/home/bart/Desktop# /etc/init.d/boinc-client status
 * Status of BOINC core client: stopped
when I check or even try to manually start the client, it persists to shows it's stopped:

Code: Alles auswählen

root@Xubtop64:/home/bart/Desktop# /etc/init.d/boinc-client status
 * Status of BOINC core client: stopped
root@Xubtop64:/home/bart/Desktop# /etc/init.d/boinc-client start
 * Starting BOINC core client: boinc                                     [ OK ] 
 * Setting up scheduling for BOINC core client and children:                    
                                                                         [ OK ]
root@Xubtop64:/home/bart/Desktop# /etc/init.d/boinc-client status
 * Status of BOINC core client: stopped
Does anyone have a quick fix for this? Otherwise I maybe better do a fresh install of Linux tonight (European time). It's only a crunch-box with not much else on it, so this may be a quicker solution then to figure out what's going wrong and get Boinc up and running again...

Bart

dividedbymyself
Mikrocruncher
Mikrocruncher
Beiträge: 19
Registriert: 07.11.2008 16:50

Re: Evo-wine app can't copy files

#9 Ungelesener Beitrag von dividedbymyself » 18.10.2010 21:43

And he is back again. I did a fresh install of Xubuntu, Wine & Boinc. I also know now what I did wrnog with the file ownership: I forgot the asteriks (*) at the end of the path in the chown command. It must be hard to be dealing with those commandline n00bs :roll2: Sorry, my mistake :oops:
An Evo/Wine Wu is now running and haven't attached to another project yet. Now let's see what it does. It's supposed to take 15 hours according to BM.

Thanks,
Bart

Txt.file

Re: Evo-wine app can't copy files

#10 Ungelesener Beitrag von Txt.file » 18.10.2010 21:51

dividedbymyself hat geschrieben:I changed the permissions the way you advised. This is the new ls -l directory listing:
because you said that i thought that you did it with * and everything. when i wrote the command i thought about adding "dont forget the * at the end. it's not there just for fun." anyway now it looks working for you.

please report when the WU is validated.

dividedbymyself
Mikrocruncher
Mikrocruncher
Beiträge: 19
Registriert: 07.11.2008 16:50

Re: Evo-wine app can't copy files

#11 Ungelesener Beitrag von dividedbymyself » 18.10.2010 22:07

The stupidest thing is I noticed the asterisk in your instruction, I even know what it means, but I just forgot to type it. Now everything in the owner and owner-group columns is set to boinc, so hopefully it will finish ok now.

I'll report back for sure.

Bart

dividedbymyself
Mikrocruncher
Mikrocruncher
Beiträge: 19
Registriert: 07.11.2008 16:50

Re: Evo-wine app can't copy files

#12 Ungelesener Beitrag von dividedbymyself » 18.10.2010 23:34

Again, like before, the client is stopped and can't get it started anymore :roll:. I forgot I can uninstall Boinc with the purge command, but fortunately this emerged in my head again so I tried it and after re-installing I can normally run Boinc again.

I think I better not try Evo again, at least not in Wine, unless someone thinks to know what could have gone wrong. Let's hope someone does, I'd hate to drop this project.

Thanks for the help so far.
Bart

Zurück zu „Number crunching“