[OpenSIPS-Users] Unable to start a freshly-installed Opensips
mnemonic.fx at gmail.com
mnemonic.fx at gmail.com
Tue Sep 16 04:11:29 CEST 2008
Hello Jose,
Which linux distro are you running OpenSIPS on ?
If you had built from opensips-1.4.2-tls source, make sure to add
"TLS=1" on compilation.
$ make "TLS=1"
or
$ export TLS=1
and proceed with make, make modules, make install, etc.
If you're using debian, it's much more convenient to create a debian package.
$ make "TLS=1" deb
and you could install everything from opensips-xxxx.deb
Besides, these are the errors that caused your opensips failed to start:
Sep 15 11:32:52 [7599] ERROR:db_mysql:db_mysql_new_connection: driver error: Acc
ess denied for user 'opensips'@'localhost' (using password: YES)
Sep 15 11:32:52 [7599] ERROR:core:db_do_init: could not add connection to the po
ol
Sep 15 11:32:52 [7599] ERROR:usrloc:register_udomain: failed to open database
connection
Sep 15 11:32:52 [7599] ERROR:registrar:domain_fixup: failed to register domain
Sep 15 11:32:52 [7599] ERROR:core:fix_actions: fixing failed (code=-1) at cfg li
ne 314
Sep 15 11:32:52 [7599] CRITICAL:core:fix_expr: fix_actions error
Sep 15 11:32:52 [7599] ERROR:core:main: failed to fix configuration with err cod
e -1
You need to check your mysql settings, ensure you have loaded and
installed the module, plus you need to have mysql server running with
proper setup (make sure you have set the password for root user), and
had run opensipsdbctl to set up the database.
All of these exists on the docs, though it may need a bit of diligence.
--
Jesse Armand
----------------------------------------
(http://jessearm.blogspot.com)
On 9/15/08, Jose Tomas Perez <jose_tomas_perez at hotmail.com> wrote:
>
> Hello, I am having the same error too on a new install, Opensips-1.4.2-tls.
> I followed mnemonic's suggestions but I am not able to see a problem, I
> notice that a line:
> Sep 15 11:32:52 [7599] NOTICE:core:main: version: opensips 1.4.2-notls
> (i386/linux)
> but my install is 1.4.2-tls.
>
> Could this be the problem? Thanks in Advance.
>
> Jose
>
>
More information about the Users
mailing list