| Author |
Message |
SaturnusDJ
Joined: Nov 16, 2008
Posts: 4
Status: Offline
|
| Posted:
Nov 16, 2008 - 04:54 PM |
|
Ok I'm using Ubuntu 8.04LTS Desktop Alternate here.
This is what I did:
1. Installed needed software:
| Code: | sudo apt-get install subversion
sudo apt-get install gcc
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install libmysqlclient15-dev
sudo apt-get install make |
2. Downloaded the noTLS from here: http://www.kamailio.org/pub/kamailio/1.4.2/src/ to the desktop.
3. Used | Code: | | sudo tar xvzf kamailio-1.4.2-notls_src.tar.gz |
to extract.
4. Did | Code: | | cd kamailio-1.4.2-notls |
to enter dir.
5. Did | Code: | make clean
make all include_modules="mysql"
make prefix=/usr/local install include_modules="mysql"
|
as told her for OpenSER: http://consciencespeaks.blogspot.com/20 ... enser.html
6. Editted /usr/local/etc/kamailio/kamctlrc so became
7. | Code: | | sudo /usr/local/sbin/kamdbctl create |
But got this ERROR:
| Code: | ERROR: could not load the script in /usr/local/lib/kamailio/kamctl/kamdbctl.mysql for database engine MYSQL
ERROR: database engine not loaded - tried 'MYSQL' |
What's wrong? :S |
|
|
|
 |
SaturnusDJ
Joined: Nov 16, 2008
Posts: 4
Status: Offline
|
| Posted:
Nov 16, 2008 - 05:25 PM |
|
|
Note:
It is not necessary to fix this specific problem. All I want is a working SIP Proxy/Kamailio. |
|
|
|
 |
SaturnusDJ
Joined: Nov 16, 2008
Posts: 4
Status: Offline
|
| Posted:
Nov 16, 2008 - 08:22 PM |
|
|
|
 |
henkoegema
Joined: Oct 19, 2006
Posts: 9
Status: Offline
|
| Posted:
Mar 30, 2009 - 12:31 PM |
|
I also followed the link above, but still I got:
| Code: |
ERROR: could not load the script in /usr/local/lib/kamailio/kamctl/kamdbctl.mysql for database engine MYSQL
ERROR: database engine not loaded - tried 'MYSQL'
|
In the doc. is also written:
.........
Find the variable containing the list with to excluded module. The line is starting with:
exclude_modules?=
Remove the 'mysql' string from the list. Save the Makefile and exit.
But the string isn't even in the list. |
|
|
|
 |
miconda
Joined: Feb 02, 2007
Posts: 356
Location: Germany
Status: Offline
|
| Posted:
Mar 31, 2009 - 02:34 PM |
|
|
|
 |
henkoegema
Joined: Oct 19, 2006
Posts: 9
Status: Offline
|
| Posted:
Apr 02, 2009 - 03:39 PM |
|
|
|
 |
henkoegema
Joined: Oct 19, 2006
Posts: 9
Status: Offline
|
| Posted:
Apr 03, 2009 - 11:24 AM |
|
During installation I have reached step 8 in the above documentation
If you changed the password for the 'openser' user of MySQL, you have to update the value for 'db_url' parameters.
Is it this part I have to uncomment ? (I have changed the passwword of user openser and openserro)
:
| Code: | # ----- auth_db params -----
/* uncomment the following lines if you want to enable the DB based
authentication */
#a#modparam("auth_db", "calculate_ha1", yes)
#a#modparam("auth_db", "password_column", "password")
#a#modparam("auth_db", "db_url",
#a# "mysql://openser:openserrw@localhost/openser")
#a#modparam("auth_db", "load_credentials", "") |
|
|
|
|
 |
miconda
Joined: Feb 02, 2007
Posts: 356
Location: Germany
Status: Offline
|
| Posted:
Apr 07, 2009 - 03:07 PM |
|
|
Depending on what modules you need to be connected to database. If you want the auth_db, then yes.
Read the top of the config file, you have comments with how to use sed command to enable some features set. |
|
|
|
 |
henkoegema
Joined: Oct 19, 2006
Posts: 9
Status: Offline
|
| Posted:
Apr 07, 2009 - 09:46 PM |
|
| miconda : | Depending on what modules you need to be connected to database. If you want the auth_db, then yes.
Read the top of the config file, you have comments with how to use sed command to enable some features set. |
If you changed the password for the 'openser' user of MySQL, you have to update the value for 'db_url' parameters.
I don't know which db_url parameters I have to update. |
|
|
|
 |
|