Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

apr_sockaddr_info_get() produces syslog messages on AIX: msg#00204

apache.apr.devel

Subject: apr_sockaddr_info_get() produces syslog messages on AIX

Note: I posted a similar question on comp.unix.aix

Platform: Aix 5.1

We are using Apache 2.0.42. We have written a module
which calls apr_sockaddr_info_get() which, in turn,
performs a getaddrinfo() call.

Every call by Apache to getaddrinfo() generates the following
syslog message:
"The user option is different from the address family passed into
the API."

Here are the arguments passed by apr_sockaddr_info_get() to
getaddrinfo():
hostname: "my.fullyqualified.host.com"
servername: NULL
hints:
ai_flags = 0
ai_family = 0 (AF_UNSPEC)
ai_socktype = 1 (SOCK_STREAM)
ai_protocol = 0
ai_addrlen = 0
ai_canonname = NULL
ai_addr = NULL
ai_next = NULL
res: &my_res (address of a "struct addrinfo *my_res)"

In case anyone needs a backtrace:
(dbx) where
syslog(0x4, 0xf005c0d8, 0x18, 0x2020695c, 0x0, 0x10000001,
0x10000001,0x0)
at 0xd02575fc
ho_byname2(??, ??, ??) at 0xd02949a4
gethostbyname2(??, ??) at 0xd025ca00
getaddrinfo2(??, ??, ??, ??) at 0xd0324f9c
getaddrinfo(??, ??, ??, ??) at 0xd0325f38
call_resolver(0x2ff11ee0, 0x20214318, 0x0, 0x2b6c2b6c, 0x0,
0x202142e0),
line 336 in "sockaddr.c"
find_addresses(0x2ff11ee0, 0x20214318, 0x0, 0x2b6c2b6c, 0x0,
0x202142e0),
line 430 in "sockaddr.c"
apr_sockaddr_info_get(0x2ff11ee0, 0x20214318, 0x0, 0x2b6c2b6c, 0x0,
0x202142e0), line 567 in "sockaddr.c"


My questions are:
- Why is this happening...?
- What can I do to stop it..?

Thanks,
-tony



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation