[OpenSIPS-Users] Permissions Module Fails to Load with DB Support - Error in Address Reload.

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Feb 1 17:48:40 CET 2010


The mask is not correct - it must be less than 32 , the max len of an 
IPv4 address.

Regards,
Bogdan

David J. wrote:
> Here is the output.
>
> +----+-----+-------------+------+------+-------+---------+--------------+
> | id | grp | ip          | mask | port | proto | pattern | context_info |
> +----+-----+-------------+------+------+-------+---------+--------------+
> |  2 |   0 | 192.168.1.28 |  127 | 5060 | UDP   | NULL    |              |
> +----+-----+-------------+------+------+-------+---------+--------------+
>
> In the meantime I setup another machine, I ran make proper, then make 
> and install again, I see the same error.
>
>
>
> Bogdan-Andrei Iancu wrote:
>   
>> hmm...if you are sure you have the latest SVN trunk, please post here 
>> the content of the address table (do a select * ).
>>
>> Regards,
>> Bogdan
>>
>> David J. wrote:
>>   
>>     
>>> MySQL version 5.0.51a
>>>
>>>
>>>
>>>
>>> Bogdan-Andrei Iancu wrote:
>>>   
>>>     
>>>       
>>>> Hi David,
>>>>
>>>> what db backend are you using for permissions module?
>>>>
>>>> Regards,
>>>> Bogdan
>>>>
>>>> David J. wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> I am running SVN Trunk and getting the following Error.
>>>>>
>>>>> /sbin/opensips[1923]: ERROR:permissions:reload_address_table: database 
>>>>> problem
>>>>> /sbin/opensips[1923]: CRITICAL:permissions:init_address: reload of 
>>>>> address table failed
>>>>> /sbin/opensips[1923]: ERROR:permissions:mod_init: failed to initialize 
>>>>> the allow_address function
>>>>> /sbin/opensips[1923]: ERROR:core:init_mod: failed to initialize module 
>>>>> permissions
>>>>> /sbin/opensips[1923]: ERROR:core:main: error while initializing modules
>>>>>
>>>>>
>>>>> if (!check_source_address("0") {
>>>>>
>>>>> }
>>>>>
>>>>> Any Ideas?
>>>>>
>>>>> Thank you.
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>   
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>   
>>>>     
>>>>       
>>>>         
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>   
>>>     
>>>       
>>   
>>     
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list