This question is asked so often, it ought to make it into the basic readme.
The problem is that ser has its own mysql.so which it looks for in its modules directory
(by default, /usr/local/lib/ser/modules ). If it doesn't find it there, it's not
going to let you try and load the module or use commands that require the module. Also, by
default, the mysql.so module isn't compiled with the rest of ser. You need to specify
that you want to compile it when you're compiling the rest (or, if you have a package,
it may not come WITH the package... in which case, you need to grab the src code and
compile it yourself with a simple 'make modules=modules/mysql modules' command.
Once you have a functioning mysql.so compiled for ser, place it into the
/usr/local/lib/ser/modules dir and try again.
N.
On Fri, 15 Sep 2006 12:08:41 +0530, prabhakar g wrote
hi
i have installed ser.0.9.6 successfully and when i am trying to start ser i am getting
this error
when i type ser moni showing like this
Listening on
udp: MailScanner warning: numerical links are often malicious: 127.0.0.1
[MailScanner warning: numerical links are often malicious: 127.0.0.1]:5060
udp: MailScanner warning: numerical links are often malicious: 202.65.159.20
[MailScanner warning: numerical links are often malicious: 202.65.159.20]:5060
tcp: MailScanner warning: numerical links are often malicious: 127.0.0.1
[MailScanner warning: numerical links are often malicious: 127.0.0.1]:5060
tcp: MailScanner warning: numerical links are often malicious: 202.65.159.20
[MailScanner warning: numerical links are often malicious: 202.65.159.20]:5060
Aliases:
tcp: lline-202-65-159-20.pol.net.in:5060
tcp: localhost:5060
tcp: localhost.localdomain:5060
tcp: test:5060
tcp: test.ser.com:5060
udp: lline-202-65-159-20.pol.net.in:5060
udp: localhost:5060
udp: localhost.localdomain:5060
udp: test:5060
udp: test.ser.com:5060
0(3834) fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048
0(3834) fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16548
0(3834) fm_malloc_init(0xb5fe6000, 33554432), start=0xb5fe6000
0(3834) shm_mem_init: success
0(0) core dump limits set to 4294967295
0(0) DEBUG: init_mod: sl_module
stateless - initializing
0(0) DEBUG: register_fifo_cmd: new command (sl_stats) registered
0(0) unixsock_register_cmd: New command (sl_stats) registered
0(0) DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58
0(0) DEBUG: init_mod: tm
0(0) TM - (size of cell=2776, sip_msg=760) initializing...
0(0) Call-ID initialization: '3bfcfe46'
0(0) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered
0(0) DEBUG: register_fifo_cmd: new command (t_uac_cancel) registered
0(0) DEBUG: register_fifo_cmd: new command (t_hash) registered
0(0) DEBUG: register_fifo_cmd: new command (t_reply) registered
0(0) unixsock_register_cmd: New command (t_uac_dlg) registered
0(0) unixsock_register_cmd: New command (t_uac_cancel) registered
0(0) unixsock_register_cmd: New command (t_hash) registered
0(0) unixsock_register_cmd: New command (t_reply) registered
0(0) DEBUG: lock_initialize: lock initialization started
[root@test ~]# 0(0) DEBUG: register_fifo_cmd: new command (t_stats) registered
0(0) unixsock_register_cmd: New command (t_stats) registered
0(0) DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed
0(0) DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a
0(0) DEBUG: init_mod: rr
0(0) rr - initializing
0(0) DEBUG: init_mod: maxfwd
0(0) Maxfwd module- initializing
0(0) DEBUG: init_mod: usrloc
0(0) usrloc - initializing
0(0) DEBUG: register_fifo_cmd: new command (ul_stats) registered
0(0) DEBUG: register_fifo_cmd: new command (ul_rm) registered
0(0) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered
0(0) DEBUG: register_fifo_cmd: new command (ul_dump) registered
0(0) DEBUG: register_fifo_cmd: new command (ul_flush) registered
0(0) DEBUG: register_fifo_cmd: new command (ul_add) registered
0(0) DEBUG: register_fifo_cmd: new command (ul_show_contact) registered
0(0) unixsock_register_cmd: New command (ul_stats) registered
0(0) unixsock_register_cmd: New command (ul_rm) registered
0(0) unixsock_register_cmd: New command (ul_rm_contact) registered
0(0) unixsock_register_cmd: New command (ul_dump) registered
0(0) unixsock_register_cmd: New command (ul_flush) registered
0(0) unixsock_register_cmd: New command (ul_add) registered
0(0) unixsock_register_cmd: New command (ul_show_contact) registered
0(0) find_mod_export: <db_use_table> in module mysql not found
0(0) bind_dbmod: Module mysql does not export db_use_table function
0(0) ERROR: mod_init(): Can't bind database module
0(0) init_mod(): Error while initializing module usrloc
ERROR: error while initializing modules
0(0) DEBUG: tm_shutdown : start
0(0) DEBUG: unlink_timer_lists : emptying DELETE list
0(0) DEBUG: tm_shutdown : emptying hash table
0(0) DEBUG: tm_shutdown : releasing timers
0(0) DEBUG: tm_shutdown : removing semaphores
0(0) DEBUG: tm_shutdown : destroying tmcb lists
0(0) DEBUG: tm_shutdown : done
0(3836) shm_mem_destroy
0(3836) destroying the shared memory lock
and my mysql.so file is showing in this location
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
what is the problem ??
and when i trying to add ser user
i am getting this error
[root@test ~]# serctl add globe1 globe1 globe1(a)test.ser.com
MySql password:
error: SER/FIFO not accessible: 2
--
Prabhakar.g
Network Engineer
Northgate Technologies
Banjarahils,Hyderabad-34