BI Server Socket communication error

All,
OBIEE 10G with Oracle 11 database on Sun solaris.
BI Server is randomly crashing with following error message:
Odbc driver returned an error (SQLDriverConnectW).
State: HY000. Code: 0. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12008]
Unable to connect to port 9703 on machine LOCALHOST. [nQSError: 12010]
Communication error connecting to remote end point: address = LOCALHOST; port = 9703. [nQSError: 12002]
Socket communication error at call=: (Number=-1) Unknown error (HY000)
If you restart, it works fine for 1-2 days. Then again crash happens.
Any ideas ..?
~R

I've had similar issues due to insufficient memory on HP-UX. Probably best to raise a support log with oracle.

Similar Messages

  • Request giving Socket communication error at call=recv: error.

    Hi All,
    My requirement goes like this for OBIEE 11G :
    I have two requests(analysis) and I want to show either of them at a given time based on a Dashboard prompt. I have set a Presentation variable {PV} for this Prompt whcih always hays two values A and B.
    My first request is like this :
    Dim 1 Measure 1 ( this should be shown when I select Dashboard Prompt A.
    My second request is:
    Dim 2 Measure 2 ( this should be shown when I select Dashboard Prompt B.
    I have to use the Guided Navigation ( Sectional Condition in 11g)
    When Dashboard Prompt A is selected Section 1 i.e. Request 1 should be shown when Dashboard Prompt B is selected then it should show request 2.
    To achieve this in request 1 I have added a extra filter '@{PV}' is equal to/is in 'A' and in request 2 I have added a extra filter '@{PV}' is equal to/is in 'B' so as when we select B in Prompt the first request should 'No Results' so as I can achieve my Guided Navigation.
    But to my surprise when I select B in the Dashboard Prompt the first request throws an error.
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12002] Socket communication error at call=recv: (Number=10038) An operation was attempted on something that is not a socket. (HY000)
    Please help me out with this regards as I was able to achieve this functionality easily in 10G OBIEE.
    Regards,
    Bhavik

    Hi,
    Mistakenly my machine got restarted and after that when I tried to start OPMN services,its showing all the processes alive but after that ,while restarting BI services from windows
    its throwing an error of unexpectedly shutting down of services.
    My NQS log says:
    [nQSError: 12010] Communication error connecting to remote end point: address = 192.168.10.209; port = 80.
    [nQSError: 46119] Failed to open HTTP connection to server 192.168.10.209 at port 80.
    I have checked that IP is still same. What is the issue behind it?
    This is very urgent.I have already posted this issues many times but didn't get any response So please help.

  • Socket communication error

    I am facing a problem in presentation server .
    When i am using AGO date functions i have encountered an error named as.:
    nQS Error:12002 : Socket Communication error at call=recv (number=10054)
    I have goggle'd it but cannot understand thier explanation ...

    Hi,
    Mistakenly my machine got restarted and after that when I tried to start OPMN services,its showing all the processes alive but after that ,while restarting BI services from windows
    its throwing an error of unexpectedly shutting down of services.
    My NQS log says:
    [nQSError: 12010] Communication error connecting to remote end point: address = 192.168.10.209; port = 80.
    [nQSError: 46119] Failed to open HTTP connection to server 192.168.10.209 at port 80.
    I have checked that IP is still same. What is the issue behind it?
    This is very urgent.I have already posted this issues many times but didn't get any response So please help.

  • Socket communication error in OBIEE 10g.

    Hi
    I have below error in nqserver log by which i am unable to connect admin tool and presentation service. I am using OBIEE 10g.
    [nQSError: 12002] Socket communication error at call=recv: (Number=10004) A blocking operation was interrupted by a call to WSACancelBlockingCall
    Please Suggest.

    Hi ,
    Its not about the no. of connection pools u have in ur RPD .Its the maximum number of connections allowed for this connection pool. The default is 10. This value should be determined by the database make and model
    and the configuration of the hardware box on which the database runs as well as the number of concurrent users who require access.
    Ref :
    http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/oracle-bi-server-stops-automatically-after-some-time-3645235
    Just give it try .

  • [nQSError: 12002] Socket communication error at call=recv: (Number=10004)

    Can any1 plz help...!
    I am unable to start presentation services...! I am currently using windows server 2003 service pack 2. I tried configuring scheduler after which I got the message:
    "Windows could'nt start Oracle BI Presentation server on local computer. For more information review the system event log. If this is a non-microsft service, contact the service vendor, and refer to service-specific error code -1."
    I am getting these 2 errors:
    In nqserver.log shows below error
    [nQSError: 12002] Socket communication error at call=recv: (Number=10004) A blocking operation was interrupted by a call to WSACancelBlockingCall.
    In nqscheduler.log shows below error
    [nQSError: 12002] Socket communication error at call=: (Number=10048) Only one usage of each socket address (protocol/network address/port) is normally permitted.
    I have changed scheduler port (in Job manager-->file-->configure options..>schedule-->general tab) to an available open port since 9705 is not available. I also updated port number in instanceconfig.xml file.
    Any suggestions would be really appreciated.

    have you seen the blog of John about this? http://obiee101.blogspot.com/2008/08/obiee-configuring-configuring-scheduler.html
    hope this heps

  • [nQSError: 12002] Socket communication error at call=(Number=10004, 10048)

    Can any1 plz help...!
    I am unable to start presentation services...! I am currently using windows server 2003 service pack 2. I tried configuring scheduler after which I got the message:
    "Windows could'nt start Oracle BI Presentation server on local computer. For more information review the system event log. If this is a non-microsft service, contact the service vendor, and refer to service-specific error code -1."
    I am getting these 2 errors:
    In nqserver.log shows below error+
    [nQSError: 12002] Socket communication error at call=recv: (Number=10004) A blocking operation was interrupted by a call to WSACancelBlockingCall.
    In nqscheduler.log shows below error_
    [nQSError: 12002] Socket communication error at call=: (Number=10048) Only one usage of each socket address (protocol/network address/port) is normally permitted.
    I have changed scheduler port (in Job manager-->file-->configure options..>schedule-->general tab) to an available open port since 9705 is not available. I also updated port number in instanceconfig.xml file.
    Any suggestions would be really appreciated.

    user12970693 wrote:
    Can any1 plz help...!Gawsh. That's awful.
    I wonder whether people who deal primarily with BI Server might be able to help you better than people who deal primarily with the database?
    http://forums.oracle.com/forums/category.jspa?categoryID=145
    I am unable to start presentation services...! I am currently using windows server 2003 service pack 2. I tried configuring scheduler after which I got the message:
    "Windows could'nt start Oracle BI Presentation server on local computer. For more information review the system event log. If this is a non-microsft service, contact the service vendor, and refer to service-specific error code -1."
    I am getting these 2 errors:
    In nqserver.log shows below error+
    [nQSError: 12002] Socket communication error at call=recv: (Number=10004) A blocking operation was interrupted by a call to WSACancelBlockingCall.
    In nqscheduler.log shows below error_
    [nQSError: 12002] Socket communication error at call=: (Number=10048) Only one usage of each socket address (protocol/network address/port) is normally permitted.
    I have changed scheduler port (in Job manager-->file-->configure options..>schedule-->general tab) to an available open port since 9705 is not available. I also updated port number in instanceconfig.xml file.
    Any suggestions would be really appreciated.On first guess, I'd almost think some anti-virus or firewall is haunting that machine.

  • How to correct socket communications error 10054: connection reset by peer

    We are running Lookout 5.1 (build 8) reading data through Modbus Ethernet Drivers and we are constantly getting "socket communications error 10054: connection reset by peer" alarms on the server. When I connect to the server file with a client file the client is experiencing communications problems including locking up when editing, trends not showing up, stops updating completely (can only be corrected by restarting server file), and losing symbolic link.
    Does anyone know how to stop this alarm from happening and if this could be the cause of my faulty server-client connection or is this strictly a problem between the server and the ethernet radios in the field?
    Any response would be appreciated.
    Thanks!
    Jason
    Jason Phillips

    DST1,
    All I had to do was increase the receive timeout in each driver's properties until the socket errors disappeared. I have them all set to 30000 msec. Communications have been great on this wireless ethernet system ever since.
    Sorry for not answering sooner - needed to make time to go back and look at the file and then TS Lee came our way!
    Jason Phillips

  • [nQSError: 12002] Socket communication error at call=recv: (Number=10038)

    Hi, When I try to run any reports in Oracle Answers I am getting the following error:
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. NQODBC SQL_STATE: HY000 nQSError: 10058 A general error has occurred.
    nQSError: 12002 Socket communication error at call=recv: (Number=10038) An operation was attempted on something that is not a socket. (HY000)
    When I try to issue a 'Direct Database Request' from Answers, it is working fine and I can see the results. The error is occuring only when I select any columns from the Presentation Catalog and try to run the Adhoc report.
    Please could you help me fix this issue.
    Thanks
    Srikanth

    Hi, When I try to run any reports in Oracle Answers I am getting the following error:
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. NQODBC SQL_STATE: HY000 nQSError: 10058 A general error has occurred.
    nQSError: 12002 Socket communication error at call=recv: (Number=10038) An operation was attempted on something that is not a socket. (HY000)
    When I try to issue a 'Direct Database Request' from Answers, it is working fine and I can see the results. The error is occuring only when I select any columns from the Presentation Catalog and try to run the Adhoc report.
    Please could you help me fix this issue.
    Thanks
    Srikanth

  • Download of  Oracle9iApplication server gets communication error

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg
    URL is http://otn.oracle.com/software/content.html
    double click get communication error.
    using REDHAT 7.3 and NETSCAPE 4.79-1 lefthand column(database) will download and portions of application server will also just can not get at application server..

    ashish0_0 wrote:
    Our requirement is to access the sun directory server manually with a GUI. If Directory Server Control Center provides this facility,then how to integrate DSCC with already installed Sun java communication suite on solaris machines?DSCC is installed as part of Directory Server 6 if you selected this component during the installation process.
    You access the DSCC interface via the system webconsole. If you have any problems setting this up/enabling it I recommend you review the directory server 6 installation and administration manuals on docs.sun.com.
    Moreover, does DSCC already included in Sun java communication suite or do i need to download it manually?It is included already with the Comm-Suite installer.
    Regards,
    Shane.

  • Servlet Server Socket Communication problem

    Hi
    Iam having this problem ...when I read data in server line by line it works but when I try to read byte by byte server hangs. This is my code
    BufferedReader in = new BufferedReader(
    new InputStreamReader(
    clientSocket.getInputStream()));
    //it works fine when i do
    String strLine = in.readLine();
    //but hangs when I do like this
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    int r = in.read();
    while(r != -1)
    baos.write(r);
    r = in.read();
    I am sending data from the client socket as
    out = new PrintWriter(addArtSocket.getOutputStream(), true);
    I just do out.println to send data.
    Is there something wrong that I am doing?
    Thanks
    vinitha

    hi,
    basically, I suggest that you have the communication
    channel in the same type between two ends. For example,
    if you decide to connect two side byt Stream, you just
    apply your code in the sort of Stream for I/O.
    If you decide to connect two sides by Reader/Writer, you
    apply your code in the sort of Reader/Writer for I/O.
    Don't mix them up. Although I don't know what may
    happen. For example, you want to pass an Object
    between two ends, you could use ObjectInputStream/
    ObjectOutputStream pair on two sides. Don't put
    ObjectInputStream in one side and talk to one sied
    which write data by other OutputStream filteer but
    not ObjectOutputStream .
    You may find something interesting.
    good luck,
    Alfred Wu

  • Mutli threading in Server Socket giving error for parallel requests

    HI, I wrote a ServerSocketProgram.java which listens to client and receives data. I used multithreading on each request it receives . But when two clients parallelly send data the server is struck at the iStream.read() operation. I have given setSoTimeOut(20000) . So its giving me a socketTimeOut Exception .If I removed the time out , It gave SocketException : socket closed. And there's no response to the client.
    Please tell me the reason for the above problem . The sample program is below.
    while ((clientSocket=serverSocket.accept())!=null){
                        System.out.println("in side main "+clientSocket.getInetAddress());
                        Thread c= new Thread(new ServerSocketProgram(clientSocket));
                        c.setDaemon(true);
                        c.start();
    The Constructor is :
    public ServerSocketProgram(Socket clientSocket){
              this.socket = clientSocket;
              try {
                   oStream =new DataOutputStream(socket.getOutputStream());
                   iStream =new DataInputStream(socket.getInputStream());
              } catch (IOException e) {
                   e.printStackTrace();
    The run method :
    public void run() { 
              int op=0;
              try {
                   while ((op=iStream.read())!=0){
                        System.out.println(op);
                   oStream.writeBytes("hi success ");
                   oStream.flush();
              } catch (IOException e) {
                   e.printStackTrace();
              try{
                   oStream.close();
                   iStream.close();
                   socket.close();
              }catch(Exception e){
                   e.printStackTrace();
    Thanks in advance ,
    Sow
    Message was edited by:
    sow_Yarr

    Your end-of-stream test should be looking for -1, not zero. Zero is a possible data value, but you're probably never receiving it so you're never getting to the output statement following your read loop.

  • Client / Server Socket Communication - Should use 2 ports?

    If we have a client server architecture using a socket based connection, should there be 2 serperate sockets? One dedicated to sending and one dedictated to receiving? What happens if both the client and server both send at the same time? How does that get handled? Does one of the messages get dropped? Thanks...

    There are of course reasons you might want to use two sockets.
    For instance security. One socket is encrypted and the other isn't. Or because the server initiates a confirmed port connection back it verifies the IP.
    Or because the main socket is used for control and the second one is used for data. That way the client can tell the server to pause or make other adjustments in the data while the data is still flowing.

  • Problem with socket communications

    I am trying to put together a client server socket communication pair.
    I have one application that runs in the background acting as a server and another that can be started and stopped that acts as a client.
    I can start the server and create a server socket with no problem.
    I can start the client and it connects to the server.
    The server acknowledges the connection and appears to go into a blocking state waiting for the client to send another message.
    The server blocks at the line
    parent.logit("Waiting for message from EVR..... ");
    The problem is that when the client sends another message, the server doesn't hear it.
    I am not sure if the problem is with the client or server communication code.
    If anyone out there is a socket communication guru, I would appreciate it if you could tell me what I am doing wrong.
    Thanks
    Server code:
    import java.io.*;
    import java.net.*;
    public class EVRServer
        extends Thread
      EVRDataLoader parent = null;
      ServerSocket serverSock = null;
      Socket clientSock = null;
      BufferedReader reader = null;
      BufferedWriter writer = null;
      int evrPort = 0;
      int retryLimit = 10;
      int retryCount = 0;
      boolean alive = false;
      boolean killSocket = false;
      boolean evrConnected = false;
      boolean retry = true;
      EVRListener evrListener = null;
    //=============================================================================
    // Full constructor
    //=============================================================================
       * Full constructor.
       * @param dl DataLoader - Parent application
       * @param port int Socket port
      public EVRServer(EVRDataLoader dl, int port)
        parent = dl;
        evrPort = port;
    //=============================================================================
    //  Run method - Main thread executed by start() method
    //=============================================================================
       * Main thread executed by start() method
      public void run()
        while (retry)
          if (retryCount > retryLimit)
            retry = false;
          parent.logit("Retry count = " + retryCount);
          // Create new server socket connection
          if (serverSock == null)
            try
              serverSock = new ServerSocket(evrPort);
              parent.logit("Created Server Socket for EVR on port " + evrPort);
              alive = true;
              killSocket = false;
              evrConnected = false;
            catch (Exception e)
              parent.logit(
                  "ERROR - Could not create Server socket connection for EVR: " +
                  e.toString());
              killSocket = true;
              alive = false;
          // Create new client socket connection
          if (clientSock == null)
            try
              parent.logit("Waiting for EVR to connect");
              clientSock = null;
              clientSock = serverSock.accept();
              retryCount = 0;
              evrConnected = true;
              killSocket = false;
              parent.logit("EVR connected on server Socket Port " + evrPort);
            catch (Exception e)
              parent.logit("ERROR - Error accepting EVR connection: " + e.toString());
              killSocket = true;
            try
              reader = new BufferedReader(new InputStreamReader(
                  clientSock.getInputStream()));
              writer = new BufferedWriter(new OutputStreamWriter(
                  clientSock.getOutputStream()));
              parent.logit( "Created reader "+reader);
              parent.logit( "Created writer "+writer);
            catch (Exception e)
              parent.logit(
                  "ERROR - creating reader or writer to EVR: " + e.toString());
              killSocket = true;
          int nullCount = 0;
          while (killSocket == false)
            try
              parent.logit("Waiting for message from EVR..... ");
    //          sendMessage("Data Controller connected on port " + evrPort);
              String s = reader.readLine();
              parent.logit("EVR - Received message: " + s);
              if (s != null)
                parent.processEvrMessage( s);
              else
                sleep(1000);
                nullCount++;
                if (nullCount > 10)
                  parent.logit("Exceeded retry limit: ");
                  killSocket = true;
            catch (Exception ex)
              parent.logit("Error Reading from EVR: " + ex.toString());
              killSocket = true;
          parent.logit( "After while loop");
          evrConnected = false;
          try
            retryCount++;
            parent.logit("Closing EVR connection. ");
            reader.close();
            writer.close();
            clientSock.close();
            writer = null;
            reader = null;
            clientSock = null;
            try
              sleep(1000);
            catch (Exception ee)
              parent.logit("Error after sleep " + ee.toString());
          catch (Exception e)
            parent.logit("Error closing EVR server socket");
    //=============================================================================
    // Call this method to kill the client socket connection.
    //=============================================================================
       * Call this method to kill the client socket connection.
      public void killConnection()
        killSocket = true;
    //=============================================================================
    // Return RTM connected state
    //=============================================================================
       * Return RTM connected state
       * @return boolean - Returns true if RTM is connected to server, false if not.
      public boolean isRtmConnected()
        return evrConnected;
    //=============================================================================
    // Returns state of server socket.
    //=============================================================================
       * Returns state of server socket.
       * @return boolean - Returns true if server socket is enabled, false if not.
      public boolean isServerSocketAlive()
        return alive;
    //=============================================================================
    // Send a message to the client socket.
    //=============================================================================
         * Send a message to the client socket.
         * @param msg String - Message to send.
         * @return boolean - Returns true if message sent OK, false if not.
      public boolean sendMessage(String msg)
        parent.logit(" In EVR Server - Send Message - got message: " + msg);
        if (evrConnected)
          try
            parent.logit("Sending message to EVR: " + msg);
            writer.write(msg + "\n");
            writer.flush();
            return true;
          catch (Exception e)
            parent.logit("ERROR - Error sending message to EVR: " + e.toString());
            return false;
        else
          parent.logit("EVR not connected, cannot send message: " + msg);
          return false;
    }Client code:
    package evrsimulator;
    import java.net.*;
    import java.io.*;
    class PortConnector
          extends Thread
       ServerSocket serverSock = null;
       boolean isIP = false;
       InetAddress addr = null;
       Frame1 parent = null;
       byte[] rawIP;
        //   String initialMsg = "";
       public PortConnector( Frame1 f )
         parent = f;
       // This method is called when the thread runs
       public void run()
          if ( parent.hostName.indexOf( "." ) > 0 )
             isIP = true;
             byte[] rawIP = parent.getRawIP( parent.hostName );
          try
             System.out.println( "Connecting to host " +
                                            parent.hostName + " on port " +
                                            parent.socketPort );
             if ( isIP )
                addr = InetAddress.getByAddress( rawIP );
             else
                addr = InetAddress.getByName( parent.hostName );
             System.out.println( "Inet address = " + addr );
             SocketAddress sockaddr =
                   new InetSocketAddress( addr, parent.socketPort );
             // Create an unbound socket
             parent.client = new Socket();
             // This method will block no more than timeoutMs.
             // If the timeout occurs, SocketTimeoutException is thrown.
             parent.client.connect( sockaddr, parent.socketTimeOut );
             parent.socketOut =
                   new BufferedWriter( new OutputStreamWriter(
                   parent.client.getOutputStream() ) );
             parent.socketIn = new BufferedReader( new InputStreamReader(
                   parent.client.getInputStream() ) );
             parent.localName = parent.localName +
                   parent.client;
             System.out.println( "Parent socketOut = "+parent.socketOut);
             System.out.println( "Parent socketIn = "+parent.socketIn);
          catch ( UnknownHostException uhe )
             System.out.println( "Unknown Host - " + uhe.getMessage() );
          catch ( SocketTimeoutException ste )
             System.out.println( "Socket time out - " + ste.getMessage());
          catch ( IOException ioe )
             System.out.println( "IO exception - " + ioe.getMessage() );
          // Listen on socket for message from host - thread should block.
          parent.portConnected = true;
          while ( parent.portConnected )
             try
                String msg = parent.socketIn.readLine();
                System.out.println( "Message from Host: " + msg );
                System.out.println( "Message from Host: |" + msg + "|" );
                if( msg.length() > 2)parent.processMessage( msg );
             catch ( IOException ioe )
                System.out.println( "Exception creating server socket." );
          try
             System.out.println(
                   "PortConnection - Closing socket and IO connections" );
             parent.socketIn.close();
             parent.socketOut.close();
             parent.client.close();
             parent.clockRunning = false;
             if( parent.heartBeating) heartBeat.interrupt();
          catch ( IOException ioex )
             System.out.println( "Exception closing socket." );
    }

    Your first problem is that you keep closing and recreating the ServerSocket. Do this once only in the lifetime of the server.
    This is such a basic error that I haven't read the rest of the code. Before you go any further I suggest you read the Custom Networking trail of the Java Tutorial.

  • BI SERVER ODBC datasource error

    Hello,
    30 mnts before all the application is working.Now i am getting the following error when trying to configure odbc data source
    [nQSerror:12008] Unable to connect to port 9703 on machine 'hostname'
    [nqserror:12010] Communication error connecting to remote end point: address = hostname;port = 9703
    [nqserror:12002] Socket communication error at call=: (Number = -1) Unknown
    I am getting this error when i tried to login from the BI Answers
    Odbc driver returned an error (SQLDriverConnectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12008] Unable to connect to port 9703 on machine LOCALHOST. [nQSError: 12010] Communication error connecting to remote end point: address = LOCALHOST; port = 9703. [nQSError: 12002] Socket communication error at call=: (Number=-1) Unknown (HY000)
    Before that every thing used to work just fine.
    what might the reason behind this?
    Please suggest.
    Thanks in advance

    Hello,
    In my case NQSconfig.ini file has some additional entries for the repositories.
    As soon as I deleted those additional entries just keeping only the required repository entry, BI server is started.
    Try looking in the log file.
    Thanks.

  • Agentry Server Communications error (14)

    Hi All,
    We are trying to use WPF client for testing the application,
    but we were getting the below error message
    To resolve that we used the local certificate generated by using steps mentioned in the below link
       http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01930.0233/doc/html/fre1383608304168.html
    After installing new certificate we are getting below communication error in ATE and as well as in WPF client:
    before installing local certificate Application was working fine in ATE
    Message:
    Requesting Public Key from Server
    Communications error (14)
    Connection failed
    Ending transmission
    Please guide me to resolve the issue
    Regards,
    Lekhak Patil

    Hi  Steve,
    We got the same issue working with WPF client  , Hence we upgraded the SMP server 2.3 from SP00 to SP03 .
    At present the Server is SMP 2.3 SP03  but we have not installed any certificate.
    Again when trying to connect to server we got the Communication error(14) error.
    Do we need to install the certificate again ?
    Please let us know the exact process of installing and working with WPF client with SMP 2.3 SP03
    Thanks
    Neha

Maybe you are looking for