Documentation |
Documentation -> Troubleshooting -> OpenSIPS Does Not StartWhere to check if OpenSIPS does not start? What is the problem?You likely have a configuration error (script error) or a file permissions error that prevents OpenSIPS from starting. Where to look for logsIf you have log_stderror=no in your config file (opensips.cfg), all the logs from OpenSIPS will be sent to the syslog service, so you have the check the corresponding file, typically:
You can simply check system log with: Note you might need root permissions to access these files! If you do not have it, set log_stderror=yes in your config and you will get the log in the console. If you have log_stderror=yes, you should get the log in the console where you are run OpenSIPS Reading the error logsThe logs should give you some idea about what went wrong and prevented your OpenSIPS to start. The info from the logs is quite comprehensive to point you the problem. Even so, it some cases you may consider increasing the verbosity of the logs by setting a higher debug level (debug=4) - it is recommended to do it if you do not see any ERROR message in the first case. If no still no clue, use the mailing lists to get help on this - do not forget to post the OpenSIPS logs in your email. hello, When I opensipsctl start INFO: Starting OpenSIPS : ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed I looked for the OpenSIPS output: Apr 22 12:10:06 zhuruimin-desktop opensips: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected) Apr 22 12:10:06 zhuruimin-desktop /sbin/opensips[7098]: NOTICE:core:main: version: opensips 1.5.0-notls (i386/linux) Apr 22 12:10:06 zhuruimin-desktop /sbin/opensips[7098]: INFO:core:main: using 64 Mb shared memory Apr 22 12:10:06 zhuruimin-desktop /sbin/opensips[7098]: INFO:core:main: using 1 Mb private memory per process Apr 22 12:10:06 zhuruimin-desktop /sbin/opensips[7098]: INFO:sl:mod_init: Initializing StateLess engine Apr 22 12:10:06 zhuruimin-desktop /sbin/opensips[7098]: INFO:tm:mod_init: TM - initializing... Apr 22 12:10:06 zhuruimin-desktop /sbin/opensips[7098]: INFO:maxfwd:mod_init: initializing... Apr 22 12:10:06 zhuruimin-desktop /sbin/opensips[7098]: INFO:usrloc:ul_init_locks: locks array size 512 Apr 22 12:10:06 zhuruimin-desktop /sbin/opensips[7098]: INFO:registrar:mod_init: initializing... Apr 22 12:29:00 zhuruimin-desktop -- MARK -- Apr 22 12:49:00 zhuruimin-desktop -- MARK -- i don't know how to fix it,Can anybody give me some suggestions.. Thanks, [bogdan] setting debug level to 4 may give you more hints on what the issue is. Hello bogdan,I am terribly sorry for sawing your response so late. I truly appreciate your prompt response. I did according to your propsal, and it returned the following output,(I only posted the latter part): Apr 28 13:42:36 [7334] DBG:db_mysql:db_mysql_new_connection: opening connection: mysql://xxxx:xxxx@localhost/opensips Apr 28 13:42:36 [7334] ERROR:db_mysql:db_mysql_new_connection: driver error(1045): Access denied for user 'opensips'@'localhost' (using password: YES) Apr 28 13:42:36 [7334] ERROR:core:db_do_init: could not add connection to the pool Apr 28 13:42:36 [7334] ERROR:auth_db:auth_fixup: unable to open database connection Apr 28 13:42:36 [7334] ERROR:core:fix_actions: fixing failed (code=-1) at cfg line 328 Apr 28 13:42:36 [7334] CRITICAL:core:fix_expr: fix_actions error Apr 28 13:42:36 [7334] ERROR:core:main: failed to fix configuration with err code -1 Apr 28 13:42:36 [7334] DBG:xlog:destroy: destroy module... Apr 28 13:42:36 [7334] DBG:tm:tm_shutdown: tm_shutdown : start Apr 28 13:42:36 [7334] DBG:tm:unlink_timer_lists: emptying DELETE list Apr 28 13:42:36 [7334] DBG:tm:tm_shutdown: emptying hash table Apr 28 13:42:36 [7334] DBG:tm:tm_shutdown: releasing timers Apr 28 13:42:36 [7334] DBG:tm:tm_shutdown: removing semaphores Apr 28 13:42:36 [7334] DBG:tm:tm_shutdown: destroying callback lists Apr 28 13:42:36 [7334] DBG:tm:tm_shutdown: tm_shutdown : done Apr 28 13:42:36 [7334] DBG:core:shm_mem_destroy: Apr 28 13:42:36 [7334] DBG:core:shm_mem_destroy: destroying the shared memory lock Thanks in Advance Hello bogdan, I am fixed the matter up now. I checked the opensips.cfg, "modparam("[modulename]", "db_url", "mysql://opensips:opensipsrw@localhost:mysql/opensips"), but in MySQL, the user "opensips" has a password "opensips",I changed the password, and now Opensips is running. Thank you! Hello,there was something wrong when I configurate opensips-cp2.0. In the Makefile,I removed the "mi_xmlrpc" module, then "make all","make install", and maked the following changes in the opensips file configuration /usr/local/etc/opensips/opensips.cfg/: loadmodule "mi_fifo.so" modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo") modparam("mi_fifo", "fifo_mode", 0600) modparam("mi_fifo", "fifo_group", 0) modparam("mi_fifo", "fifo_group", "root") modparam("mi_fifo", "fifo_user", 0) modparam("mi_fifo", "fifo_user", "root") modparam("mi_fifo", "reply_dir", "/home/opensips/tmp/") modparam("mi_fifo", "reply_indent", " ") when I ,"/etc/init.d/opensips start",it returned the following output,(I only posted the latter part): Apr 29 22:42:39 [1478] INFO:textops:mod_init: initializing... Apr 29 22:42:39 [1478] DBG:core:init_mod: initializing module mi_fifo Apr 29 22:42:39 [1478] DBG:mi_fifo:mi_mod_init: testing fifo existance ... Apr 29 22:42:39 [1478] ERROR:mi_fifo:mi_mod_init: directory stat failed: No such file or directory Apr 29 22:42:39 [1478] ERROR:core:init_mod: failed to initialize module mi_fifo Apr 29 22:42:39 [1478] ERROR:core:main: error while initializing modules ………………………… Can anybody give me some suggestions.Thank you! Took me abit of time... have got 99.9 percent complete... i can "service opensips start" the service will start. When 'chkconfig --add opensips' is enter'd i get 'service opensips does not support chkconfig' any ideas... built on centos 5.3 [bogdan] - to be able to use the chkconfig, you need to place in the /etc/init.d/opensips file, in the begining, a line line "# chkconfig: 2345 20 80" to indicate the start / stop level - please see the man page for chkconfig. ItMightHep? — 10 December 2009, 09:25opensipsctl start INFO: Starting OpenSIPS : ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed This issue is solved by login with user id which is used to install this in my case it is root. i don't have much idea on this but it might help someone. I'm getting this error: opensips:~# opensips restart Dec 22 23:27:36 [2287] WARNING:core:fix_socket_list: could not rev. resolve 192.168.1.60 Dec 22 23:27:36 [2287] WARNING:core:fix_socket_list: could not rev. resolve 192.168.1.60 Listening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 192.168.1.60 [192.168.1.60]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 192.168.1.60 [192.168.1.60]:5060 Aliases: tcp: localhost:5060 udp: localhost:5060 Dec 22 23:27:36 [2287] INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected) Dec 22 23:27:36 [2289] NOTICE:core:main: version: opensips 1.6.0-notls (i386/linux) Dec 22 23:27:36 [2289] INFO:core:main: using 32 Mb shared memory opensips:~# Dec 22 23:27:36 [2289] INFO:core:main: using 1 Mb private memory per process Dec 22 23:27:36 [2289] NOTICE:signaling:mod_init: initializing module ... Dec 22 23:27:36 [2289] INFO:sl:mod_init: Initializing StateLess engine Dec 22 23:27:36 [2289] INFO:tm:mod_init: TM - initializing... Dec 22 23:27:36 [2289] INFO:maxfwd:mod_init: initializing... Dec 22 23:27:36 [2289] INFO:usrloc:ul_init_locks: locks array size 512 Dec 22 23:27:36 [2289] INFO:registrar:mod_init: initializing... Dec 22 23:27:36 [2289] INFO:textops:mod_init: initializing... Dec 22 23:27:36 [2289] INFO:xlog:mod_init: initializing... Dec 22 23:27:36 [2289] INFO:acc:mod_init: initializing... Dec 22 23:27:36 [2289] INFO:auth:mod_init: initializing... Dec 22 23:27:36 [2289] INFO:auth_db:mod_init: initializing... Dec 22 23:27:36 [2289] ERROR:uri:obsolete_fixup_0: You are using one of these obsolete functions: "check_to", "check_from", "does_uri_exist","get_auth_id". They have been renamed with the "db_" prefix. Dec 22 23:27:36 [2289] ERROR:core:fix_actions: fixing failed (code=-6) at cfg line 257 Dec 22 23:27:36 [2289] CRITICAL:core:fix_expr: fix_actions error Dec 22 23:27:36 [2289] ERROR:core:main: failed to fix configuration with err code -6 The main problem seems to be this: Dec 22 23:27:36 [2289] ERROR:uri:obsolete_fixup_0: You are using one of these obsolete functions: "check_to", "check_from", "does_uri_exist","get_auth_id". They have been renamed with the "db_" prefix. Dec 22 23:27:36 [2289] ERROR:core:fix_actions: fixing failed (code=-6) at cfg line 257 I've spent some time lloking for the functions, but can't seem to find it. Thanks Sam [bogdan] - see migration docs http://www.opensips.org/Resources/DocsMigration15to16 ; check_to() -> db_check_to() I keep getting this eror when trying to start open sips, here is all of the log tail, i cant for the life of me find where to chage the parameter.... andy ideas anyone where to begin the search? opensips: ERROR:core:get_script_route_idx: Script route <1> is redefined [bogdan] - your script defines twice the route id 1 - look for "route[1]" - it must be only once ERROR: Error opening OpenSIPS's FIFO /tmp/opensips_fifo ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")' in your config ERROR: and also have loaded the mi_fifo module.
please — 03 March 2010, 19:36HI I got some problem integration with asterisk I got error when step #opensipsctl fifo domain reload This error is "500 command 'domain' not available". SO I stop the opensipsctl and start again follow [root@TEST opensips]# opensipsctl start INFO: Starting OpenSIPS : ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed So I check in /var/log/messages and got follow Mar 4 00:25:05 TEST opensips: ERROR:core:yyparse: module 'uri_db.so' not found in '/lib/opensips/modules/' Mar 4 00:25:05 TEST opensips: CRITICAL:core:yyerror: parse error in config file, line 37, column 13-14: failed to load module Mar 4 00:25:05 TEST opensips: ERROR:core:sr_load_module: could not open module </lib/opensips/modules/>: /lib/opensips/modules/: cannot read file data: Is a directory Mar 4 00:25:05 TEST opensips: CRITICAL:core:yyerror: parse error in config file, line 37, column 13-14: failed to load module Mar 4 00:25:05 TEST opensips: ERROR:core:set_mod_param_regex: no module matching uri_db found Mar 4 00:25:05 TEST opensips: CRITICAL:core:yyerror: parse error in config file, line 63, column 19-20: Parameter <use_uri_table> not found in module <uri_db> - can't set Mar 4 00:25:05 TEST opensips: ERROR:core:set_mod_param_regex: no module matching uri_db found Mar 4 00:25:05 TEST opensips: CRITICAL:core:yyerror: parse error in config file, line 64, column 20-21: Parameter <db_url> not found in module <uri_db> - can't set Mar 4 00:25:05 TEST opensips: ERROR:core:main: bad config file (4 errors) Can You guys instruction to me? Thanks Please
Hi i am getting following error while starting opensips: debian:/etc/opensips# /etc/init.d/opensips restart chown: invalid user: `opensips:opensips' Can someone suggest.. [bogdan] - probably you did not create the "opensips" user and "opensips" group on your system. john pope — 08 April 2010, 11:55set use the username password as opensips /opensipsrw in mysql gui browser
Hello, I really need some help with getting opensips to start. I checked the user in MySql and in the opensips.cfg file, yet I'm getting the error in the log below. Jul 25 14:12:01 [20481] DBG:textops:fixup_method: using id for method [REGISTER/128] Jul 25 14:12:01 [20481] DBG:core:fix_actions: fixing save, line 329 Jul 25 14:12:01 [20481] DBG:core:db_do_init: connection 0x81a386c not found in pool Jul 25 14:12:01 [20481] DBG:db_mysql:db_mysql_connect: opening connection: mysql://xxxx:xxxx@localhost/1sip2open Jul 25 14:12:01 [20481] ERROR:db_mysql:db_mysql_connect: driver error(1045): Access denied for user 'opensips'@'localhost' (using password: YES) Jul 25 14:12:01 [20481] ERROR:db_mysql:db_mysql_new_connection: initial connect failed Jul 25 14:12:01 [20481] ERROR:core:db_do_init: could not add connection to the pool Jul 25 14:12:01 [20481] ERROR:usrloc:register_udomain: failed to open database connection Jul 25 14:12:01 [20481] ERROR:registrar:domain_fixup: failed to register domain Jul 25 14:12:01 [20481] ERROR:core:fix_actions: fixing failed (code=-1) at cfg line 329 Jul 25 14:12:01 [20481] CRITICAL:core:fix_expr: fix_actions error Jul 25 14:12:01 [20481] ERROR:core:main: failed to fix configuration with err code -1 Jul 25 14:12:01 [20481] DBG:xlog:destroy: destroy module... Jul 25 14:12:01 [20481] DBG:tm:tm_shutdown: tm_shutdown : start Thanks [bogdan] - in opensips cfg, the db_url for usrloc module is not correctly set. Here's a weird one. I have OpenSIPS up and running fine for over a month. It responds and mi is talking via xmlrpc to OpenSIPS-CP just fine. I start it up using chkconfig with the startup script I found on opensips.org for CentOS (/etc/init.d/opensips). The weird thing is that despite starting fine, opensips doesn't create a pid file in /var/run (or anywhere else.) I just noticed this because I'm trying to setup Monit on the opensips box, and it wants to see the pid file. Can't be rights, I opened up /var and /var/run with chmod 777 just to ensure. CentOS 5.5, uname -a reports: 2.6.18-194.8.1.el5PAE OpenSIPS 1.6.2 [bogdan] - do you start opensips with -p param to point to a PD file ? Hi, I've setup Opensips with mysql support but am having issues getting it to start. i get the following error: ERROR: No PID file found (/var/run/opensips.pid)! OpenSIPS probably not running INFO: check with 'ps -ef | /bin/egrep opensips' when i do a tail /var/log/messages i get the following: Sep 20 15:52:22 CL-T020-483CL opensips: INFO:acc:mod_init: initializing... Sep 20 15:52:22 CL-T020-483CL opensips: INFO:auth:mod_init: initializing... Sep 20 15:52:22 CL-T020-483CL opensips: INFO:auth_db:mod_init: initializing... Sep 20 15:52:22 CL-T020-483CL opensips: INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:sig_usr: signal 2 received Sep 20 16:13:14 CL-T020-483CL last message repeated 2 times Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:handle_sigs: child process 585 6 exited normally, status=0 Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:handle_sigs: child process 585 7 exited normally, status=0 Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:handle_sigs: terminating due t o SIGCHLD Sep 20 16:13:14 CL-T020-483CL opensips: INFO:core:sig_usr: signal 15 received Does anyone have an idea of whats wrong or what i could be doing wrong? [bogdan] - signal 2 is SIGINT - looks like your opensips is terminated by other app.
Dear Bogdan , When i run OpensISPS, iam getting the following error /etc/init.d/opensips start *chown: `opensips:opensips': invalid user
[bogdan] - use "adduser" and "addgroup" system commands
this is my /etc/default/opesips
RUN_OPENSIPS=yes
USER=opensips
GROUP=opensips
MEMORY=128
DUMP_CORE=no so, where is the problem?? Mahmut Cahmut? — 28 January 2011, 10:55dhcppc:~# opensipsctl start INFO: Starting OpenSIPS : ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed any solution for this issue ? [bogdan] - check the log files (see the page content) for opensips errors - most probably your opensips fails to start. I have similar problem, when i start opensips it works and give the message of listening, but when i check the status of opensips it say, opensips not running, anyone has idea about the problem, Bhavik Pandya? — 11 April 2011, 22:12bhavik@prithvi:~$ opensipsctl restart [: 2443: restart: unexpected operator -e E[37;33mINFO: Stopping OpenSIPS : -e E[37;31mERROR: No PID file found (/var/run/opensips.pid)! OpenSIPS probably not running -e E[37;33mINFO: Starting OpenSIPS : -e E[37;31mERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed -- I have checked my user name and password, its the same in opensips.cfg file and mysql. -- The /var/run directory has full permissions -- I also have done sudo opensipsctl restart, thus trying to login as a root -- I tried to create a new account in mysql, but still couldnot solve this problem... Any help will be appreciated... [bogdan] - check the log files (see the page content) for opensips errors - most probably your opensips fails to start. lisongchao? — 21 May 2011, 10:30ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed and when I check /var/log/messages that show May 21 16:26:47 linux5-uc last message repeated 2 times May 21 16:26:47 linux5-uc ./opensips[8549]: ERROR:core:tcp_init: bind(8, 0x81be074, 16) on 127.0.0.1:5060 : Address already in use help help and what's the problem??? [bogdan] - either another opensips instance, either another application is listening on the same tcp:IP:PORT as you configured your opensips - check with "netstat -tlnp" Dear Bogdan I tried to set up opensips 1.6.2 but i alwyes get this error root@debtest:~# opensipsctl start -e E[37;32mWARNING: database engine not found - tried 'MYSQL' -e Control engine 'FIFO' loaded -e E[37;33mINFO: Starting OpenSIPS : -e E[37;33mINFO: started (pid: 1693) i spent much time searching this error but find nothing , can u help me how to solve this problem ? Probably what you should have said at the head of the document, is: "create a system user with linux adduser command and nologin. Example: adduser opensips nologin. If someone could write a manual for a CentOS install, it might look like CENTOS 5 INSTALL 1. Prequisites include all dependency installs of centOS5, linux LAMP and asterisk; don't install asterisk. 2. A system user will need to be added to install opensips with nologin. adduser opensips nologin. 3. Download all opensips packages from opensips. rpms for CentOS are found at SourceForge. As of mid 2011: opensips-1.7.0-0.i386.rpm opensips-b2bua-1.7.0-0.i386.rpm opensips-cpl-1.7.0-0.i386.rpm opensips-debuginfo-1.7.0-0.i386.rpm opensips-jabber-1.4.5-0.i386.rpm opensips-mysql-1.7.0-0.i386.rpm 4. Download perl-Frontier-RPC. This was found at pbone.net linked to daag. perl-Frontier-RPC-0.07b4-1.el5.rf.noarch.rpm. rpm -i perl-Frontier-RPC..etc 5. rpm -i opensips-1.7 (base). Then mysql and the rest. 6. At /etc/default/opensips, ensure the following is uncommented:
RUN_OPENSIPS=yes
USER=opensips
GROUP=opensips 7. Now opensips should be able to be daemonized. chkconfig opensips on service opensips start (stop / restart / status) 8. At /etc/opensips/opensips.cfg, uncomment as follows: /* uncomment the next line to disable TCP (default on) */ disable_tcp=yes
db_default_url="mysql://opensips:opensipsrw@localhost/opensips" /* uncomment next line for MySQL DB support */ 9. At /etc/opensips/opensipsctlrc, uncomment as follows:
DBENGINE=MYSQL
DBHOST=localhost
DBNAME=opensips
DBRWUSER=opensips
DBRWPW="password"
DBROOTUSER="root"
USERCOL="username" 10. Now at /etc/opensips/ you should be able to run the following command to create a database from script: opensipsdbctl create the process is interactive. 11. service restart opensips. [OK] doesn't usually appear, status shows it running. you're welcome. manish — 11 August 2011, 20:30Dear Bogdan i am getting following error after i start opensips ERROR: No PID file found (/var/run/opensips/opensips.pid)! OpenSIPS probably not running can i create pid file in the /var/run/opensips how to check that opensips is running if i run sudo /etc/init.d/opensips start it gives me Starting opensips: opensipsListening on udp: 127.0.0.1 [127.0.0.1]:5060 udp: 10.0.0.5 [10.0.0.5]:5060 tcp: 127.0.0.1 [127.0.0.1]:5060 tcp: 10.0.0.5 [10.0.0.5]:5060 Aliases: tcp: ADHIRAAJ.local:5060 tcp: localhost:5060 udp: ADHIRAAJ.local:5060 udp: localhost:5060 but with ps ax command it doesnt show me that opensip is running pl help manish — 11 August 2011, 20:37also my log messages gives the following Aug 12 00:04:44 ADHIRAAJ opensips: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected) Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: NOTICE:core:main: version: opensips 1.5.0-tls (i386/linux) Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:core:main: using 64 Mb shared memory Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:core:main: using 1 Mb private memory per process Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: NOTICE:signaling:mod_init: initializing module ... Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:sl:mod_init: Initializing StateLess engine Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:tm:mod_init: TM - initializing... Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:maxfwd:mod_init: initializing... Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:usrloc:ul_init_locks: locks array size 512 Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:registrar:mod_init: initializing... Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:textops:mod_init: initializing... Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:xlog:mod_init: initializing... Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:acc:mod_init: initializing... Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:auth:mod_init: initializing... Aug 12 00:04:44 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:auth_db:mod_init: initializing... Aug 12 00:04:45 ADHIRAAJ /usr/local/sbin/opensips[19285]: INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb Aug 12 00:05:06 ADHIRAAJ opensips: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected) Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: NOTICE:core:main: version: opensips 1.5.0-tls (i386/linux) Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:core:main: using 32 Mb shared memory Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:core:main: using 1 Mb private memory per process Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: NOTICE:signaling:mod_init: initializing module ... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:sl:mod_init: Initializing StateLess engine Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:tm:mod_init: TM - initializing... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:maxfwd:mod_init: initializing... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:usrloc:ul_init_locks: locks array size 512 Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:registrar:mod_init: initializing... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:textops:mod_init: initializing... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:xlog:mod_init: initializing... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:acc:mod_init: initializing... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:auth:mod_init: initializing... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:auth_db:mod_init: initializing... Aug 12 00:05:06 ADHIRAAJ /usr/local/sbin/opensips[19306]: INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb ERROR:core:db_check_table_version: invalid version 0 for table subscriber found, expected 7 ERROR:uri:mod_init: Invalid table version. ERROR:core:init_mod: failed to initialize module uri ERROR:core:main: error while initializing modules Opensips doen't start becose of this (module uri).. Please help. Starting OpenSER : ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed ec 28 17:01:44 localhost /usr/local/sbin/openser[8184]: INFO: statistics manager successfully initialized Dec 28 17:01:44 localhost /usr/local/sbin/openser[8184]: INFO:ul_init_locks: locks array size 512 Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: TextOPS - initializing Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: TM - initializing... Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: StateLess module - initializing Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: Maxfwd module- initializing Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: AUTH module - initializing Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: AUTH_DB module - initializing Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: XLOG:xdbg_fixup: ERROR: wrong format[Local user offline - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci ]! Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: ERROR: fix_actions: fixing failed (code=-1) at cfg line 447 Dec 28 17:01:45 localhost /usr/local/sbin/openser[8184]: INFO:mi_fifo:mi_destroy: process hasn't been created -> nothing to kill thanks [bogdan] It seams you have an old version (if xlog still a module) - print here the script line with the xlog
Hello, I have just installed the opensips and opensips-cp. I have registered a user successfully. If i run opensipsctl monitor i can see 1 user online. The problem is that this user is seen as offline in the opensips-cp. Any ideas? Thanks in advance Update: The user was created via console before i install cp. It seems that i cannot create a user via cp. The domain drop-down menu is empty... It seems that something is wrong.Any ideas on that? Thanks again in advance! Hi all, I have installed Opensips in Cent OS 6. With default opensips.cfg. Opensips started successfully. Then I stop opensips by Command: service opensips stop Or opensipsctl stop. Opensips stop [OK]. Then I change something (ex: parameters, routing,..), then I start opensips: The result is: PID File /var/run/opensips.pid does not exit. OpenSIPS start failed. I've checked /etc/init.d/opensips, /etc/rc.d/init.d/functions, usr/local/etc/opensips/opensipsctlrc with the same dir for: /var/run/opensips.pid. Reboot the system, using root user. But the problem is the same. Somebody can help me? Thanks Hi,All Apr 17 09:34:13 localhost opensips: CRITICAL:core:yyerror: 2parse error in config file, line 192, column 1-6: syntax error Apr 17 09:34:13 localhost opensips: CRITICAL:core:yyerror: 2parse error in config file, line 192, column 1-6: Invalid arguments Apr 17 09:34:13 localhost opensips: ERROR:core:main: bad config file (2 errors) Thanks Hi All, I also received the same error --> PID File /var/run/opensips.pid does not exit. OpenSIPS start failed. I see that many have observed the same error, but i see no solution to that in the site. Can someone who have solved this issue make a post so that others are benefited.. Thanks Hi.. I am following the webinar "OpenSIPS Kick Start.wmv" I have exactly everything same .. but still when i use this command, root@opensips:/# opensipsctl restart bash: opensipsctl: command not found also PID file is not there ... anyone can help? ERROR:db_mysql:mysql_raise_event: event not registered -1 Hi , I am following the webinar and was able to configure everything right upto the following error. Please guide me through for removing the same. root@ubuntu:/usr/local/opensips_proxy/sbin# ./opensipsdbctl create MySQL password for root: INFO: test server charset INFO: creating database opensips ... ERROR 1007 (HY000) at line 1: Can't create database 'opensips'; database exists /usr/local/opensips_proxy//lib64/opensips/opensipsctl/opensipsdbctl.mysql: line 165: ./mysql/standard-create.sql: No such file or directory ERROR: Creating core tables failed! sakalaboator? — 22 March 2013, 06:33I also encounter the mysql error. How to check the error code:1403 and what's the meaning? Mar 22 09:44:34 freeBSD /usr/local/sbin/opensips[1403]: ERROR:db_mysql:mysql_raise_event: event not registered -1 When i start running opensips by /etc/init.d/opensips start I get the following error: Sep 6 15:21:26 [17275] ERROR:core:set_mod_param_regex: parameter <db_url> not found in module <presence_xml> Sep 6 15:21:26 [17275] CRITICAL:core:yyerror: parse error in config file /usr/local/opensips_presence//etc/opensips/opensips.cfg, line 186, column 10-11: Parameter <db_url> not found in module <presence_xml> - can't set Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: presence_xml matches module presence_xml Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: found <force_active> in module presence_xml [/usr/local/opensips_presence/lib64/opensips/modules/] Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: presence_xml matches module presence_xml Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: found <pidf_manipulation> in module presence_xml [/usr/local/opensips_presence/lib64/opensips/modules/] Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: presence_xml matches module presence_xml Sep 6 15:21:26 [17275] ERROR:core:set_mod_param_regex: parameter <integrated_xcap_server> not found in module <presence_xml> Sep 6 15:21:26 [17275] CRITICAL:core:yyerror: parse error in config file /usr/local/opensips_presence//etc/opensips/opensips.cfg, line 189, column 19-20: Parameter <integrated_xcap_server> not found in module <presence_xml> - can't set Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: rls matches module rls Sep 6 15:21:26 [17275] ERROR:core:set_mod_param_regex: parameter <db_url> not found in module <rls> Sep 6 15:21:26 [17275] CRITICAL:core:yyerror: parse error in config file /usr/local/opensips_presence//etc/opensips/opensips.cfg, line 192, column 20-21: Parameter <db_url> not found in module <rls> - can't set Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: rls matches module rls Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: found <server_address> in module rls [/usr/local/opensips_presence/lib64/opensips/modules/] Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: rls matches module rls Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: found <to_presence_code> in module rls [/usr/local/opensips_presence/lib64/opensips/modules/] Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: rls matches module rls Sep 6 15:21:26 [17275] ERROR:core:set_mod_param_regex: parameter <integrated_xcap_server> not found in module <rls> Sep 6 15:21:26 [17275] CRITICAL:core:yyerror: parse error in config file /usr/local/opensips_presence//etc/opensips/opensips.cfg, line 195, column 19-20: Parameter <integrated_xcap_server> not found in module <rls> - can't set Sep 6 15:21:26 [17275] DBG:core:yyparse: loading module /usr/local/opensips_presence/lib64/opensips/modules/dialog.so Sep 6 15:21:26 [17275] DBG:core:register_module: register_pv: dialog Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: dialog matches module dialog Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: found <dlg_match_mode> in module dialog [/usr/local/opensips_presence/lib64/opensips/modules/] Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: dialog matches module dialog Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: found <default_timeout> in module dialog [/usr/local/opensips_presence/lib64/opensips/modules/] Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: dialog matches module dialog Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: found <db_mode> in module dialog [/usr/local/opensips_presence/lib64/opensips/modules/] Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: dialog matches module dialog Sep 6 15:21:26 [17275] DBG:core:set_mod_param_regex: found < Choose an emoticon Hi, I'm a new one.I just asking about autostart opensips and freeswitch. After I integration between them, the opensips cannot run at startup, while freeswitch can startup..Could somebody help me. Now, I'm using Ubuntu 12.04 LTS 32 bit to run the server. BettingLex Professional Tipsters and reliable betting tips. Tipster academy, deep knowaledge sharing Bettinglex portal BettingLex Professional Tipsters and reliable betting tips. Tipster academy, deep knowledge sharing zakÅ‚ady bukmacherskie typy BettingLex Professional Tipsters and reliable betting tips. Tipster academy, deep knowledge sharing football analysis |