bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with RPC Calls. Server doen't send the answer?


From: David García
Subject: Problems with RPC Calls. Server doen't send the answer?
Date: Tue, 11 Mar 2003 12:00:07 +0100

Hello. My name is David Garcia and I'm a student of Computer Science from
Spain.

I've been experimenting problems with glibc-2.3.1 and RPC calls. I developed
a program under 2.2 and all the RPC's worked fine. But when I tried tu run
the program under a system with glibc-2.3 installed, the rpc calls always
return a TIMEOUT. The call arrives to the server, it processes it, but when
all seems to work fine, the server doesn't send the answer (or it doesn't
arrive to the client). Even testing the program is the same machine (using
localhost as host to avoid network problems loosing packets) it doesn't
work. I thought that it may be a problem with my program. But I've written
the next ".x", runned rpcgen to get the stubs, and simply tested it. I get
the same problem.

The ".x" is so simple that it doesn't need an xdr handling:

program STD_PROGRAM {
 version STD_VERSION {

   void STATSERV_NULL(void) = 0;

    int st_close(void) = 1;

    int st_delete(void)= 2;

  } = 1;
} = 122345;

The server just make a printf when it receives the call...and it works. But
when it's time to return the control to the client, something happens, for
the client clnt_call fails, and it retries again and again. At the end, I
receive a RPC timeout error (I've tried to change the TIMEOUT value...no
way).

Is there any known problem with glibc-2.3 and RPC calls?.

Thanks very much.

David.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]