Skip to Content
author's profile photo Former Member
Former Member

LDAP_RFC as windows service

Hi,

We are running ldap_rfc on the apps servers of our Sol Man system (SMP)

to run LDAPConnector.

Following are the connect strings:

d:\usr\sap\SMP\D01\exe ldap_rfc u2013a LDAP_RFC u2013x sapgw01 u2013g sfrncorssm41

We are successful in replication all directory users onto SAP user

management.

When we are trying to run this LDAP_RFC into a windows service using

sc install "ldap.bat -log none" -b c:\ldap.bat -p service

(the ldap.bat file containing - ldap_rfc u2013a LDAP_RFC u2013x sapgw01 u2013g

sfrncorssm41), we are getting the below error:

u201Csc install u2013 unrecognized commandu201D

Please advise.

Thanks in advance,

Abdul

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2008 at 12:19 PM

    Hi,

    use ntscmgr to install service

    regards,

    kaushal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2008 at 02:01 PM

    Hi Abdul,

    This is the command that I'd use to create that service:

    sc create SAPLDAP_RFC binPath= "d:\usr\sap\SMP\D01\exe ldap_rfc u2013a LDAP_RFC u2013x sapgw01 u2013g sfrncorssm41" type= own start= auto

    Let me know if you have any problem,

    Zareh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI,

      The <service_name> failed to start due to the following error: Access is denied.

      Dialog box when starting the service:

      Could not start the <service_name> service on
      <host>

      Error 0005: Access is denied.

      Cause: The user who starts the service has no access to the share SAPMNT or SAPLOC. Grant the user total access to the shares.

      regards,

      kaushal

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.