that worked, thanks a bundle! On Fri, Dec 16, 2011 at 2:31 PM, Macks, Aaron <ama...@harvardbusiness.org>wrote:
> Try pointing ab to 127.0.0.1 instead of localhost. I remember somewhere > that OSX changed to having the default address for localhost being ipv6, > and if you've not built in support for that it may fail. It may not help, > but if that was the cause it might > > A > -- > Aaron Macks > Sr. Unix Systems Engineer > > Harvard Business Publishing > 300 North Beacon St. | Watertown, MA 02472 > (617) 783-7461 | Fax: (617) 783-7467 > www.harvardbusiness.org | Cell:(978) 317-3614 > > On Dec 16, 2011, at 2:28 PM, S Ahmed wrote: > > > Any comments on this issue? > > > > > > On Thu, Dec 8, 2011 at 9:24 PM, S Ahmed <sahmed1...@gmail.com> wrote: > > ab -n 100 -c 1 http://localhost:8080/ > > > > his is ApacheBench, Version 2.3 <$Revision: 1178079 $> > > Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ > > Licensed to The Apache Software Foundation, http://www.apache.org/ > > > > Benchmarking localhost (be patient)...bind: Address family not supported > by protocol family (47) > > > > > > Background: I upgraded my Mac to Lion, and apache bench stopped working > giving me the errors: > > > > Upgrage apr_socket_recv: Connection reset by peer (54) > > > > So I read online that the latest beta version fixed this issue, so I > downloaded it ( > http://ftp.download-by.net/apache//httpd/httpd-2.3.15-beta.tar.bz2) and > built it based on this: > http://www.ralphhenry.net/blog/2011/08/23/apachebench-fails-after-mac-osx-lion-upgrage-apr_socket_recv-connection-reset-by-peer-54/ > > > > When I copied it over to /usr/sbin/ab, it now gives me the error above > (address family not supported). > > > > I really want to get this working, any guesses what it could be? > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >