<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi guys:<br>
<br>
I've fixed the errors in the proxy.cfg file by replacing the files
it was complaining about inside /etc/kamailio/proxy which where
proxy.cfg kamailio.cfg and impresence.cfg now it does not complain
but also fails when i started it manually : <br>
<br>
/etc/init.d/kamailio-proxy start<br>
Starting kamailio-proxy using /etc/kamailio/proxy/kamailio.cfg: <br>
loading modules under
/usr/lib/kamailio/modules_k:/usr/lib/kamailio/modules<br>
Listening on <br>
udp: 127.0.0.1:5062<br>
tcp: 127.0.0.1:5062<br>
Aliases: <br>
<br>
kamailio error, failed to start.<br>
<br>
<br>
This is what i got in /var/log/ngcp/kamilio-proxy.loh<br>
<br>
Jan 23 15:54:55 sipwisece2 kamailio: INFO: <core>
[tcp_main.c:4832]: init_tcp: using epoll_lt as the io watch method
(auto detected)<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: INFO: auth
[auth_mod.c:329]: auth: qop set, but nonce-count (nc_enabled)
support disabled<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: INFO: usrloc
[hslot.c:53]: locks array size 512<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: INFO: utils
[utils.c:278]: forward functionality disabled<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: INFO: utils
[utils.c:187]: xcap_auth_status function is disabled<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: ERROR: db_mysql
[km_my_con.c:109]: driver error: Access denied for user
'kamailio'@'localhost' (u<br>
sing password: YES)<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: ERROR:
<core> [db.c:320]: could not add connection to the pool<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: ERROR: domain
[domain.c:70]: Cannot initialize database connection<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: ERROR: domain
[domain_mod.c:219]: unable to open database connection<br>
Jan 23 15:54:55 sipwisece2 /usr/sbin/kamailio[8568]: ERROR:
<core> [sr_module.c:939]: init_mod(): Error while initializing
module domain (/usr/lib/kam<br>
ailio/modules_k/domain.so)<br>
<br>
<div class="moz-forward-container"><br>
<br>
-------- Mensaje original --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Asunto:
</th>
<td>Kamailio-proxy daemon does not start</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Fecha: </th>
<td>Wed, 23 Jan 2013 15:39:32 +0100</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">De: </th>
<td>Pablo Muñoz-Cobo <a class="moz-txt-link-rfc2396E" href="mailto:pmunoz@wisi.es"><pmunoz@wisi.es></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Para: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Good afternoon:
After completing a fresh installation of sipwise ce 2.7 i realized
kamailio-proxy daemon was not running:
Triying to start it manually i got:
/etc/init.d/kamailio-proxy start
Not executing command for kamailio-proxy: invalid configuration file!
-e
0(2352) : <core> [cfg.y:3546]: parse error in config file
/etc/kamailio/proxy/proxy.cfg, line 2375, column 11-12: syntax error
0(2352) : <core> [cfg.y:3549]: parse error in config file
/etc/kamailio/proxy/proxy.cfg, line 2375, column 66: bad expression
0(2352) : <core> [cfg.y:3549]: parse error in config file
/etc/kamailio/proxy/proxy.cfg, line 2375, column 66: bad command
0(2352) : <core> [cfg.y:3549]: parse error in config file
/etc/kamailio/proxy/proxy.cfg, line 2375, column 67: bad command
0(2352) : <core> [cfg.y:3549]: parse error in config file
/etc/kamailio/proxy/proxy.cfg, line 2376, column 2: bad command
0(2352) : <core> [cfg.y:3546]: parse error in config file
/etc/kamailio/proxy/proxy.cfg, line 2411, column 2-5: syntax error
0(2352) : <core> [cfg.y:3546]: parse error in config file
/etc/kamailio/proxy/proxy.cfg, line 2411, column 2-5:
ERROR: bad config file (7 errors)
i've even replaced the proxy.cfg file of another sipwise ce 2.7 that i
have which is perfectly up and running. Can anyone give a hand. Thanks
in advance.
Pablo
</pre>
<br>
</div>
<br>
</body>
</html>