[ scenarist @ 06.09.2009. 10:08 ] @
Naime instalirao sam Sip Express Router (SER) i Mysql server te fajl ser.cfg modifikovao po ovome linku

http://www.en.voipforo.com/ser/ser-installation-mysql.php

nakon toga restartovao SER sa serctl restart i sad kad hocu da ga pokrenem sa serctl start javlja mi ovo

root@nedzad-laptop:/# serctl start

Starting SER : PID file /var/run/ser.pid does not exist -- SER start failed
root@nedzad-laptop:/#


inace prije same modifikacije ser.cfg SER je uredno radio i pozivi su prolazili.....preko klijenta X-litea

kada odem na ERRORS + SOLUTIONS za ovu gresku
Starting SER : PID file /var/run/ser.pid does not exist -- SER start failed
When starting the server with /usr/local/sbin/serctl start


kaze slijedece

Look at /var/log/messages because is a common failed error

a tamo mi pise ovo

Sep 6 10:17:43 nedzad-laptop kernel: [ 74.573737] type=1505 audit(1252225061.844:2): operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" name2="default" pid=2583
Sep 6 10:17:43 nedzad-laptop kernel: [ 74.632058] type=1505 audit(1252225061.900:3): operation="profile_load" name="/sbin/dhclient-script" name2="default" pid=2587
Sep 6 10:17:43 nedzad-laptop kernel: [ 74.632229] type=1505 audit(1252225061.900:4): operation="profile_load" name="/sbin/dhclient3" name2="default" pid=2587
Sep 6 10:17:43 nedzad-laptop kernel: [ 74.632285] type=1505 audit(1252225061.900:5): operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" name2="default" pid=2587
Sep 6 10:17:43 nedzad-laptop kernel: [ 74.632338] type=1505 audit(1252225061.900:6): operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" name2="default" pid=2587
Sep 6 10:17:43 nedzad-laptop kernel: [ 74.797335] type=1505 audit(1252225062.067:7): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=2592
Sep 6 10:17:43 nedzad-laptop kernel: [ 74.797570] type=1505 audit(1252225062.067:8): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=2592
Sep 6 10:17:43 nedzad-laptop kernel: [ 74.843665] type=1505 audit(1252225062.111:9): operation="profile_load" name="/usr/sbin/mysqld" name2="default" pid=2596
Sep 6 10:17:43 nedzad-laptop kernel: [ 74.876420] type=1505 audit(1252225062.147:10): operation="profile_load" name="/usr/sbin/tcpdump" name2="default" pid=2600
Sep 6 10:17:49 nedzad-laptop kernel: [ 81.915696] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 6 10:17:49 nedzad-laptop kernel: [ 81.915700] Bluetooth: BNEP filters: protocol multicast
Sep 6 10:17:49 nedzad-laptop kernel: [ 81.958468] Bridge firewalling registered
Sep 6 10:17:51 nedzad-laptop kernel: [ 83.802112] pci 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Sep 6 10:17:51 nedzad-laptop kernel: [ 83.906525] Linux agpgart interface v0.103
Sep 6 10:17:51 nedzad-laptop kernel: [ 83.948195] [drm] Initialized drm 1.1.0 20060810
Sep 6 10:17:51 nedzad-laptop kernel: [ 84.177468] [drm] Initialized radeon 1.29.0 20080528 on minor 0
Sep 6 10:17:51 nedzad-laptop kernel: [ 84.431479] ppdev: user-space parallel port driver
Sep 6 10:17:52 nedzad-laptop kernel: [ 85.164238] [drm] Setting GART location based on new memory map
Sep 6 10:17:52 nedzad-laptop kernel: [ 85.181870] [drm] Loading RS780 CP Microcode
Sep 6 10:17:52 nedzad-laptop kernel: [ 85.182106] [drm] Loading RS780 PFP Microcode
Sep 6 10:17:52 nedzad-laptop kernel: [ 85.197036] [drm] Resetting GPU
Sep 6 10:17:52 nedzad-laptop kernel: [ 85.197092] [drm] writeback test succeeded in 1 usecs
Sep 6 10:17:55 nedzad-laptop kernel: [ 88.549282] ADDRCONF(NETDEV_UP): eth0: link is not ready
Sep 6 10:17:55 nedzad-laptop kernel: [ 88.568148] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sep 6 10:17:57 nedzad-laptop kernel: [ 90.269885] tg3: eth0: Link is up at 100 Mbps, full duplex.
Sep 6 10:17:57 nedzad-laptop kernel: [ 90.269889] tg3: eth0: Flow control is on for TX and on for RX.
Sep 6 10:17:57 nedzad-laptop kernel: [ 90.270113] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sep 6 10:25:59 nedzad-laptop syslogd 1.5.0#5ubuntu3: restart.
Sep 6 10:37:42 nedzad-laptop -- MARK --
Sep 6 10:57:42 nedzad-laptop -- MARK --
Sep 6 11:17:42 nedzad-laptop -- MARK --
Sep 6 11:37:42 nedzad-laptop -- MARK --
Sep 6 11:57:42 nedzad-laptop -- MARK --


ako je potrebno stavit cu i fajl ser.cfg

[Ovu poruku je menjao scenarist dana 06.09.2009. u 12:06 GMT+1]

[Ovu poruku je menjao scenarist dana 06.09.2009. u 12:08 GMT+1]
[ misk0 @ 06.09.2009. 22:35 ] @
Vjerovatno su te modifikacije koje si pravio dovele do toga da se greska pojavila. Moras u tom .log fajlu naci tacno koje se greske pojavljuju. U ovom dijelu sto si iskopirao ne djeluje da ima i jedna greska.
[ pringles80 @ 08.09.2009. 08:59 ] @
najverovatnije je pukao jer nije mogao da se konektuje na MySQL. U /var/log/messages neces naci tacnu gresku, moras da pokrenes ser bez serctl i sa dosta debug opcija. E sad, ja sam upoznat sa openser/opensips a ne sa ser-om ali je verovatno isto. Uradi 'ser -h' da vidis opcije za pokretanje ser-a (bez serctl), verovatno ce to biti nesto tipa 'ser -c -dddddddddddd' i onda ce da se pokrene ser i da na console izbaci sve greske, imas i u ser.cfg opcije da povecas debug koji ce mozda pokazati error u /var/log/messages
[ scenarist @ 08.09.2009. 16:52 ] @
Kada ga startam sa ser -c

root@nedzad-laptop:/home/nedzad# ser -c
0(3973) ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: cannot open shared object file: Too many levels of symbolic links
0(3973) parse error (31,13-14): failed to load module
ERROR: bad config file (1 errors)


mysql server mi radi ispravno

root@nedzad-laptop:/home/nedzad# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 53
Server version: 5.0.75-0ubuntu10.2 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> connect ser
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Connection id: 54
Current database: ser

mysql>


Dakle samo ne mogu da startam ser....i kad odem u usr/local/lib/ser/modules nemam tu mysql.so modula.....kao i sto mi javlja gresku....ali gore se vidi da veza izmedju sera i mysql radi ispravno....
[ scenarist @ 08.09.2009. 16:55 ] @
MOzda primjetite da nemam mysql.so modula???

root@nedzad-laptop:/usr/local/sbin# ls -l /usr/local/lib/ser/modules/
total 3540
-rwxr-xr-x 1 root root 78246 2009-08-26 17:05 acc.so
-rwxr-xr-x 1 root root 58728 2009-08-26 17:05 auth_db.so
-rwxr-xr-x 1 root root 122845 2009-08-26 17:05 auth_diameter.so
-rwxr-xr-x 1 root root 82088 2009-08-26 17:05 auth.so
-rwxr-xr-x 1 root root 28620 2009-08-26 17:05 avp_db.so
-rwxr-xr-x 1 root root 143841 2009-08-26 17:05 avpops.so
-rwxr-xr-x 1 root root 32282 2009-08-26 17:05 avp.so
-rwxr-xr-x 1 root root 139830 2009-08-26 17:05 dbtext.so
-rwxr-xr-x 1 root root 48217 2009-08-26 17:05 dispatcher.so
-rwxr-xr-x 1 root root 23937 2009-08-26 17:05 diversion.so
-rwxr-xr-x 1 root root 56069 2009-08-26 17:05 domain.so
-rwxr-xr-x 1 root root 48872 2009-08-26 17:05 enum.so
-rwxr-xr-x 1 root root 74855 2009-08-26 17:05 exec.so
-rwxr-xr-x 1 root root 51954 2009-08-26 17:05 flatstore.so
-rwxr-xr-x 1 root root 26926 2009-08-26 17:05 gflags.so
-rwxr-xr-x 1 root root 39536 2009-08-26 17:05 group.so
-rwxr-xr-x 1 root root 73169 2009-08-26 17:05 lcr.so
-rwxr-xr-x 1 root root 92248 2009-08-26 17:05 mangler.so
-rwxr-xr-x 1 root root 37157 2009-08-26 17:05 maxfwd.so
-rwxr-xr-x 1 root root 119080 2009-08-26 17:05 mediaproxy.so
-rwxr-xr-x 1 root root 85486 2009-08-26 17:05 msilo.so
-rwxr-xr-x 1 root root 126390 2009-08-26 17:05 nathelper.so
-rwxr-xr-x 1 root root 23214 2009-08-26 17:05 options.so
-rwxr-xr-x 1 root root 69870 2009-08-26 17:05 pdt.so
-rwxr-xr-x 1 root root 136134 2009-08-26 17:05 permissions.so
-rwxr-xr-x 1 root root 88534 2009-08-26 17:05 pike.so
-rwxr-xr-x 1 root root 17628 2009-08-26 17:05 print.so
-rwxr-xr-x 1 root root 118709 2009-08-26 17:05 registrar.so
-rwxr-xr-x 1 root root 69294 2009-08-26 17:05 rr.so
-rwxr-xr-x 1 root root 56260 2009-08-26 17:05 sl.so
-rwxr-xr-x 1 root root 201843 2009-08-26 17:05 sms.so
-rwxr-xr-x 1 root root 34962 2009-08-26 17:05 speeddial.so
-rwxr-xr-x 1 root root 44121 2009-08-26 17:05 textops.so
-rwxr-xr-x 1 root root 650374 2009-08-26 17:05 tm.so
-rwxr-xr-x 1 root root 39912 2009-08-26 17:05 uri_db.so
-rwxr-xr-x 1 root root 39571 2009-08-26 17:05 uri.so
-rwxr-xr-x 1 root root 210059 2009-08-26 17:05 usrloc.so
-rwxr-xr-x 1 root root 67466 2009-08-26 17:05 xlog.so


[Ovu poruku je menjao scenarist dana 08.09.2009. u 19:08 GMT+1]

[Ovu poruku je menjao scenarist dana 08.09.2009. u 19:09 GMT+1]
[ misk0 @ 08.09.2009. 19:41 ] @
mysql.so je klijentska biblioteka koja se koristi za povezivanje na mySQL bazu. Ili je instaliraj ili reinstaliraj mySQL i ukljuci je prilikom instalacije.
[ scenarist @ 08.09.2009. 23:12 ] @
ona bi mi trebala biti kada instaliram mysql-server sa sudo apt-get install mysql-server ili ne?
ako mozes malo podrobnije objasniti....ili mislis da reinstaliram mysql-server
[ misk0 @ 09.09.2009. 11:35 ] @
Ne znam tacno, ali obicno dolazi sa instalacijom baze. Potrazi je, mozda je na nekom mjestu pa je potrebno da promjenis path u SERu da vidi.
[ pringles80 @ 10.09.2009. 09:54 ] @
mysql.so dolazi sa instalacijom SER-a, tacnije moras da kompajliras mysql.so posebno od ostatka SER-a i nalazi se u folder-u source-a SER-a. Preko apt-get ne znam kako se instalira SER i mysql.so za SER.

Ako imas source (ako nemas skini) idi u "ser-0.9.6\modules\mysql" i uradi 'make' onda kucaj 'cp mysql.so /usr/local/lib/ser/modules/' i to je to, trebalo bi da radi posle toga.
[ scenarist @ 07.10.2009. 17:20 ] @
Citat:
pringles80: mysql.so dolazi sa instalacijom SER-a, tacnije moras da kompajliras mysql.so posebno od ostatka SER-a i nalazi se u folder-u source-a SER-a. Preko apt-get ne znam kako se instalira SER i mysql.so za SER.

Ako imas source (ako nemas skini) idi u "ser-0.9.6\modules\mysql" i uradi 'make' onda kucaj 'cp mysql.so /usr/local/lib/ser/modules/' i to je to, trebalo bi da radi posle toga.


Sa malim zakasnjenjem:

dakle kada uradim po prethodnom slijedi >>
Code:
root@nedzad-laptop:/usr/src/ser-0.9.7-pre1/modules/mysql# make
../../Makefile.modules:21: "you should run make from the main ser directory"
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -malign-double -falign-loops -ftree-vectorize -mtune=athlon64    -DNAME='"ser"' -DVERSION='"0.9.7-pre1"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/include/mysql -c dbase.c -o dbase.o
dbase.c:34:25: error: mysql/mysql.h: No such file or directory
dbase.c:35:26: error: mysql/errmsg.h: No such file or directory
In file included from dbase.c:39:
val.h:44: error: expected ‘)’ before ‘*’ token
In file included from dbase.c:40:
my_con.h:39: error: expected specifier-qualifier-list before ‘MYSQL_RES’
dbase.c: In function ‘submit_query’:
dbase.c:67: error: ‘struct my_con’ has no member named ‘timestamp’
dbase.c:68: warning: implicit declaration of function ‘mysql_ping’
dbase.c:68: error: ‘struct my_con’ has no member named ‘con’
dbase.c:72: error: ‘struct my_con’ has no member named ‘timestamp’
dbase.c:90: warning: implicit declaration of function ‘mysql_query’
dbase.c:90: error: ‘struct my_con’ has no member named ‘con’
dbase.c:93: warning: implicit declaration of function ‘mysql_errno’
dbase.c:93: error: ‘struct my_con’ has no member named ‘con’
dbase.c:94: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function)
dbase.c:94: error: (Each undeclared identifier is reported only once
dbase.c:94: error: for each function it appears in.)
dbase.c:94: error: ‘CR_SERVER_LOST’ undeclared (first use in this function)
dbase.c:98: warning: implicit declaration of function ‘mysql_error’
dbase.c:98: error: ‘struct my_con’ has no member named ‘con’
dbase.c:98: error: ‘struct my_con’ has no member named ‘con’
dbase.c:98: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:98: error: ‘struct my_con’ has no member named ‘con’
dbase.c:98: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:98: error: ‘struct my_con’ has no member named ‘con’
dbase.c:98: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:98: error: ‘struct my_con’ has no member named ‘con’
dbase.c:98: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:98: error: ‘struct my_con’ has no member named ‘con’
dbase.c:98: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:98: error: ‘struct my_con’ has no member named ‘con’
dbase.c:98: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:98: error: ‘struct my_con’ has no member named ‘con’
dbase.c:98: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c: At top level:
dbase.c:138: error: expected ‘)’ before ‘*’ token
dbase.c:166: error: expected ‘)’ before ‘*’ token
dbase.c:207: error: expected ‘)’ before ‘*’ token
dbase.c: In function ‘store_result’:
dbase.c:304: error: ‘struct my_con’ has no member named ‘res’
dbase.c:304: warning: implicit declaration of function ‘mysql_store_result’
dbase.c:304: error: ‘struct my_con’ has no member named ‘con’
dbase.c:305: error: ‘struct my_con’ has no member named ‘res’
dbase.c:306: warning: implicit declaration of function ‘mysql_field_count’
dbase.c:306: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:311: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:311: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:311: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:311: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:311: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c:311: error: ‘struct my_con’ has no member named ‘con’
dbase.c:311: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
dbase.c: In function ‘db_free_result’:
dbase.c:348: warning: implicit declaration of function ‘mysql_free_result’
dbase.c:348: error: ‘struct my_con’ has no member named ‘res’
dbase.c:349: error: ‘struct my_con’ has no member named ‘res’
dbase.c: In function ‘db_query’:
dbase.c:398: warning: implicit declaration of function ‘print_where’
dbase.c:398: error: ‘struct my_con’ has no member named ‘con’
dbase.c: In function ‘db_insert’:
dbase.c:471: warning: implicit declaration of function ‘print_values’
dbase.c:471: error: ‘struct my_con’ has no member named ‘con’
dbase.c: In function ‘db_delete’:
dbase.c:516: error: ‘struct my_con’ has no member named ‘con’
dbase.c: In function ‘db_update’:
dbase.c:559: warning: implicit declaration of function ‘print_set’
dbase.c:559: error: ‘struct my_con’ has no member named ‘con’
dbase.c:568: error: ‘struct my_con’ has no member named ‘con’
make: *** [dbase.o] Error 1


Samo da napomenem
Ponovno sam instalirao SER, konfigurisao klijente (X-lite) uspostavio poziv i sve radi ko sat. Zatim sam instalirao mysql-server i mysql client te zapeo na prethodno navedenom jer u modulima mi nema mysql.so biblioteke a kada radim make izbaci mi gore navedeno.
S tim da li bi prvo trebao da rjesim ovo sa mysql.so modulom pa onda da radim po ovome linku http://www.en.voipforo.com/ser/ser-installation-mysql.php tj da kreiram ovu skriptu i prepravim ser.cfg fajl ??

iako sam prilikom instalacije ser-a odradio make && make modules, odnosno kompletna instalacija

# cd /usr/src/
# tar -zxvf ser-0.9.6_src.tar.gz
# rm -f ser-0.9.6_src.tar.gz
# cd ser-0.9.6_src

# make && make modules
# make prefix=/usr/local install



[Ovu poruku je menjao scenarist dana 07.10.2009. u 19:39 GMT+1]
[ scenarist @ 07.10.2009. 18:52 ] @
kao da sam nesto pronasao....

Code:
root@nedzad-laptop:/usr/src/ser-0.9.7-pre1/modules/mysql# find / -name mysql.so -print
/usr/lib/perl5/auto/DBD/mysql/mysql.so
root@nedzad-laptop:/usr/src/ser-0.9.7-pre1/modules/mysql#


dakle da li bi ga sad trebao sa ove lokacije prebacit u

ser-0.9.7\modules\mysql/ te onda "make" a zatim ga kopirat u

/usr/local/lib/ser/modules/

hm ????


[ scenarist @ 10.10.2009. 13:01 ] @
Predzadnji post mozete zanemariti jer taj perl-DBD mysql.so modul nema veze sa SERovim mysql.so modulom.

naime potrebno je bilo samo instalirati jos mysql-devel
Code:
apt-get install libmysql++-dev

te nakon toga uraditi
Code:
#cd ... ser-0.9.6\modules\mysql/make
#ls
#cp mysql.so /usr/local/lib/ser/modules

i konacno
Code:
#ser -c

i trebalo bi ispisat slijedece
Code:
Listening on 
             udp: 127.0.0.1 [127.0.0.1]:5060
             udp: 192.168.0.100 [192.168.0.100]:5060
             tcp: 127.0.0.1 [127.0.0.1]:5060
             tcp: 192.168.0.100 [192.168.0.100]:5060
Aliases: 
             tcp: nedzad-laptop.local:5060
             tcp: localhost:5060
             udp: nedzad-laptop.local:5060
             udp: localhost:5060


ali sad kad zelim da pokrenem napokon SER sa "serctl start"
Code:
Starting SER : PID file /var/run/ser.pid does not exist -- SER start failed


kada pogledam u var/log/messages nista ne vidim cudno ????? HELP ME:-(
[ misk0 @ 10.10.2009. 15:23 ] @
Ja sam samo jednom nekad davno instalirao SER i nisam ga vishe koristio ali da je umjesto SER-a rijec o asterisku ta poruka bi znacila da SER nije pokrenut (sto i kaze).
Naime, ti sa 'asterisk -c' se konektujes na vec pokrenut servis (-c = console) a ne i da ga pokreces. To znaci da moras prvo da ukucas 'ser' pa tek onda 'ser -c' ili da pocnes 'ser -d' tako da on ne ide u pozadinu vec ostane u tom terminalu.

Ponovicu - to je tako za asterisk (identicna je i poruka o gresci) tako da ne mogu sa sigurnoscu tvrditi da je i za SER isto.
[ scenarist @ 10.10.2009. 16:02 ] @
Ovako

Code:
root@nedzad-laptop:/usr/local/sbin# ser -c -d
Listening on 
             udp: 127.0.0.1 [127.0.0.1]:5060
             udp: 192.168.0.100 [192.168.0.100]:5060
             tcp: 127.0.0.1 [127.0.0.1]:5060
             tcp: 192.168.0.100 [192.168.0.100]:5060
Aliases: 
             tcp: nedzad-laptop.local:5060
             tcp: localhost:5060
             udp: nedzad-laptop.local:5060
             udp: localhost:5060

config file ok, exiting...


Code:
root@nedzad-laptop:/usr/local/sbin# ser -c -dd
 0(6051) read 1737935539 from /dev/urandom
 0(6051) seeding PRNG with 2993128134
 0(6051) test random number 222054883
 0(6051) loading module /usr/local/lib/ser/modules/mysql.so
 0(6051) loading module /usr/local/lib/ser/modules/sl.so
 0(6051) loading module /usr/local/lib/ser/modules/tm.so
 0(6051) loading module /usr/local/lib/ser/modules/rr.so
 0(6051) loading module /usr/local/lib/ser/modules/maxfwd.so
 0(6051) loading module /usr/local/lib/ser/modules/usrloc.so
 0(6051) loading module /usr/local/lib/ser/modules/registrar.so
 0(6051) loading module /usr/local/lib/ser/modules/textops.so
 0(6051) loading module /usr/local/lib/ser/modules/auth.so
 0(6051) loading module /usr/local/lib/ser/modules/auth_db.so
 0(6051) set_mod_param_regex: usrloc matches module usrloc
 0(6051) set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/ser/modules/usrloc.so]
 0(6051) set_mod_param_regex: auth_db matches module auth_db
 0(6051) set_mod_param_regex: found <calculate_ha1> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
 0(6051) set_mod_param_regex: auth_db matches module auth_db
 0(6051) set_mod_param_regex: found <password_column> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
 0(6051) set_mod_param_regex: rr matches module rr
 0(6051) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/ser/modules/rr.so]
 0(6051) set_mod_param_regex: usrloc matches module usrloc
 0(6051) set_mod_param_regex: found <db_url> in module usrloc [/usr/local/lib/ser/modules/usrloc.so]
 0(6051) set_mod_param_regex: auth_db matches module auth_db
 0(6051) set_mod_param_regex: found <db_url> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
 0(6051) set_mod_param_regex: usrloc matches module usrloc
 0(6051) set_mod_param_regex: found <db_url> in module usrloc [/usr/local/lib/ser/modules/usrloc.so]
 0(6051) set_mod_param_regex: auth_db matches module auth_db
 0(6051) set_mod_param_regex: found <db_url> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
 0(6051) find_export: found <mf_process_maxfwd_header> in module maxfwd [/usr/local/lib/ser/modules/maxfwd.so]
 0(6051) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
 0(6051) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
 0(6051) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so]
 0(6051) find_export: found <loose_route> in module rr [/usr/local/lib/ser/modules/rr.so]
 0(6051) find_export: found <append_hf> in module textops [/usr/local/lib/ser/modules/textops.so]
 0(6051) find_export: found <append_hf> in module textops [/usr/local/lib/ser/modules/textops.so]
 0(6051) find_export: found <www_authorize> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
 0(6051) find_export: found <www_challenge> in module auth [/usr/local/lib/ser/modules/auth.so]
 0(6051) find_export: found <save> in module registrar [/usr/local/lib/ser/modules/registrar.so]
 0(6051) find_export: found <lookup> in module registrar [/usr/local/lib/ser/modules/registrar.so]
 0(6051) find_export: found <append_hf> in module textops [/usr/local/lib/ser/modules/textops.so]
 0(6051) find_export: found <lookup> in module registrar [/usr/local/lib/ser/modules/registrar.so]
 0(6051) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
 0(6051) find_export: found <append_hf> in module textops [/usr/local/lib/ser/modules/textops.so]
 0(6051) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
 0(6051) find_export: found <sl_reply_error> in module sl_module [/usr/local/lib/ser/modules/sl.so]
 0(6051) routing table 0:
 0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb80b2dd0> 0(6051) , "10" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "483" 0(6051) , "Too Many Hops" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) UNKNOWN 0(6051) >= 0(6051) 2048 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "513" 0(6051) , "Message too big" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f118c0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0fdb0> 0(6051) );  0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: rr-enforced
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051) ) { 0(6051) if ( 0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051) ) { 0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c11200> 0(6051) , "localhost" 0(6051) , "subscriber" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7c17f60> 0(6051) , "localhost" 0(6051) , "0" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c22190> 0(6051) , "location" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "aliases" 0(6051) );  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound alias
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "location" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "404" 0(6051) , "Not Found" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: usrloc applied
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) if ( 0(6051) UNKNOWN 0(6051) >= 0(6051) 2048 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "513" 0(6051) , "Message too big" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f118c0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0fdb0> 0(6051) );  0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: rr-enforced
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051) ) { 0(6051) if ( 0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051) ) { 0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c11200> 0(6051) , "localhost" 0(6051) , "subscriber" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7c17f60> 0(6051) , "localhost" 0(6051) , "0" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c22190> 0(6051) , "location" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "aliases" 0(6051) );  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound alias
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "location" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "404" 0(6051) , "Not Found" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: usrloc applied
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) if ( 0(6051) NOT(  0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f118c0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0fdb0> 0(6051) );  0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: rr-enforced
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051) ) { 0(6051) if ( 0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051) ) { 0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c11200> 0(6051) , "localhost" 0(6051) , "subscriber" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7c17f60> 0(6051) , "localhost" 0(6051) , "0" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c22190> 0(6051) , "location" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "aliases" 0(6051) );  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound alias
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "location" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "404" 0(6051) , "Not Found" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: usrloc applied
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) if ( 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0fdb0> 0(6051) );  0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: rr-enforced
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051) ) { 0(6051) if ( 0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051) ) { 0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c11200> 0(6051) , "localhost" 0(6051) , "subscriber" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7c17f60> 0(6051) , "localhost" 0(6051) , "0" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c22190> 0(6051) , "location" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "aliases" 0(6051) );  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound alias
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "location" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "404" 0(6051) , "Not Found" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: usrloc applied
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051) ) { 0(6051) if ( 0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051) ) { 0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c11200> 0(6051) , "localhost" 0(6051) , "subscriber" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7c17f60> 0(6051) , "localhost" 0(6051) , "0" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c22190> 0(6051) , "location" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "aliases" 0(6051) );  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound alias
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "location" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "404" 0(6051) , "Not Found" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: usrloc applied
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) if ( 0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051) ) { 0(6051) if ( 0(6051) method 0(6051) == 0(6051) "REGISTER" 0(6051) ) { 0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c11200> 0(6051) , "localhost" 0(6051) , "subscriber" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7c17f60> 0(6051) , "localhost" 0(6051) , "0" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c22190> 0(6051) , "location" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "aliases" 0(6051) );  0(6051) if ( 0(6051) NOT(  0(6051) uri 0(6051) == 0(6051) _myself_ 0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: outbound alias
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c1f400> 0(6051) , "location" 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b87b0> 0(6051) , "404" 0(6051) , "Not Found" 0(6051) );  0(6051) drop( 0(6051) type<0> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) } else { 0(6051) };  0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: usrloc applied
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051)  external_module_call( 0(6051) f_ptr<0xb7f0adb0> 0(6051) , "P-hint: usrloc applied
" 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) route( 0(6051) 1 0(6051) );  0(6051) 
 0(6051) routing table 1:
 0(6051) if ( 0(6051) NOT(  0(6051)  external_module_call( 0(6051) f_ptr<0xb7c57210> 0(6051) );  0(6051)  ) 0(6051) ) { 0(6051)  external_module_call( 0(6051) f_ptr<0xb80b8460> 0(6051) );  0(6051) } else { 0(6051) };  0(6051) 
Listening on 
             udp: 127.0.0.1 [127.0.0.1]:5060
             udp: 192.168.0.100 [192.168.0.100]:5060
             tcp: 127.0.0.1 [127.0.0.1]:5060
             tcp: 192.168.0.100 [192.168.0.100]:5060
Aliases: 
             tcp: nedzad-laptop.local:5060
             tcp: localhost:5060
             udp: nedzad-laptop.local:5060
             udp: localhost:5060

config file ok, exiting...
 0(6051) DEBUG: tm_shutdown : start
 0(6051) DEBUG: tm_shutdown : emptying hash table
 0(6051) DEBUG: tm_shutdown : releasing timers
 0(6051) DEBUG: tm_shutdown : removing semaphores
 0(6051) DEBUG: tm_shutdown : destroying tmcb lists
 0(6051) DEBUG: tm_shutdown : done
 0(6051) shm_mem_destroy


Code:
root@nedzad-laptop:/usr/local/sbin# serctl start

Starting SER : PID file /var/run/ser.pid does not exist -- SER start failed
root@nedzad-laptop:/usr/local/sbin# 


a sto se tice mysql

Code:
root@nedzad-laptop:/usr/local/sbin# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 58
Server version: 5.0.75-0ubuntu10.2 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> connect ser
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Connection id:    59
Current database: ser

mysql> show tables;
+-----------------------+
| Tables_in_ser         |
+-----------------------+
| acc                   | 
| active_sessions       | 
| admin_privileges      | 
| aliases               | 
| calls_forwarding      | 
| config                | 
| domain                | 
| event                 | 
| grp                   | 
| location              | 
| missed_calls          | 
| pending               | 
| phonebook             | 
| preferences_types     | 
| reserved              | 
| server_monitoring     | 
| server_monitoring_agg | 
| silo                  | 
| speed_dial            | 
| subscriber            | 
| trusted               | 
| uri                   | 
| usr_preferences       | 
| version               | 
+-----------------------+
24 rows in set (0.00 sec)


Zaista ne znam u cemu bi mogao biti problem??
[ pringles80 @ 12.10.2009. 09:45 ] @
Moras da nadjes nacin da SER izbaci log kada ga startujes sa serctl, drugacije mozes samo da pogadjas u cemu je stvar mada mi se cini da je moguce da ne moze da se konektuje sa MySQL, ako je uopste i konfigurisan da se konektuje, imao sam iskustva gde se SER startuje bez problema ako ga sam pokreces ali kad ga pokrece SERCTL onda puca zbog MySQL-a.

Probaj da u ser.cfg na vrhu stavis:
fork=no
log_stderror=yes
debug=9

i onda probaj opet da vidis da li ce baciti log negde, mozda ga izbaci na console portu 1

Pregledaj i SysLog konfiguraciju mozda nije dobro podesena, pogledaj http://www.iptel.org/the_ser_getting_started_log_system
[ scenarist @ 12.10.2009. 17:31 ] @
Evo ukoliko neko uspije da desifruje u cemu je rijec

Code:
root@nedzad-laptop:/home/nedzad# ser -D -D
Listening on 
             udp: 127.0.0.1 [127.0.0.1]:5060
             udp: 192.168.0.100 [192.168.0.100]:5060
             tcp: 127.0.0.1 [127.0.0.1]:5060
             tcp: 192.168.0.100 [192.168.0.100]:5060
Aliases: 
             tcp: nedzad-laptop.local:5060
             tcp: localhost:5060
             udp: nedzad-laptop.local:5060
             udp: localhost:5060


Code:
WARNING: no fork mode   
stateless - initializing
textops - initializing
ERROR: error -1 while trying to fix configuration








[Ovu poruku je menjao scenarist dana 12.10.2009. u 18:55 GMT+1]
[ pringles80 @ 12.10.2009. 18:19 ] @
nesto nije u redu u ser.cfg, ne znam kako napamet ali moras da izvuces na kojoj liniji ser.cfg je error, igraj se sa debug i verbose i logging, trenutno nemam nigde instaliran SER da se malo poigram i vidim tacno kako.
[ scenarist @ 12.10.2009. 19:49 ] @
ovo mi se nalazi u var/log/syslog

Code:
  
  ser: Maxfwd module- initializing 
  ser: new_connection(): Access denied for user 'mysqluser'@'localhost' (using password: YES) 
  ser: db_init(): Could not create a connection 
  ser: ERROR: auth_db_ver: unable to open database connection 
  ser: auth_db:str_fixup(): Error while querying table version 
  ser: ERROR: fix_expr : fix_actions error 


u ser.cfg editovao slijedece dvije linije

Code:
modparam("usrloc", "db_url","mysql://mysqluser:mysqlpassword@dbhost/dbname")
modparam("auth_db", "db_url","mysql://mysqluser:mysqlpassword@dbhost/dbname") 


u

Code:
modparam("usrloc", "db_url","mysql://ser:heslo@localhost/ser")
modparam("auth_db", "db_url","mysql://ser:heslo@localhost/ser")


Code:
root@nedzad-laptop:/usr/local/sbin# serctl start

Starting SER : started pid(9655)


heh:-)

PROBLEM RIJESEN





[Ovu poruku je menjao scenarist dana 12.10.2009. u 21:20 GMT+1]