[Serusers] ERROR: exec_str: cmd /etc/ser/sipldap failed. exit_status=-1, errno=10: No child processes

davor jovanovic davor.jovanovic at srce.hr
Thu Nov 17 10:08:31 CET 2005


Hi all,

I'm using SER 0.9.3 and trying to do LDAP query but I keep getting this 
message:

0(17313) INFO: dont_fork turned on, living on
0(17313) exec_str: rtrim
0(17313) ERROR: exec_str: cmd /etc/ser/sipldap failed. exit_status=-1, 
errno=10: No child processes

can someone explain to me why is that and how can I fix it?

when I'm doing lookup with:
(!lookup("location"))
        { if (!exec_dset("/etc/ser/sipldap")) {
               sl_send_reply("404", "Not Found");
               break;
        } else {
              log(1," sipldap call");
        };
};

I'm getting  "Not Found",
but when I'm doing (transferring to PSTN route without sl_send_reply)

(!lookup("location"))
        { if (!exec_dset("/etc/ser/sipldap")) {
               #sl_send_reply("404", "Not Found");
               route(5);
               break;
        } else {
               log(1," sipldap call");
        };

};
route[5] {
    rewritehostport(xxxxxxxxxxx);

I do extract LDAP telephone number (so "sipldap" script works OK) and do 
get call transferred to PSTN GW but still getting "ERROR: exec_str:"


thanx

davor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051117/c122ddb8/attachment.htm>


More information about the sr-users mailing list