TREX RFC fails

Hi Gurus
I follow the Trex60 non Portal installation guide and successfully install Trex 60 SP09, however when I try to build the RFC connection in CRM system(registration mode: program id crmsrv.TREXRfcServer_03/gateway host=crmsrv/gateway service=sapgw47), it always fails as "Program crmsrv.TREXRfcServer_03 not registered/...".
The strange things I meet is:
1. There is NO imsconfig.cfg file in Trex directory, but I find TREXRfcServer.ini to determine the service "TREXRfcServer_03" instead(Note 718339 also points to this ini file)
2. There is NO ims_server_admin.exe file
3. There is NO rfc_sapretrieval.exe file, so there is no process of "rfc_sapretrieval.exe" in task manager, but I find TREXRfcServer.exe instead, and succeeded execute in cmd mode(return message is "Connected - ready),then "TREXRfcServer.exe" is in process in task manamger.
The other things like gateway service & trex_03 service are well started. remote gateway sapgw47 is also shown in SMGW.
However, the test of rfc always fails( I even tried the start mode instead, still fails).
Highly appreciated if you can give me any hint...
Thanks!
Patrick

i think thats normal if you look at note 718339.
Shortly they are saying that the program id after sp1 must be without the host in front of the program id.

Similar Messages

  • Call of function module "SUBST_START_BATCHJOB" by RFC failed

    Hello Guru's,
    We have the following Issue:
    In Phase PREP_INIT/JOB_RSUPDTEC we get this error from EHPI (Version 710-1)
    Checks after phase PREP_INIT/JOB_RSUPDTEC were negative!
    Last error code set: BATCHJOB RSUPDTEC FAILED: Calling RSUPDTEC failed - repeat phase.
    In the file PSUPDTEC.LOG are the following error:
    4 ETQ260 Starting batchjob "RSUPDTEC"
    4 ETQ230 Starting RFC Login to: System = "E11", GwHost = "sape11", GwService = "sapgw00"
    4 ETQ359 RFC Login to: System="E11", Nr="00", GwHost="sape11", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    4 ETQ233 Calling function module "SUBST_START_BATCHJOB" by RFC
    4 ETQ399 JOBNAME='RSUPDTEC', REPNAME='RSUPDTEC', VARNAME='', BATCHHOST='sape11', IV_SCHEDEVER=' '
    4 ETQ234 Call of function module "SUBST_START_BATCHJOB" by RFC succeeded
    4 ETQ399 Returned JOBCOUNT='14230100'
    2EETQ235 Call of function module "SUBST_START_BATCHJOB" by RFC failed (error-status "27")
    2EETQ261 Start of batchjob "RSUPDTEC" failed
    In the Sysem we can see, that the Job RSUPDTEC was created by DDIC but not started.
    We can start (and finish) the job successfully as logged in DDIC.
    We don't know whats the problem. The EHPI stopped every time at this point.
    Need Help...
    regards
    Chris

    Issue solved.
    In /etc/hosts the first entry was SAPE11.
    But it must be sape11, because the instance is sape11_E11_00.
    In SM51 we could see that
    sape11_E11_00     SAPE11     Dialog Batch Update Upd2 Spool Enqueue ICM     active
    We changed the entry and restarted SAP.
    Then the job can be started.

  • TREX preprocessing failed, HTTP Status Code 401

    Hello everybody!
    I'm using SAP NetWeaver 7.0 (2004s), TREX 7.0 on Win2003 Server.
    I'm trying to index files, but it doesn't work for files bigger than 10KB. I know that for these documents > 10KB only the URI is transmitted to TREX. So it seems the problem is based on the communication between TREX and portal.
    Error messages:
    TREX monitor: preprocessing failed, error number: 6401, error message: HTTP Status Code 401: Unauthorized
    Indexmonitor: Trex: Preparation failed: index operation
    - all TREX server status icons are green.
    - I'm not using any SSL communication.
    - indexing doesn't work for any data sources, neither web repositories nor KM content.
    - I've checked the host and alternative host parameter in the URL generator service (both http://<myservername>:50100).
    - I am able to access the URL of the resource directly.
    - I've added the "unescape_url=no" entry in the TREXPreprocessor.ini like SAP Note 650521 says.
    - my system ID is properly set.
    - the password of user index_service does not expire.
    Does anybody have any further ideas?
    Many thanks in advance
    Steffi, working on it for days...

    Hello Robert and Steffi,
    With the help of SAP support, I could solve the problem !
    Certificate for SAPLogonTickets had expired, so authentication was no longer possible. Solution : recreated the certificates with Visual Admin.
    In Visual Admin, go to "Key Storage" service, then choose "TicketKeystore" view.
    Delete SAPLogonTicketKeypair and SAPLogonTicketKeypair-cert certificates (or rename them in a first time).
    Then recreate "SAPLogonTicketKeypair" :
    - fill the Entry Name with "SAPLogonTicketKeypair",
    - fill "Common Name" with the value from the previous ticket
    - check "Store Certificate" (this will automatically create SAPLogonTicketKeypair-cert)
    - choose "DSA" as Algorithm
    and click on "Generate"
    That worked fine for us on two platforms.
    Hope that gonna help...
    Nicolas

  • RFC failed

    hi,
    RFC has failed, and i ve even checked it,.
    it showed rfc failed;
    if i need to give RFC connection,, how can i go about.. kindly tell give me steps,,,to make RFC working...
    happy
    ashwin

    SM58 to check the RFC Connection.
    Usually thre will be shortdump accompanying TRFC errors. The details of error message can be found in the dump and corrective actions can be taken based on that
    http://help.sap.com/saphelp_nw70/helpdata/en/89/45aad99715462abdf09ec503e151e7/frameset.htm
    Message was edited by:
            Aduri

  • Trex: Preparation failed: index operation

    Hi gurus,
    We have a Trex 7.0 server working on a seperate server. When I look at Index Administration, the statuses of the indexes are all green. But when i look at the indexing monitor, one of our indexes is in red status, It says Indexed:13342, Errors: 15610.
    When I click on the Errors link, It says: "Trex: Preparation failed: index operation".
    I searched the trace files but couldn't find sthg useful.
    Any suggesstions?
    Tolga

    Hi Tolga,
    please check your installation with the information mentioned by Jochen Goeeninger (long post) in the following thread Trex HTTP Server not seen in Portal
    Furthermore try to open one of the documents you are trying to index via HTTP from the TREX Server.
    With the result of that, I would suggest to open support message under http://service.sap.com/message
    Hope this helps,
    Robert

  • RFC Failed: Exception condition "CNTL_ERROR" raised

    Hi All,
    I have an RFC in R/3 which would be called from the .NET front end. When they run the RFC, they get an error which says
    RFC Failed: Exception condition "CNTL_ERROR" raised
    Could any one help me what is the work around for this?
    Regards,
    Guru.

    Hi Guru,
    You are correct. Check the RFC for an call for screen/popup/dialog/user input etc.
    Such error occurs for the system is expecting a user input.
    Thanks,
    Best regards,
    Prashant

  • TREX: Preparation Failed in document index

    Hi,
    I have defined an index with one datasource and I get an error in 317 documents, while 204 documents are OK.
    Error are due to 6401 code error (HTTP Status Code 401 : Unauthorized) but I don't know how to solve it. Everyone has full control to datasource (is a development environment).
    Any suggestion?
    Thanks and best regards!
    Damian

    Hi All,
    When go this patha <b>SysAdmin>Monitoring>IndexingMonitor</b> iam getting the error.
    Trex: Preparation failed: index operation.
    Could anybody tell me what could be the reason...i had give host name in URL generator also. 
    <b>SysAdmin>SysConfig>KM--> Index administrator</b> i can able to see all Acive and Gree tick mark for all categeory..but indexing was not working for me...

  • Creation of Trusted RFC fails

    Hello
    I am trying to connect my ERP and BW systems to Solution Manager but I can't make Trusted RFC connections.
    When I checked SM59 on three systems I see `You are not authorized to logon to the target system (error code 1)
    I did successfully installed Solution Manager, did initial and basic settings. I created SOLMAN_ADMIN user every system assigned it SAP_ALL, SAP_NEW and created a role with S_RFCACL authorization object, (I assigned full authorization on all objects on that role).  I did add IP numbers and hostnames to hosts file but still same. When I test connection I get success but authorization check always fails.
    I both tried from SOLMAN_SETUP > Managed Systems and also after clearing all RFCs and trusted system entries from SMT1 and SMT2, I added RFCs from SMSY but I get same results.
    Side note, all servers are in the same subnet but Solution Manager server belongs to different domain.
    My main reason to implement trusted rfc is I need to implement ServiceDesk and I have to test it before going live, so all data on Solution Manager is expendable.
    My systems are
    ERP: Windows 2003 R2 x64, SQL 2005 SP3, ERP EHP4 SP5
    BW: Windows 2003 R2 x64, SQL 2008 SP1, NW 7.0 EHP2 SP6
    Solman: Windows 2003 R2, SQL 2008 SP1, EHP1 SP7
    What am I doing wrong there?

    Hello,
    Are you letting the wizard create the RFC's for you?
    On the Client tab in SMSY?
    Also you assigned S_RFCACL  what about S_RFC?
    I would ask you to check the logon tab and make sure Current user is not checked.
    Also, please review this Note 128447 - Trusted/trusting systems
    This should help resolve.
    Regards,
    Paul

  • Rfc fails to execute

    Hi,
    I dont seem to be able to resolve this...during the Configuration for XI, we need to create the RFC destinations for AI_RUNTIME_JCOSERVER, which i did and created the corresponding one in the j2ee stack also, however a testRFC fails..with the error that could not open rfc connection. i did all the usual debugging..hosts file, services file. Howwever when i open a command prompt and start the rfc from a command line..then it accepts connections. else it doesent, that is to say..the testConnection then works.  This is a netweaver 2004 install on win2k3 server, any ideas...on how to fix it. also from sm59 some of the other default rfc`s dest`s created also dont work.
    Regards
    Ravi

    Some additional info
    1) this is the error seen in the syslog
    SAP Basis System: Communication error, CPIC return code 002, SAP return code 679
    2) Error opening rfc connection...
       Program IGS.IB7 not registered.
       Detail tp IGS.IB7 not registered
       Component sap-gateway
    3) I checked the above program id on se38 and i got a msg that program doesent exist.
    4) However when i do a manual start of the rfc like..
    rfcexec -a pgmID -g host -x sapGateway
    with the correct params...
    then a test Connection works...
    5) When i change the programid to match the listenrfcprogramID from the igs.xml file..then the test Connection works.
    i believe its an network issue...
    Can anyone help in this regard..............any help is highly appreciated

  • Rfc fails

    Hi All
    I tried executing one rfc with remote destination 'sapcms' in a few ways but all of them failed.
    First I tried :
          CALL FUNCTION 'SCMS_CLTFC_FILE_GET'
            EXPORTING
              USAGE          = 'AL'
              KEY            = lv_key
              FILENAME       = lv_filename
           EXCEPTIONS
             FAILED         = 1
             OTHERS         = 2
    This function calls a function inside with destination, but it failed on pinging the destination.
    Second I tried Service Call:
            wd_this->execute_scms_cltfc_file_get(
              filename =  lv_filename
              key =   lv_key
              usage =   'AL'
    The method looks like:
    DATA CMS_DESTINATION TYPE RFCDES-RFCDEST
                      VALUE 'SAPCMS'.
    the invocation - errors are always fatal !!!
      CALL FUNCTION 'SCMS_CLTFC_FILE_GET'
        DESTINATION CMS_DESTINATION
        EXPORTING
           usage =                           usage
           key =                             key
           filename =                        filename
        EXCEPTIONS
          failed =                            1.
    error handling
      CASE sy-subrc.
        WHEN  1.
          RAISE EXCEPTION TYPE cx_wd_no_handler
            EXPORTING
              textid        = cx_wd_no_handler=>kind_old
              old_exception = `FAILED`.
      ENDCASE.
    But I get the exception.
    Third I tried writing a program and submit it with parameters:
    SUBMIT zcms_copy AND RETURN WITH p_key = lv_key WITH p_file = lv_filename.
    But then I get an error : The RFC destination SAPCMS can no longer be contacted:
    If I run this program from se80  it works fine.
    Any Idea ???
    Thanks
    Nitsan

    Hi Thomas/Nitsun,
    We are using FM 'ALINK_DOCUMENTS_GET_CLIENT' to download the PDF to user directory. The FM fails when a call is made to SCMS_CLTFC_FILE_GET which is a RFC to system SAPCMS.
    The error message is 'GetStream failed (1)'.
    I see that there is no exception being raised.
    I searched the forum and found that there were posts mentioning ADS and Java Startup Failure (J2EE Engine) but I could not make the relevance.
    Do you have any idea on this?
    Thank you.
    -Niranchan.

  • XI - EP integration using the TREX RFC Connction

    Hi Experts,
    Is there a document on XI - TREX integration using the RFC connection. I need to build an application in EP where I would search for messages in the XI box based on certain input parameters. The search would happen using the TREX engine which in turn has indexes of all XI messages.
    Regards,
    Shobhit

    Hi Shobhit,
    In addition, check the following lings... might be helps to you...
    http://help.sap.com/saphelp_nw04s/helpdata/en/70/0837ced133304eba452c45b6047c74/content.htm
    /thread/143082 [original link is broken]
    /thread/126493 [original link is broken]
    /people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine
    Cheers...
    Vasu
    <b>** REward Points if found useful **</b>

  • TREX Preparation Failed exception

    Hello All,
    I am facing an issue with TREX wherein the documents not being indexed properly.
    The TREX monitor shows all status as green but when I check the 'Display Queue Entries' from
    System Admin -> Monitoring -> Knowledge Management -> TREX Monitor, I see a message as:
    Return Code = 6500
    Return Message = HTTP Status Code 500: Internal Server Error
    Document status = Preparation failed.
    Please guide me to resolve this.
    Awaiting Reply.
    Regards,
    Ritu

    Hello Martin,
    Please excuse me for my late reply.
    I created a test repository, created an index for it called Test_Index, attached it with a KM Data Source, uploaded 3 .txt files. All these txt files have size within 10 KB.
    1. When I search using this Test_Index, it does not return any txt file. There are few indexes, so I selected my index to search.
    I could successfully open the text file on the browser.
    2. Checked DefaultTrace logs and found exception related to another index. Details are:
    TaxonomyNamespaceManager.getChildren: Error because the index with name Rama_test1 is not available. Probably you have to delete old taxonomy data in the taxdata repository - com.sapportals.wcm.WcmException: index with index id Rama_test1 doesn't exist!
    But 'Rama_test1' index does exist. It is available when I click on 'Show Options -> Search Scope'
    on Search page.
    3. We also have an index which is connected to 'Livelink' system.
    I get an exception for this, saying - the repository returned no root collection (null): livelink
    4. com.sapportals.wcm.repository.IOErrorException: sending PROPFIND to remote server
         at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:399)
    5. Lastly, I see an exception with severity=fatal saying:
    exc: /SalesManual - com.sapportals.wcm.repository.InvalidUriException: Invalid RID: No repository manager found for prefix: /SalesManual
    *     at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:399)*
    Location:  com.sapportals.wcm.service.reporting.walker.HierarchyWalker
    Any ideas on these?
    Awaiting Reply.
    Regards,
    Ritu

  • Source system RFC fails after transport

    Hi all
    in our QA system any transport containing a process chain causes the RFC connection to the source ECC6 system to fail after too many logon attempts.
    This doesn't happen when we send the same transport to production.
    Any ideas?
    Regards
    Hayley

    Hi
    thanks, but I had already checked out this note.  This refers to the post processing of the transport on BW of client 000 logging onto the BW client to carry out changes, not the RFC connection to the BW ECC source system. 
    The transport goes through ok, and the process chain can be activated, however at this point we always notice that the ECC source system connection fails with an RFC error, as soon as we get the password reset and changed in SM59 it works ok.

  • RFC fail to connect to CI from DI

    Hi All,
    During sm59 RFC test from the DIs to the CI, it failed. In t-code smgw, all entries which are connecting to the CI are stated as "connecting" instead of connected. When drill in to the entry, it stated that the connection is pointing to 192.168.0.1.
    How come the IP address is connecting to LOCL ? Our service file, host file are all stating the correct IP. The connection is working fine all the while , only recently we discover this weird problem. Does anyone has any idea ?
    Regard

    Dear Lauran,
    it is hard to tell what is really going on there. Sometimes there is a problem if the connection between two gateways gets into an inconsistent state. You can run transaction SMGW, the Goto, Remote Gatewas and delete the connection to the CI. If this does not help, you will have to check the entry in SM59 carefully (especially if there are gateway options set).
    Best Regards,
    Tim

  • RFC fail to reach existing BI system

    I have a RFC conenction error. We have setup the BIA and run the initialRfcConfiguration.py. The system tried to create a connection but failed to reach the BI server. We have created the user from the BI system but it was not able to reach. Can you advise what need to be done to get connected. Thanks.
    Regards,
    Veiter soo

    Hello Veiter,
    have you checked that the BI system is reachable? ( ping, telnet on BI Port 32<System Nr> )
    Call the TREXADMIN standalone tool at /usr/sap/<SID>/TRX<Instance Nr>
    - check the connection and logon data under Landscape -> Connectivity
    - check if all services are running, especially the rfc service
    - check the rfcservice trace and rfc trace on BI site
    Please post the error messages that we can help you.
    Normally the RFC connection were created by the initial install script, why did you use the initialRfcConfiguration.py manually?
    Best Regards,
    Jens

Maybe you are looking for