mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Information & Answers (https://www.mersenneforum.org/forumdisplay.php?f=38)
-   -   [Comm thread May 4 09:22] ERROR: Unable to open spool file. (https://www.mersenneforum.org/showthread.php?t=26767)

drkirkby 2021-05-04 13:09

[Comm thread May 4 09:22] ERROR: Unable to open spool file.
 
I'm seeing this error running mprime on CentOS linux [CODE] [Comm thread May 4 09:22] ERROR: Unable to open spool file.[/CODE]I'm pretty sure I know what is the cause, but are not sure how to resolve. Yesterday I was configuring mprime to start as the computer boots, and started it as root once. Now it is starting properly as a normal user. I suspect mprime has created a file which is owned by root, to which a normal user can't read/write. Can anyone tell me what that file is? I'll then be able to sort it out.

Or if there's some other reason. I was messing around with a UPS yesterday, which again required some work as root. It is remotely possible that something changed by that is messing up mprime, but I suspect the program is due to running mprime as root for a short time

paulunderwood 2021-05-04 13:19

Do [C]ls -laR *[/C] in your mprime directory. If you see ownership to root run [C]sudo chown -R dave:dave *[/C] in your mprime directory, assuming "dave" is your username.

drkirkby 2021-05-04 13:34

Thank you, I think I found the problem before seeing your post. There was a .pid file owned by root. I deleted that. I hoping that it is the case, but I'm not 100% convinced, as I have another issue, but probably unrelated to this one.

drkirkby 2021-05-04 13:38

How can I recover an asignment lost from worktodo.txt ?
 
I've got this assignment

[URL]https://www.mersenne.org/report_exponent/?exp_lo=110826539&full=1[/URL]

and I think it might be completed, but there's nothing in my worktodo.txt file. I have a .proof file. I expect that could be manually uploaded, but is there a way to put back the necessary line in worktodo.txt to get this completed in the usual way, without a manual upload?

Dave

Uncwilly 2021-05-04 13:42

[QUOTE=drkirkby;577611]I've got this assignment

[URL]https://www.mersenne.org/report_exponent/?exp_lo=110826539&full=1[/URL]
[/QUOTE]
This advice should work for this situation too.
[url]https://www.mersenneforum.org/showpost.php?p=577533&postcount=5[/url]
That is the easiest way to make sure that you have the line for the Worktodo.txt correct.

paulunderwood 2021-05-04 13:44

[QUOTE=drkirkby;577611]I've got this assignment

[URL]https://www.mersenne.org/report_exponent/?exp_lo=110826539&full=1[/URL]

and I think it might be completed, but there's nothing in my worktodo.txt file. I have a .proof file. I expect that could be manually uploaded, but is there a way to put back the necessary line in worktodo.txt to get this completed in the usual way, without a manual upload?

Dave[/QUOTE]

I think the worktodo.txt file if for work to do and not upload. You have to await comms with the server for the [URL="https://en.wikipedia.org/wiki/Spooling"]spool[/URL] to be processed.

(Yes, you can go to primenet and get your assignments and copy and paste the relevant line, BUT that will start the proof process again???)

drkirkby 2021-05-04 14:38

[QUOTE=Uncwilly;577612]This advice should work for this situation too.
[URL]https://www.mersenneforum.org/showpost.php?p=577533&postcount=5[/URL]
That is the easiest way to make sure that you have the line for the Worktodo.txt correct.[/QUOTE]
I tried copying the line from worktodo.txt, but it restarts the assignment from 0.00%. It is now showing as 0% complete on the server, but I'm sure it has completed.

drkirkby 2021-05-04 14:43

[QUOTE=paulunderwood;577613]I think the worktodo.txt file if for work to do and not upload. You have to await comms with the sever for the [URL="https://en.wikipedia.org/wiki/Spooling"]spool[/URL] to be processed.

(Yes, you can go to primenet and get your assignments and copy and paste the relevant line, BUT that will start the proof process again???)[/QUOTE]

[B]It starts the whole process again - not just the proof![/B] So it would take a full 2-days. I don't mind if its half-hour to generate the proof again, although I have it.



Dave

paulunderwood 2021-05-04 14:48

[QUOTE=drkirkby;577621][B]It starts the whole process again - not just the proof![/B] So it would take a full 2-days. I don't mind if its half-hour to generate the proof again, although I have it.
[/QUOTE]

Sure. My advice is stop mprime and exit. Remove the line form worktodo.txt. Start mprime. Wait for a communication between the server and the local spool file OR do a manual upload of the proof this time.

drkirkby 2021-05-04 14:54

Em,

I thought I had backed up the files before running mprime again with the exponent, but looking at the dates, everything is in the last hour or so, except the proof file, which is 12 hours old.

Maybe I will have to repeat it all again, unless the information in the proof file can somehow be uploaded.



Dave

paulunderwood 2021-05-04 15:06

[QUOTE=drkirkby;577624]Em,

I thought I had backed up the files before running mprime again with the exponent, but looking at the dates, everything is in the last hour or so, except the proof file, which is 12 hours old.

Maybe I will have to repeat it all again, unless the information in the proof file can somehow be uploaded.
[/QUOTE]

Please see my previous post. I defer to another to tell how to do a manual upload of the proof file. Firstly you will have to copy and paste the json information for the exponent from the results.txt file to mersenne.org-->Manual Testing-->results (and submit). Then run a script to upload the actual proof file.


All times are UTC. The time now is 21:42.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.