It's actually pretty simple; your config file is attempting to use TLS,
but you didn't compile OpenSER with TLS.
Comment out the following lines, then read about TLS to see if you even
need it (which it sounds like you don't):
disable_tls = 0
listen = tls:your_IP:5061
tls_verify_server = 1
tls_verify_client = 1
tls_require_client_certificate = 0
tls_method = TLSv1
tls_certificate = "/usr/local/etc/openser/tls/user/user-cert.pem"
tls_private_key = "/usr/local/etc/openser/tls/user/user-privkey.pem"
tls_ca_list = "/usr/local/etc/openser/tls/user/user-calist.pem"
Naveen Kumar wrote:
Hi all,
i deleted openser.pid from /var/runand then i started
[root@info sbin]# openserctl start
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
Starting OpenSER :
ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
and then i started like:
[root@info sbin]# openser start
0(22725) cfg. warning: (28,15-16): tls support not compiled in
0(22725) cfg. warning: (29,10-13): tls support not compiled in
0(22725) cfg. warning: (30,21-22): tls support not compiled in
0(22725) cfg. warning: (31,21-22): tls support not compiled in
0(22725) cfg. warning: (32,34-35): tls support not compiled in
0(22725) cfg. warning: (33,14-19): tls support not compiled in
0(22725) cfg. warning: (34,20-21): tls support not compiled in
0(22725) cfg. warning: (35,20-21): tls support not compiled in
0(22725) cfg. warning: (36,16-17): tls support not compiled in
0(22725) loading module /usr/local/lib/openser/modules/mysql.so
0(22725) loading module /usr/local/lib/openser/modules/sl.so
0(22725) loading module /usr/local/lib/openser/modules/tm.so
0(22725) DEBUG: register_pv: tm
0(22725) xl_add_extra_spec: extra items list is not initialized
0(22725) xl_add_extra_spec: inserting extra item [T_branch_idx] at [0]
0(22725) xl_add_extra_spec: inserting extra item [T_reply_code] at [1]
0(22725) loading module /usr/local/lib/openser/modules/rr.so
0(22725) loading module /usr/local/lib/openser/modules/maxfwd.so
0(22725) loading module /usr/local/lib/openser/modules/usrloc.so
0(22725) loading module /usr/local/lib/openser/modules/registrar.so
0(22725) loading module /usr/local/lib/openser/modules/textops.so
0(22725) loading module /usr/local/lib/openser/modules/mi_fifo.so
0(22725) loading module /usr/local/lib/openser/modules/auth.so
0(22725) loading module /usr/local/lib/openser/modules/auth_db.so
0(22725) set_mod_param_regex: mi_fifo matches module mi_fifo
0(22725) set_mod_param_regex: found <fifo_name> in module mi_fifo
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: usrloc matches module usrloc
0(22725) set_mod_param_regex: found <db_mode> in module usrloc
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: usrloc matches module usrloc
0(22725) set_mod_param_regex: found <db_url> in module usrloc
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <db_url> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <calculate_ha1> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <password_column> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: rr matches module rr
0(22725) set_mod_param_regex: found <enable_full_lr> in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <mf_process_maxfwd_header>(1) in module
maxfwd [/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <record_route>(0) in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <loose_route>(0) in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <www_authorize>(2) in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <www_challenge>(2) in module auth
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <save>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <lookup>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <lookup>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <t_relay>(0) in module tm
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_reply_error>(0) in module sl
[/usr/local/lib/openser/modules/]
ERROR: bad config file (9 errors)
0(22725) INFO:mi_fifo:mi_destroy:memory for the child's mi_fifo_pid was
not
allocated -> nothing to destroy
0(22725) DEBUG: tm_shutdown : start
0(22725) DEBUG: tm_shutdown : emptying hash table
0(22725) DEBUG: tm_shutdown : releasing timers
0(22725) DEBUG: tm_shutdown : removing semaphores
0(22725) DEBUG: tm_shutdown : destroying tmcb lists
0(22725) DEBUG: tm_shutdown : done
0(22725) shm_mem_destroy
please anybody help me.
With Best Regards,
Naveen.
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users