[OpenSIPS-Users] Errors while setting up Opensips with Berkeley DB

Jan Rozhon jan.rozhon at gmail.com
Fri Mar 5 16:56:01 CET 2010


chieftec:~# opensipsctl rm 1234
/usr/sbin/opensipsctl: line 196: select count(*) from subscriber where 
username='1234' and domain='10.0.0.140';: command not found
/usr/sbin/opensipsctl: line 2114: delete from dbaliases where 
username='1234' and domain='10.0.0.140';: command not found
/usr/sbin/opensipsctl: line 2120: delete from subscriber where 
username='1234' and domain='10.0.0.140';: command not found

chieftec:~# opensipsctl passwd 1234 1234
/usr/sbin/opensipsctl: line 196: select count(*) from subscriber where 
username='1234' and domain='10.0.0.140';: command not found
/usr/sbin/opensipsctl: line 2085: update subscriber set 
ha1='3c423895135a99fe03133f46fc2c2c68', 
ha1b='7d71b4b4ed0ed05a312db1521afa7843', password='1234' WHERE 
username='1234' and domain=    '10.0.0.140';: command not found
ERROR: password change failed

Nothing works. Even after reinit of database.



Dne 5.3.2010 16:48, David J. napsal(a):
> Yikes! Can you run any of the other opensipsctl commands on that database?
> Or do they fail as well?
>
>
>
> Jan Rozhon wrote:
>    
>> Definitely sure....it's the only one I have.
>>
>> Dne 5.3.2010 16:44, David J. napsal(a):
>>
>>      
>>> And your sure your checking the same database your script is pointing to?
>>>
>>>
>>>
>>> Jan Rozhon wrote:
>>>
>>>
>>>        
>>>> No, user in database - checked twice. Problem is, that I cannot add any
>>>> user....
>>>>
>>>>
>>>> Dne 5.3.2010 16:39, David J. napsal(a):
>>>>
>>>>
>>>>
>>>>          
>>>>> Where is the error?
>>>>>
>>>>> Check your database and make sure you dont have an entry for that user.
>>>>>
>>>>>
>>>>> Jan Rozhon wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>            
>>>>>> Hi list,
>>>>>>
>>>>>> I am trying to set up and run opensips with berkeley module. After
>>>>>> configuration, and creating of database I get this error:
>>>>>>
>>>>>> chieftec:~# opensipsctl add 1234 1234
>>>>>> /usr/sbin/opensipsctl: line 196: select count(*) from subscriber where
>>>>>> username='1234' and domain='10.0.0.140';: command not found
>>>>>> INFO: user '1234' already exists
>>>>>>
>>>>>> Nothing else in syslog nor in messages. Could you give me a hint how to
>>>>>> solve this issue.
>>>>>>
>>>>>> Thanks in advace, Jan Rozhon
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>>          
>>> _______________________________________________
>>> 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
>    




More information about the Users mailing list