Skip to Content

Operating system call gethostbyname failed (error no. 0 )

Hey all,

In my one of app server im getting this error frequently in sm21. Kindly help me how to solve this issue.

-


Details Page 2 Line 11 System Log: Local Analysis of solman 1

Time Type Nr Clt User TCode Grp N Text

13:59:02 DIA 001 900 BASIS Q0 I Operating system call gethostbyname failed (error no. 0 )

Operating system call gethostbyname failed (error no. 0 )

Details

Recording at local and central time........................ 15.07.2011 13:59:02

Task...... Process User...... Terminal Session TCode Program Cl Problem cl Package

08086 Dialog work process No. 001 BASIS 1 RSSTAT98 K SAP Web AS Problem STSK

Further details for this message type

Module nam Line Error text Caller.... Reason/cal

niuxi.c 1477 gethostbyname 0 NiPGetH gethost

Documentation for system log message Q0 I :

The specified operating system call was returned with an error.

For communication calls (receive, send, etc) often the cause of errors

are network problems.

It could also be a configuration problem at operating system level.

(file cannot be opened, no space in the file system etc.).

Technical details

File Offset RecFm System log type Grp N variable message data

36 108900 m Error (Function,Module,Row) Q0 I gethostbyname 0 NiPGetHgethostniuxi.c 1477

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 15, 2011 at 09:34 AM

    Hi,

    Please see the SAP Note..

    Note 388193 - gethostbyname call operating system failed

    Regards

    Bhuban

    RKFL

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 21, 2011 at 04:15 AM

    Hi.. when i run this transaction it says no transaction exists.. can any one help me reg this...

    Thanks all for ur valuable suggestions and help

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2011 at 06:30 AM

    Hi,

    Do you use optimizer in your APO. Is it installed correctly ?

    gethostbyname() is a system function that tries to get the IP addresse of a given hostname.

    This function calls the configured DNS server to fetch the IP address of the hostname and returns an error if the DNS is not able to resolve the IP and vice versa.

    So if you see this error in SM21, then a machine connected to the system whose name is not resolvable either by local hosts file or by DNS.

    Since you mentioned that you are getting this error on one of your app servers, please check if your DNS server is set up properly and that the host files are maintained properly.

    Also, please check and verify if the saposcol is running fine.

    Regards,

    Varun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2011 at 06:36 AM

    Hi ,

    If the optimizer is installated ,Pls check the Standalone gateway engine is installaed and RFC connection with the Gateway host has been maitained.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.