
Symptom
In transaction code SM59, the SERVER_EXEC connection test failing with below error,
Action Result Logon Cancel Error Details Could not open file rfcexec.sec
Solution
1. Login to the operating system level, go to your executable directory, sapmnt/SID/exe. Ensure rfcexec.sec file is existed. Then, copy the rfcexec.sec file to your work directory, /usr/sap/SID/DVEBMGSxx/work
cd /sapmnt/SID/exe/ ll rfcexec.sec
cp rfcexec.sec /usr/sap/SID/DVEBMGSxx/work
2. Test SERVER_EXEC connection again and it shall be working now!


