[Users] mysql.so missing - solved!

Ronald Wiplinger ronald at elmit.com
Wed Sep 27 18:18:51 CEST 2006


Ronald Wiplinger wrote:
> Ronald Wiplinger wrote:
>>
>> Was the same error at the time I compiled it, ... I had to do first: 
>> "unset CPU"
>>
>> This made and installed the module mysql.so
>>
>>
>>> **
>>> - copying the init script to the “/etc/init.d” does not lead to a 
>>> result. The init script already in /usr/local/sbin to the init.d 
>>> directory as shown in the following line:
>>>
>>> *ln -s /usr/local/sbin/openser /etc/init.d/openser*
>>>
>>
>> Are you sure?
>> shouldn't it be openserctl?
>>
>> I tried ln -s /usr/local/sbin/openserctl /etc/rc.d/openser
>> (SuSE 10.1 has all init files in /etc/rc.d)
>>
> above was obviously wrong, because starting with:
>
> /usr/local/sbin/openserctl start     started the server.
>
>
>
> I have changed in the /usr/local/etc/openser/openser.cfg
>
> diff openser.cfg openser.cfg.sample
> < loadmodule "/usr/local/lib64/openser/modules/mysql.so"
> > #loadmodule "/usr/local/lib64/openser/modules/mysql.so"
>
> < loadmodule "/usr/local/lib64/openser/modules/auth.so"
> < loadmodule "/usr/local/lib64/openser/modules/auth_db.so"
> > #loadmodule "/usr/local/lib64/openser/modules/auth.so"
> > #loadmodule "/usr/local/lib64/openser/modules/auth_db.so"
>
> < modparam("usrloc", "db_mode", 2)
> > #modparam("usrloc", "db_mode", 2)
>
> < modparam("auth_db", "calculate_ha1", yes)
> > #modparam("auth_db", "calculate_ha1", yes)
>
> < modparam("auth_db", "password_column", "password")
> > #modparam("auth_db", "password_column", "password")
>
> and in openserctlrc:
>
> diff openserctlrc openserctlrc.sample
>
> < SIP_DOMAIN=taipei.elmit.net
> > # SIP_DOMAIN=openser.org
>
> < DBENGINE=MYSQL
> > # DBENGINE=MYSQL
>
> < DBHOST=localhost
> > # DBHOST=localhost
>
> < DBNAME=openser
> > # DBNAME=openser
>
> < DBRWUSER=openser
> > # DBRWUSER=openser
>
> < DBROUSER=openserro
> > # DBROUSER=openserro
>
> < DBROPW=shhshh
> > # DBROPW=openserro
>
> < DBROOTUSER="root"
> > # DBROOTUSER="root"
>
>
> # openserctl ul show 7311
> <sip:7311 at 192.168.250.108:51866;rinstance=2edf811438e14a43>;q=;expires=898;flags=0x0;socket=<udp:192.168.250.41:5060>;methods=0x173F 
>
> taipei:/usr/local/etc/openser # openserctl rm 7311
> ERROR: non-existent user '7311'
>

My openser.cfg missed some lines!

Good night!

bye

Ronald
> ?????
>
> What could be the problem?
>
> bye
>
> Ronald
>
>





More information about the Users mailing list