on 02-27-2013 9:39 PM
Dear All
i am facing problem during the configuration of SAProuter on windows server 2003 X86_64 (64)bit operating system.
i did all the basic steps properly (twice on two different machines with same config) like
1.Downloading and installing the proper software(router/SAPcryptoLib X_64bit)
2.Defining the environment variable for SECU_DIR and SNC_LIB for the user.
3.Proper execution of sapgenpse commands for cert/srcert certificates
4.Proper distinguish name.
How ever when i am running the command to start SAProuter i am facing the following error (dev_rout).
*** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll) Error 193 [dlnt.c 237]
*** ERROR => SncPDLInit(): DlLoadLib("C:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll")=DLENOACCESS
[sncxxdl.0340]*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) C:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll not loaded
[sncxxdl.0604]<<- SncInit()==SNCERR_INIT
sec_avail = "false"
*** ERROR => NiSncInit: SncInit failed (rc=-1) [nisnc.c 647]
*** ERROR => main: NiSncInit failed (rc=-17) [nirout.cpp 1219]
Please Help
Regards
M Rafique Ali
Dear All,
thanks for all your concern,
in spite of doing the all the well known methods and suggestions to configure router still facing the issue,
but.....
the issue was solved by copying 32 bit sapcrypto.dll into the SNC_LIB directory.
now the SAP router is working fine.
i am still in a confusion how a X86_32 bit dll was done the trick for X86_64 bit machine.
i think its not a perfect solution,but never the less it is working for me.
Thanks and Regards
M Rafique
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Follow these links and you will be able to set it up properly.
https://service.sap.com/saprouter
http://service.sap.com/saprouter-sncdoc
http://service.sap.com/saprouter-sncadd
Cheers
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rafique,
From the error message it is clear that the router cannot load/find the library. You may have either installed a different version of the library or the library path is wrong. Please make sure you reboot your system after changing the environment variable.
From the dev_rout file you have attached, it seems that the router is expecting a 32 bit version of the library. "PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)"
Please also check :
http://scn.sap.com/thread/1074384
It looks like setting the SECUDIR to saprouter\nt-x86_64 may solve the issue.
Regards,
Shahab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rafiq,
Few things to check,
1. Check the system information of your server.(nt or amd)(32 or 64)
Then download the correct sapcryptolib.sar file.
Maintain the below two parameters in environment variable
SECUDIR = <path of Saprouter folder>
SNC_LIB = <path of Saprouter>/sapcrypto.dll>
With Regards
Ashutosh chaturvedi
Hi Rafique,
Could you please check the followings:
- have you imported the generated certificate to SAProuter.
- Check if the files and folders have the right permission for the user
- Check if the Cryptolibrary is installed correctly
- Check your environment variables (specially SN_LIB) it may be set incorrectly. Check the path. see also: http://scn.sap.com/thread/1490167
Regards,
Shahab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Shahab thanks for the quick reply,
as i wrote earlier i have properly done all the basic downloads and configuration (saprouterSAPCRYPTOLIB_34-10010888.SAR/saprouter_314-20010469.sar).
and all the sapgenpse commands are ok(succeeded) loke
1.sapgenpse get_pse -v -r certreq -p local.pse "CN=saprouter2
2.sapgenpse import_own_cert -c srcert -p local.pse
3.sapgenpse seclogin -p local.pse -O administrator
4.sapgenpse get_my_name -v -n Issuer
all the above commands are ok,
my environmental variables are
1.SECUDIR=C:\usr\sap\saprouter
2.SNC_LIB= C:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll
output of sapgenpse command to check environment variable.
C:\usr\sap\saprouter>sapgenpse
Usage: sapgenpse [-h] <command> [-h] [sub-options] ...
Usage: sapgenpse -g S:\ome\where\gostplugin.dll <command> [sub-options] ...
Using SNC_LIB definition from environment to load SAPCRYPTOLIB
SNC_LIB="C:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"
Platform: Microsoft Win64 (XP-64/W2K3) AMD64/x86_64/x64 (ntamd64)
Versions: SAPGENPSE = 1.5.24 pl21 (Apr 2 2011)
SAPCRYPTOLIB = 5.5.5.C pl34 (Mar 1 2012) MT-safe
Environment variable $SECUDIR is defined:
DLL search path defined by environment variable
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\usr\sap\saprou
ter\nt-x86_64\sapcrypto.dll
when i am running the following command to start sap router it is not working properly
saprouter -r -S 3299 -V 3 -K "p:CN=saprouter2, OU=0000746967,OU=SAProuter,O=SAP, C=DE"
i am getting the error.
please find the attached error log file dev_route.txt
Message was edited by: Rafique Ali
Hi,
Please copy the contents in the folder C:\usr\sap\saprouter\nt-x86_64\ to C:\usr\sap\saprouter\
Restart the SAPROUTER and check whether it works..
Set the following environment variables
SECUDIR = <path of Saprouter folder>
SNC_LIB = <path of Saprouter>/sapcrypto.dll>
Thanks and Regards,
Vimal
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.