zakm57 / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
0 stars 0 forks source link

Namedbench does not appear to work with OS/X Mountain Lion - OS X 10.8 (12A256) Developer release #219

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run as normal
2.completes the first portion - with no issues
3. Gets to "Waiting for wildcard cache queries from 22 servers, appears to hang 
or slow down. 

What is the expected output? What do you see instead?
Expected outcome is for namedbench to complete and provide report -instead it 
sits at the waiting for wildcard cache point. 

What version of the product are you using? On what operating system?

OS X 10.8 (12A256), NameBench 1.3.1

Please provide any additional information below.

Have tried it on several occasions with similar/same result - on same machine, 
with os/x Lion - samve version Namebench works fine - no problems.

Original issue reported on code.google.com by hyn...@gmail.com on 1 Jul 2012 at 11:00

GoogleCodeExporter commented 8 years ago
same OS/Namebench version, same result here…

Original comment by iamdw...@gmail.com on 10 Jul 2012 at 10:05

GoogleCodeExporter commented 8 years ago
Same issue occurs on OS X 10.8 (12A269) with Namebench 1.3.1.

Original comment by pen...@gmail.com on 15 Jul 2012 at 5:24

GoogleCodeExporter commented 8 years ago
same OS/Namebench version, same result here…

Original comment by wallw...@gmail.com on 18 Jul 2012 at 12:41

GoogleCodeExporter commented 8 years ago
I just installed Mac OS X 10.8 (12A269) in order to duplicate this issue. It is 
an awfully weird place for this to deadlock - I will look at it more closely 
next week.

Original comment by tstromb...@google.com on 20 Jul 2012 at 9:34

GoogleCodeExporter commented 8 years ago
Same problem here with OS X 10.8 (12A269).
It stucks at "Waiting for wildcard cache queries from 22 servers"

Original comment by rgreco1987 on 23 Jul 2012 at 3:07

GoogleCodeExporter commented 8 years ago
Same problem on Mountain lion

Original comment by t...@slesinski.org on 26 Jul 2012 at 2:13

GoogleCodeExporter commented 8 years ago
Same problem here. OS X 10.8 (12A269).

Original comment by simone.e...@gmail.com on 27 Jul 2012 at 7:53

GoogleCodeExporter commented 8 years ago
Same problem here. I also just went to mountain lion 10.8 

Original comment by guillerm...@gmail.com on 28 Jul 2012 at 7:05

GoogleCodeExporter commented 8 years ago
same problem here (OS X 10.8 / 12A269)

Original comment by bilal.ma...@gmail.com on 29 Jul 2012 at 5:11

Attachments:

GoogleCodeExporter commented 8 years ago
same problem here. (10.8)

Original comment by ja...@jasonblackwell.org on 29 Jul 2012 at 7:24

GoogleCodeExporter commented 8 years ago
Same OS.. Same problem...

Original comment by bigalswo...@gmail.com on 31 Jul 2012 at 10:50

GoogleCodeExporter commented 8 years ago
Ditto

Original comment by hans...@gmail.com on 31 Jul 2012 at 9:07

GoogleCodeExporter commented 8 years ago
Sorry to add further noise, but people, PLEASE just click the star to the left 
of the bug title instead of posting a "me too."

Original comment by prog...@gmail.com on 31 Jul 2012 at 10:06

GoogleCodeExporter commented 8 years ago
The gui app does not work at all but the command line application runs fine in 
Mountain Lion. Just checkout the source code to your desktop or some other 
folder. Then in open terminal and change directory to the the folder you just 
checked out. Then enter this line in to terminal. "./namebench.py -s all" 
without the quotes. It should run fine. After it is done it will tell you what 
folder to look in for the html file to view the results it also list the 
fastest three dns servers in the terminal window. The folder should be 
something like this. /var/folders/w7/317l_w5s081_hyxyzzyf6yf00000gn/T/. Thats 
it. Not the best solution but a quick fix for now. 

Original comment by Jcroya...@gmail.com on 4 Aug 2012 at 5:02

GoogleCodeExporter commented 8 years ago
Or simply typing in ./namebench.py will work. -s all only returned an error for 
me, but using the source and ./namebench.py worked perfectly for me, so thanks 
for the tip!
I love it. 

Original comment by Lamename...@gmail.com on 4 Aug 2012 at 5:42

GoogleCodeExporter commented 8 years ago
Thanks guys for the command line tip, that works for now ;-)

Original comment by email.ca...@gmail.com on 4 Aug 2012 at 5:08

GoogleCodeExporter commented 8 years ago
I have a fix to get the GUI working again:
Change this file: namebench.app/Contents/Resources/libnamebench/health_checks.py
Old line 203: "hostname = 'namebench%s.%s' % (random.randint(1, 2**32), domain)"
New line 203: "hostname = 'namebench%s.%s' % (random.randint(1, 2**16), domain)"

Original comment by willjenk...@gmail.com on 5 Aug 2012 at 10:42

GoogleCodeExporter commented 8 years ago
Than you #17 your suggestion has worked for me!

Original comment by ivanfa...@gmail.com on 6 Aug 2012 at 2:31

GoogleCodeExporter commented 8 years ago
Thank you # 17, it worked for me too

Original comment by Enso...@gmail.com on 6 Aug 2012 at 2:33

GoogleCodeExporter commented 8 years ago
will they update the software soon or is this the only way to fix it?

Original comment by DFrideri...@gmail.com on 7 Aug 2012 at 9:44

GoogleCodeExporter commented 8 years ago
I had this issue on Mountain Lion,  suggestion #17 did the trick.
Thanks !

Original comment by y.tol...@gmail.com on 9 Aug 2012 at 6:05

GoogleCodeExporter commented 8 years ago
That did it for me..! Many thanx...!!! :)

Original comment by dlwalke...@gmail.com on 10 Aug 2012 at 7:04

GoogleCodeExporter commented 8 years ago
I'm on 10.8 as well. The 2**16 worked as far as the app continuing past 
wildcard cache - however exits with

Fail: list index out of range
  File "/Applications/namebench.app/Contents/Resources/controller.py", line 137, in benchmarkThread
    self.RunAndOpenReports()

  File "/Applications/namebench.app/Contents/Resources/libnamebench/base_ui.py", line 153, in RunAndOpenReports
    best = self.reporter.BestOverallNameServer()

  File "/Applications/namebench.app/Contents/Resources/libnamebench/reporter.py", line 134, in BestOverallNameServer
    return hosts[0] 

Original comment by sharkb...@gmail.com on 15 Aug 2012 at 7:57

GoogleCodeExporter commented 8 years ago
17 fixed it. Thanks!

Original comment by segidd...@gmail.com on 16 Aug 2012 at 12:26

GoogleCodeExporter commented 8 years ago
Line 17 change worked for me

Original comment by GoGarric...@gmail.com on 18 Aug 2012 at 4:22

GoogleCodeExporter commented 8 years ago
Can anyone walk me through on how to change what needs to be changed.  Im a 
newbie when it comes to this kind of stuff.  I have mountain lion.

Original comment by Timk...@gmail.com on 22 Aug 2012 at 12:11

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Line 17 worked for me as well, on Mountain Lion.  To answer the question in 
Comment 26, you have to control-click namebench.app, then click on "show 
package contents."  Then, drill down to the location specified in line 17 
(Resources/libnamebench/health_checks.py).  Open health_checks.py in text edit. 
 Hit Command F to open the find window.  Search for "hostname."  You should 
then see the line specified in line 17.  Change the "2**32" to "2**16".

Now when you run namebench, it should complete.

Original comment by jos...@gmail.com on 22 Aug 2012 at 2:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
OK..I got to it but how can I change it?  It says it's locked.

Original comment by Timk...@gmail.com on 22 Aug 2012 at 2:44

GoogleCodeExporter commented 8 years ago
You need to drag the app onto you harddrive (desktop) , not the disk image; I 
just found this out.

Original comment by allancr...@gmail.com on 22 Aug 2012 at 2:46

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Code fix worked for me too. Is it me or is it now quicker too?

Original comment by skratchw...@gmail.com on 22 Aug 2012 at 3:12

GoogleCodeExporter commented 8 years ago
got it....running it now with fingers crossed....thanks yall.

Original comment by Timk...@gmail.com on 22 Aug 2012 at 3:13

GoogleCodeExporter commented 8 years ago
success

Original comment by Timk...@gmail.com on 22 Aug 2012 at 3:34

GoogleCodeExporter commented 8 years ago
but after I drag the file to my desktop and change it, I cannot drag it back. 
It seems that it's because the disk image is read only.

Original comment by xsx.t...@gmail.com on 24 Aug 2012 at 12:13

GoogleCodeExporter commented 8 years ago
install namebench before changing file. the image cannot be altered.
Right (Cmd click) application icon select "Show Package Contents"
Navigate to file as described above
Open with text edit
Cmd+L type 203 in the text field, this will take you to line 203
Replace code with new described above

Original comment by wiadev...@gmail.com on 24 Aug 2012 at 11:00

GoogleCodeExporter commented 8 years ago
THX, Ive fixed it!

Original comment by xsx.t...@gmail.com on 25 Aug 2012 at 2:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm getting the same error as #23 after changing the code #17 said to

Original comment by garland...@gmail.com on 27 Aug 2012 at 1:44

Attachments:

GoogleCodeExporter commented 8 years ago
Experiencing error reported by 40. Anyone have a fix.

Original comment by mirobe...@aol.com on 30 Aug 2012 at 10:05

GoogleCodeExporter commented 8 years ago
corrected error in 40 by ejecting  the namebench dmg install drive and things 
worked, 

Original comment by bande...@gmail.com on 2 Sep 2012 at 1:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ejected dmg as recommended but still fails with list out of range Like 40

Original comment by mirobe...@aol.com on 2 Sep 2012 at 2:05

GoogleCodeExporter commented 8 years ago
1) Copy the app and eject the DMG. 
2) Ensure the app is not running
3) Change that line 203 to read 2**16 instead of 2**32
4) For good measure, delete the health_check.pyc
5) Run the app and rejoice, worksforme(tm)

Original comment by daniele.sluijters on 2 Sep 2012 at 9:08

GoogleCodeExporter commented 8 years ago
Ejected DMG, copied app,changed line 203, then ran for top 2,000 web sites and 
finally got successful run.

Original comment by mirobe...@aol.com on 2 Sep 2012 at 12:45

GoogleCodeExporter commented 8 years ago
Thank you #17 - such a rarity. Works great.

Original comment by ad...@ofhills.com on 2 Sep 2012 at 4:00

GoogleCodeExporter commented 8 years ago
Anyone have a solution for this?

Original comment by thbar...@icloud.com on 8 Sep 2012 at 12:17

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]