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.
Hi, Naveen,
We can see "ERROR: bad config file (9 errors)" in your output, please check, also, you can run "cat /var/log/message" to find more error message.
another words, why not using the 1.2.3 or 1.3.x version.
Mike Li
On Fri, Jun 27, 2008 at 3:14 PM, Naveen Kumar < naveen.kumar@info-spectrum.com> 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@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
I just yum updated a CentOS box to 5.2 (kernel 2.6.18-92.1.1, i386), and now openserctl start no longer works. When I try it, I get this in the messages file:
Jun 27 08:44:49 proxy1 openser: CRITICAL:core:shm_getmem: could not attach shared memory segment: Invalid argument
Jun 27 08:44:49 proxy1 openser: CRITICAL:core:init_shm_mallocs: could not initialize shared memory pool, exiting...
I can start openser with /usr/local/sbin/openser, and it starts fine. The openserctlrc file is the same as it is on each server I have, it works everywhere else. I try turning up logging, turning on debug, and I get nothing but those two lines in the log.
Any ideas?
I just yum updated a CentOS box to 5.2 (kernel 2.6.18-92.1.1, i386), and now openserctl start no longer works. When I try it, I get this in the messages file:
Jun 27 08:44:49 proxy1 openser: CRITICAL:core:shm_getmem: could not attach shared memory segment: Invalid argument
Jun 27 08:44:49 proxy1 openser: CRITICAL:core:init_shm_mallocs: could not initialize shared memory pool, exiting...
I can start openser with /usr/local/sbin/openser, and it starts fine. The openserctlrc file is the same as it is on each server I have, it works everywhere else. I try turning up logging, turning on debug, and I get nothing but those two lines in the log.
Any ideas? Where do I start to troubleshoot this?
Michael Young
On Monday 07 July 2008, Michael Young wrote:
I just yum updated a CentOS box to 5.2 (kernel 2.6.18-92.1.1, i386), and now openserctl start no longer works. When I try it, I get this in the messages file:
Jun 27 08:44:49 proxy1 openser: CRITICAL:core:shm_getmem: could not attach shared memory segment: Invalid argument
Jun 27 08:44:49 proxy1 openser: CRITICAL:core:init_shm_mallocs: could not initialize shared memory pool, exiting...
I can start openser with /usr/local/sbin/openser, and it starts fine. The openserctlrc file is the same as it is on each server I have, it works everywhere else. I try turning up logging, turning on debug, and I get nothing but those two lines in the log.
Any ideas? Where do I start to troubleshoot this?
Hi Michael,
please don't hijack an existing mail thread for your questions, use a new one instead.
This error message could indicate that the server requested to much memory if started from this script. Perhaps the new kernel setup a smaller limit for the SHMMAX parameter? The reason that it works with the init script could be that this starts the server with fewer shared memory. Try to decrease the shared memory pool setting for openser.
Cheers,
Henning
Sorry, I reposted that message under the same subject as before, so I didn't think I was hijacking anything. I didn't get any responses when I posted this a few weeks ago.
My problem appears to be a physical problem... I ordered 4 Gb of RAM in this server, and it seems it only has 2 Gb installed. When I back the -m option down to 2048 it works.
Michael
-----Original Message----- From: Henning Westerholt [mailto:henning.westerholt@1und1.de] Sent: Monday, July 07, 2008 10:13 AM To: users@lists.openser.org Cc: Michael Young Subject: Re: [OpenSER-Users] 1.3.2 Startup Problem
On Monday 07 July 2008, Michael Young wrote:
I just yum updated a CentOS box to 5.2 (kernel 2.6.18-92.1.1, i386), and now openserctl start no longer works. When I try it, I get this in the messages file:
Jun 27 08:44:49 proxy1 openser: CRITICAL:core:shm_getmem: could not attach shared memory segment: Invalid argument
Jun 27 08:44:49 proxy1 openser: CRITICAL:core:init_shm_mallocs: could not initialize shared memory pool, exiting...
I can start openser with /usr/local/sbin/openser, and it starts fine. The openserctlrc file is the same as it is on each server I have, it works everywhere else. I try turning up logging, turning on debug, and I get nothing but those two lines in the log.
Any ideas? Where do I start to troubleshoot this?
Hi Michael,
please don't hijack an existing mail thread for your questions, use a new one instead.
This error message could indicate that the server requested to much memory if started from this script. Perhaps the new kernel setup a smaller limit for the SHMMAX parameter? The reason that it works with the init script could be that this starts the server with fewer shared memory. Try to decrease the shared memory pool setting for openser.
Cheers,
Henning No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.136 / Virus Database: 270.4.6/1538 - Release Date: 7/7/2008 7:40 AM
On Monday 07 July 2008, Michael Young wrote:
Sorry, I reposted that message under the same subject as before, so I didn't think I was hijacking anything. I didn't get any responses when I posted this a few weeks ago.
My problem appears to be a physical problem... I ordered 4 Gb of RAM in this server, and it seems it only has 2 Gb installed. When I back the -m option down to 2048 it works.
Hi Michael,
perhaps my mail client don't ordered the threads correct in this case. Great that it works now.
Henning
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@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users