[Serusers] SER <==> SEMS fifo permisions problem

Stefan Sayer sayer at fokus.fraunhofer.de
Mon Aug 1 15:12:09 CEST 2005


Hello,

probably you are starting sems as another user than ser?

please make sure that you set in sems.conf:

send_method=fifo
fifo_name=/tmp/am_fifo
ser_fifo_name=/tmp/ser_fifo

and put # before socket_name and ser_socket_name.

in ser.cfg:
fifo="/tmp/ser_fifo"

and make sure that 1)the user that starts sems has write permission to 
files created by the user that starts ser (e.g. start them both as the 
same user) and 2) both users have write permission in /tmp and there 
is a little space left on the file system.
hth
Stefan


Pavol Segeč wrote:
> Hi All !
> 
> I'm implementing SER, SEMS server, I've configured fifo as communication
> method between them (folowing install manual). In ser.cfg I've enabled
> conference part in INVITE message route handling as follows :
> 
>     if (uri=~"sip:100.*@") {
>         if (!t_newtran()){
>             sl_send_reply("500","Could not create transaction");
>             break;
>         };
>         t_reply("100","Trying - just wait a minute !");
> 
>         # assumes that Sems configuration parameter 'socket_name='
>         # has been set to /tmp/am_sock
> 
>         if(!t_write_req("/tmp/am_fifo","conference")) {
>             t_reply("500","error contacting sems - in uri check 100");
>         };
>         break;
>     };
> 
> I can make a call on sip:100.*, but I don't have received any announcement
> and in /var/log/syslog I see following problems with SEMS and more oftenly
> with fifo permisions:
> 
> Aug  1 14:30:09 mail Sems[25848]: Error:
> (SerClient.cpp)(read_from_fifo)(286): no more retries!
> Aug  1 14:30:09 mail Sems[25848]: Error:
> (SerClient.cpp)(read_from_fifo)(287): last error: Success Aug  1 14:30:09
> mail Sems[25848]: Error: (SerClient.cpp)(send)(137): while reading Ser's
> response.
> Aug  1 14:30:09 mail Sems[25848]: Error: (AmRequest.cpp)(send)(219): while
> sending request to Ser Aug  1 14:30:15 mail Sems[25852]: Error:
> (SerClient.cpp)(read_from_fifo)(286): no more retries!
> Aug  1 14:30:15 mail Sems[25852]: Error:
> (SerClient.cpp)(read_from_fifo)(287): last error: Success Aug  1 14:30:15
> mail Sems[25852]: Error: (SerClient.cpp)(send)(137): while reading Ser's
> response.
> Aug  1 14:30:15 mail Sems[25852]: Error: (AmRequest.cpp)(send)(219): while
> sending request to Ser Aug  1 14:33:28 mail /usr/sbin/ser[25731]: ERROR:
> open_reply_pipe: open error (/tmp/0000660D1443C4FC): Permission denied Aug
> 1 14:33:28 mail /usr/sbin/ser[25731]: ERROR: fifo_reply: no reply pipe
> /tmp/0000660D1443C4FC
> 
> 
> Thanks 
> 
> palo
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 




More information about the sr-users mailing list