mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   PrimeNet (https://www.mersenneforum.org/forumdisplay.php?f=11)
-   -   ERROR: Primenet error 2252. Q: which tcp/ip ports are being used for the transfer? (https://www.mersenneforum.org/showthread.php?t=2414)

nevillednz 2004-05-03 14:29

My next factoring job.
 
Actually I would not mind starting another factorisation:showoff: , but I guess I need to clear this one first. :cry:

nevillednz 2004-05-03 15:57

I have turned debug on, and Xed the password out of the result...
$ ./mprime -d
Mersenne number primality test program version 23.5
Sending result to server for exponent 18080627
host = mersenne.org, port = 80
IP-addr = 64.66.6.250
GET [url]http://mersenne.org:80/cgi-bin/pnHttp.exe?ar&4&88&4&20921&7865&nevillednz&XXXXXX&romeo&18080627&1&E0DD1ADB296E68AA[/url] HTTP/1.0

Error in recv call: 104
ERROR: Primenet error 2252
The FAQ at [url]http://www.entropia.com/ips/faq.html[/url] may have more information.
Will try contacting server again in 60 minutes.
^D
$ cat primenet.ini
UseFullURL=1
Debug=1

# su root
# grep 104 /usr/include/asm/errno.h
#define ECONNRESET 104 /* Connection reset by peer */

# ping mersenne.org
PING mersenne.org (64.66.6.250) 56(84) bytes of data.
64 bytes from shawbinary-64-66-6-250.4d.net (64.66.6.250): icmp_seq=1 ttl=114 time=195 ms
64 bytes from shawbinary-64-66-6-250.4d.net (64.66.6.250): icmp_seq=2 ttl=114 time=190 ms
64 bytes from shawbinary-64-66-6-250.4d.net (64.66.6.250): icmp_seq=3 ttl=114 time=190 ms
64 bytes from shawbinary-64-66-6-250.4d.net (64.66.6.250): icmp_seq=4 ttl=114 time=189 ms
64 bytes from shawbinary-64-66-6-250.4d.net (64.66.6.250): icmp_seq=5 ttl=115 time=186 ms

--- mersenne.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4064ms
rtt min/avg/max/mdev = 186.513/190.640/195.937/3.099 ms
# telnet mersenne.org 80
Trying 64.66.6.250...
Connected to mersenne.org.
Escape character is '^]'.
123456789
Connection closed by foreign host.
#

I had a chuckle when you said "The 23.8 sources are not available for download". I guess the source is now closed for some good reason... LIN for LEA maybe? :whistle:
([url]http://primes.utm.edu/glossary/page.php?sort=Illegal[/url] ... We would not want to generate an illegal prime by mistake would we :-)

Re: improvements to the mprime source. I would love to make the software a rpm package, with an automatic cron job to restart mprime after system shutdowns. (maybe even a GUI/form for the text input challenged. :alien: )

Prime95 2004-05-03 18:12

ECONNRESET - how utterly uninformative. Maybe someone who knows sockets programming far better than I can come up with an explanation for why ping and telnet works, but my simple connect, send, recv does not.

You can email the results to me at [email]woltman@alum.mit.edu[/email] You can get a new exponent from [url]http://mersenne.org/range2.htm[/url]

The only reason 23.8 sources aren't available is I've been too lazy to put them together and upload them. The sources that are there are nearly identical to the 23.8 sources - just a few bug fixes since then.

nevillednz 2004-05-04 01:20

Good news???
 
I manually entered the URL (produced by debug) into Galeon (A modern/nice web browser): :devil:
[url]http://mersenne.org/cgi-bin/pnHttp.exe?ar&4&88&4&20921&7865&nevillednz&XXXXXX&romeo&18080627&1&E0DD1ADB296E68AA[/url]

And got as a reply:
pnResult=0

It seems like a very small result for such alot of CPU cycles. I hope there is some kind of parity/CRC check in it.

Then I checked my primenet_report:
[url]http://www.mersenne.org/cgi-bin/primenet_report.pl[/url]

And got:
------- Exponents Cleared since last Synchronization -------

prime fact Lucas-Lehmer residue or factor
exponent bits [residues partially masked] date returned computer ID
-------- ---- -- -------------------------------- --------------- ------------
18080627 67 0xE0DD1ADB296E68__ 03-May-04 23:42 romeo

I think this is good news???

Also:
Mersenne PrimeNet Server 4.0 (Build 4.0.031)
Cleared Exponents Report 04 May 2004 00:00 (May 3 2004 5:00PM Pacific)
prime fact Lucas-Lehmer residue or factor
exponent bits [residues partially masked] date returned account ID computer ID
-------- ---- -- -------------------------------- --------------- -------------- ------------
18080627 67 0xE0DD1ADB296E68__ 03-May-04 23:42 nevillednz romeo

Also:
Mersenne PrimeNet Server 4.0 (Build 4.0.031)
Assigned Exponents Report 04 May 2004 00:00 (May 3 2004 5:00PM Pacific)
prime fact current days
exponent bits iteration run / to go / exp date updated date assigned account ID computer ID
-------- -- ---- --------- ----------------- --------------- --------------- -------------- ------------

18079903 66 76.8 -54.8 5.2 18-Feb-04 05:08 17-Feb-04 06:17 dado55 yoo
18080747 67 288522 278.5 6.3 66.3 01-May-04 07:31 30-Jul-03 12:59 S118086 C5C77BD48
18081691 67 2264485 49.8 -9.7 50.3 12-Apr-04 08:55 15-Mar-04 06:21 S154512 C295725BE

romeo with 18080627 nolonger appears. So... I think I am done.

It seems that the URL generated by mprime can be entered directly into any other web browser to affect the mprime server update. I this is so, then this means the problem is in the mprime client software. Maybe something as simple as a carriage return being sent when a linefeed is expected??? When I do my next job I will try the static linked version of mprime. This eliminates other permutations as we can be sure that some local library call isn't messing around with the URL stream.

posted by: Pablo the Duck's Avatar
> I've been using Mprime 2.35 on Libranet 2.7, 2.8 and Slackware 9.0 - kernel versions
> 2.4.20 and 2.6.4 (which I abandoned because it ran slightly slower) - since last
> September without any connection problems.

In case other linux clients encounter a similar problem with connecting to mprime server:
I am using Mprime 2.35 on Redhat9 kernel 2.4.20-28.9.
And rpm glibc-2.3.2-27.9.7 for /lib/ld-linux.so.2 libm.so.6 libc.so.6 (as demanded by mprime client)

Im done. :coffee: Time for my next job...

Thanx
NevilleD

Unregistered 2004-05-17 23:08

Further (good) news....
the problem mysteriously "went away" on the 12th of May.

So I am extra happy...

i.e. problem WAS:

Error in recv call: 104
ERROR: Primenet error 2252
The FAQ at [url]http://www.entropia.com/ips/faq.html[/url] may have more information.
Will try contacting server again in 60 minutes.
[May 12 07:05] Iteration: 660000 / 24362557 [2.70%]. Per iteration time: 0.335
sec.
Contacting PrimeNet Server.
host = mersenne.org, port = 80
IP-addr = 64.66.6.250
GET [url]http://mersenne.org:80/cgi-bin/pnHttp.exe?ps&32516&.&[/url]. HTTP/1.0

Error in recv call: 104
ERROR: Primenet error 2252
The FAQ at [url]http://www.entropia.com/ips/faq.html[/url] may have more information.
Will try contacting server again in 60 minutes.
[May 12 08:01] Iteration: 670000 / 24362557 [2.75%]. Per iteration time: 0.335
sec.


THEN after the login session was killed and restarted:

Mersenne number primality test program version 23.5
Resuming primality test of M24362557 at iteration 810113 [3.32%]
[May 13 09:43] Iteration: 820000 / 24362557 [3.36%]. Per iteration time: 0.367
sec.
[May 13 10:44] Iteration: 830000 / 24362557 [3.40%]. Per iteration time: 0.367
sec.
[May 13 11:45] Iteration: 840000 / 24362557 [3.44%]. Per iteration time: 0.367
sec.
[May 13 12:47] Iteration: 850000 / 24362557 [3.48%]. Per iteration time: 0.368
sec.
[May 13 13:48] Iteration: 860000 / 24362557 [3.53%]. Per iteration time: 0.367
sec.

"I didn't change anything".... Here are the RPMs I installed around that date (May) for reference incase someone else has a similar problem...
Sat May 08 2004 ethereal-gnome
Sat May 08 2004 lynx
Sat May 08 2004 perl-CGI
Sun May 09 2004 lha
Sun May 09 2004 libpng
Sun May 09 2004 libpng10
Sun May 09 2004 openoffice
Sun May 09 2004 openoffice-i18n
Sun May 09 2004 openoffice-libs
Sun May 09 2004 utempter
Sun May 09 2004 xchat

/var/log/messages.3:May 1 08:03:04 romeo syslogd 1.4.1: restart.
/var/log/messages.3:May 1 21:51:00 romeo syslogd 1.4.1: restart.
/var/log/messages.2:May 2 04:02:38 romeo syslogd 1.4.1: restart.
/var/log/messages.2:May 7 08:30:17 romeo syslogd 1.4.1: restart.
/var/log/messages.1:May 9 04:02:11 romeo syslogd 1.4.1: restart.
/var/log/messages.1:May 9 18:47:24 romeo syslogd 1.4.1: restart.
/var/log/messages.1:May 12 21:29:36 romeo syslogd 1.4.1: restart. <= maybe this reboot loaded an updated library.
/var/log/messages.1:May 12 21:35:34 romeo syslogd 1.4.1: restart.
/var/log/messages.1:May 13 07:27:57 romeo syslogd 1.4.1: restart.

The only thing that vaugely looks like a network/html RPM was lynx (or ethereal).... This was previously not installed, and I am reasonably sure it is not required for mprime.

Venimus, Vidimus, Dolvimus
NevilleDNZ


All times are UTC. The time now is 04:15.

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