on 10-03-2007 5:35 AM
Dear all,
When I run tcode sm21, there're many errors about "Operating system call gethostbyname failed (error no. 2 )"
The specified operating system call was returned with an error.
For communication calls (receive, send, etc) often the cause of errors
are network problems.
Documentation for system log message Q0 I :
It could also be a configuration problem at operating system level.
(file cannot be opened, no space in the file system etc.).
Additional specifications for error number 2
Name for errno number E_UNKNOWN_NO
The meaning of the value stored in 'errno' is
platform-dependent.
The value which occurred here is unknown to the SysLog system.
Either there is an incorrect error number in the SysLog message, or
the tables TSLE2 or TSLE3 are not completely maintained.
Do anybody help me to solve this problem?
Hi,
I also facing the same issue, please can anyone give a solution for this.
Thanks in advance
regards,
sampath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
gethostbyname() is a system function that tries to get the IP addresse of a given hostname. So if you do e. g. a
ping <hostname>
then this function is called and is asking the configured DNS server to get the IP addresse for <hostname>. If the DNS does not return something viable the function returns with the given error.
In modern network environments it's crucial to have a proper DNS server set up, that means the name must be able to be resolved to an 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.
Markus
Dear Tai Tran,
is there any other information associated with the error in SM21 ? For example an RFC connection,
etc. ?
Maybe you will find a corresponding error (same timestamp) in the dev_wx or dev_rfcx trace files ?
What kind of workprocess is associated with it in SM21, f.e. RD, DIA ?
Which user, client, transaction code ?
kr
andreas
Edited by: Andreas Kleinlein on Jul 14, 2009 11:39 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the hostname at your server operating system level :
ping myserver.mydomain
it gives you the IP address
Then :
nslookup myipaddress
should give you exactly : myserver.mydomain
If not, correct the hostname or the DNS configuration or the etc/hosts file, or the ip adresses bindings.
Regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please take a advice,
Tan Tran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.