[Serusers] Error loading "trusted" table (permissions.so)

caio elcaio at gmail.com
Fri Jan 16 13:00:52 CET 2009


Hello all,

Does anyone knows about this "permission.so" module error when try to 
load "trusted" table (mysql)?

If "trusted" table is empty, there is no error, but whan at least there 
is 1 record, the error appears.

for example:

mysql> select * from trusted;
+---------------+-------+--------------+
| src_ip        | proto | from_pattern |
+---------------+-------+--------------+
| 10.124.35.253 | any   | ^sip:.*$     |
+---------------+-------+--------------+

and when I try lo restart ser:

Jan 15 15:34:45 delcolimba /usr/local/sbin/ser[703]: [ID 966737 
daemon.info] permissions - initializing
Jan 15 15:34:45 delcolimba /usr/local/sbin/ser[703]: [ID 414293 
daemon.warning] Default allow file 
(/usr/local/etc/ser/permissions.allow) not found => empty rule set
Jan 15 15:34:45 delcolimba /usr/local/sbin/ser[703]: [ID 844440 
daemon.warning] Default deny file (/usr/local/etc/ser/permissions.deny) 
not found => empty rule set

Jan 15 15:34:45 delcolimba /usr/local/sbin/ser[703]: [ID 895822 
daemon.error] ERROR: permissions: trusted_reload(): Database problem
Jan 15 15:34:45 delcolimba /usr/local/sbin/ser[703]: [ID 650101 
daemon.crit] init_trusted(): Reload of trusted table failed
Jan 15 15:34:45 delcolimba /usr/local/sbin/ser[703]: [ID 345573 
daemon.error] Error while initializing allow_trusted function
Jan 15 15:34:45 delcolimba /usr/local/sbin/ser[703]: [ID 660978 
daemon.error] init_mod(): Error while initializing module permissions


or when executing serctl fifo cmd:

root at delcolimba /usr/local # sbin/serctl fifo trusted_dump
200 OK

root at delcolimba /usr/local # sbin/serctl fifo trusted_reload
400 Trusted table reload failed

root at delcolimba /usr/local # tail /var/adm/messages

Jan 15 15:45:37 delcolimba /usr/local/sbin/ser[717]: [ID 895822 
daemon.error] ERROR: permissions: trusted_reload(): Database problem
Jan 15 15:45:37 delcolimba /usr/local/sbin/ser[717]: [ID 450600 
daemon.error] ERROR: fifo_server: command (trusted_reload) processing failed


Thank you,

Caio



More information about the sr-users mailing list