Message boards :
Number crunching :
5.24 problem...
Message board moderation
Author | Message |
---|---|
JohnB175 Send message Joined: 15 Oct 03 Posts: 124 Credit: 321,769 RAC: 0 |
Anyone have any idea or maybe a solution for this problem. http://setiathome.berkeley.edu/forum_thread.php?id=21496 |
JohnB175 Send message Joined: 15 Oct 03 Posts: 124 Credit: 321,769 RAC: 0 |
Well I tried it on my Gentoo box at work and it worked fine. So my question is where to I begin to figure out why this is not working on my other box? Forgive my newbieness :) |
Mechasquirrel Send message Joined: 29 Jul 99 Posts: 17 Credit: 708,028 RAC: 0 |
I repackaged it into two different types for you, both are at http://hwesson.sytes.net/boinc Not really having any clue myself, does 'tar -jxvf boinc-5.2.4.tar.bz2' work on that one from me? And what does 'tar --version' say... --edit-- Oh, also if you run md5sum on boinc_5.2.4_i686-pc-linux-gnu.sh do you get "5028cae4ebea2258f6b585b8127a0ea6"? I'm wondering if your browser might have stripped out the gzip compression when you downloaded it or something.. |
JohnB175 Send message Joined: 15 Oct 03 Posts: 124 Credit: 321,769 RAC: 0 |
I repackaged it into two different types for you, both are at http://hwesson.sytes.net/boinc Ok on my Gentoo box I retrieved the file via wget and when I run md5sum on it I get 5028cae4ebea2258f6b585b8127a0ea6 which matches yours. Now I SCP that file to my other box directly and run md5 and it matches and works. Now this is the funny thing. I then tried what I had been doing before which was using WinSCP to get the file from my Gentoo box to my windows box. Then from their I would use WinSCP to copy from the windows box to the second linux box. Low and behold the md5sum is ed4f99852e148814cfd9ff2610ecd823 which is not correct. So my question is with no browser involved how can going from gentoo->windowsxp->2nd linux box be doing this? I always use WinSCP to get file to my linux boxes and never have problems. Lastly if I use IE to download the file and WinSCP it onto the box I get a md5sum of 31bd6a1429801bfe1da5a8c0f3a3161a which is even different from the first two. This has got me scratching my head. Any ideas? |
Mechasquirrel Send message Joined: 29 Jul 99 Posts: 17 Credit: 708,028 RAC: 0 |
Yikes.. Sort of sounds like WinSCP is choking on something in the file during the transfer.. I'm now wondering what the md5sum is of the one winscp'd to the windows box from Gentoo, and of the one d/l'ed through IE. If the IE one is correct and the one that came in through WinSCP is off, then that'll show for sure that it is WinSCP being flaky. If both are off, well, there be problems here. heh. The difference between the two when winscp'ed to their final destination could just be the fact of the one having been through WinSCP twice, compounding the error. http://www.pc-tools.net/win32/md5sums/ has what looks to be a decent bet for the md5sum program for windows if you don't have one already. |
Mechasquirrel Send message Joined: 29 Jul 99 Posts: 17 Credit: 708,028 RAC: 0 |
And after thinking a bit more on it, I wonder if WinSCP isn't trying to transfer the file in text mode instead of as a binary(can it do this? I have never used the program, but it looks like it's basically a secure ftp program, and ftp does have that..), since the file starts out with a few lines of plain text before the gzipped part starts. |
JohnB175 Send message Joined: 15 Oct 03 Posts: 124 Credit: 321,769 RAC: 0 |
And after thinking a bit more on it, I wonder if WinSCP isn't trying to transfer the file in text mode instead of as a binary(can it do this? I have never used the program, but it looks like it's basically a secure ftp program, and ftp does have that..), since the file starts out with a few lines of plain text before the gzipped part starts. Holy smoke Batman you are exactly right. I downloaded via IE again and checked the md5 sum and it was correct. I then messed around with WinSCP and found that it has a preference to transfer *.sh files in text mode (Ugh). Now why didn't I think of that (sheesh). Every file I have transfered before was gzipped so I never had any issues. Thank you very much for helping me figure this one out. |
Mechasquirrel Send message Joined: 29 Jul 99 Posts: 17 Credit: 708,028 RAC: 0 |
(one more time, lol) I just installed WinSCP on my old windows computer and dug around in the preferences a bit... If you go into the Preferences > Other general options, and under transfer change it from automatic to binary, does that fix things? If it does, I'd just leave it at that since it doesn't really hurt to do a binary transfer on everything, including pure text. |
Mechasquirrel Send message Joined: 29 Jul 99 Posts: 17 Credit: 708,028 RAC: 0 |
Cool, ignore my previous posting, hehe. :) Glad I could help some, that just kind of hit me all of a sudden when I was reading the webpage on it and figured out it was based on ftp, and I've seen ftp do some really odd things to my files before, lol. |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.