
IES-1248-51V Support Notes
89
mySQL Setup
[root@VOIP root]#/usr/local/bin/mysql_install_db
(Initiate MySQL database)
[root@VOIP root]#/etc/rc.d/init.d/mysqld start
(Start MySQL server)
[root@VOIP root]#/usr/sbin/ser_mysql.sh create
run this script to create SER database in mysql
MySql password for root: BLANK (press “Enter”)
Domain (Realm) is the domain name for the SIP users: foo.bar
Second password: BLANK (press ”Enter”)
Add an account for SER:
[root@voipRH9B ser]# export SIP_DOMAIN="foo.bar"
[root@voipRH9B ser]# /usr/sbin/serctl add 200 1234 [email protected]
MySql password: (
Å
default is heslo)
new user added
[root@voipRH9B mysql]# /usr/sbin/serctl monitor
You need to set environment variable SIP_DOMAIN (e.g. to 'foobar.com') first
[root@voipRH9B mysql]# export SIP_DOMAIN="foo.bar"
[root@voipRH9B mysql]# /usr/sbin/serctl monitor
[cycle #: 240; if constant make sure server lives and fifo is on]
Server: Sip EXpress router (0.8.12 (i386/linux))
Now: Sun Jan 28 01:06:16 2007
Up Since: Sun Jan 28 00:52:03 2007
Up time: 853 [sec]
Transaction Statistics
Current: 0 (0 waiting) Total: 2 (0 local)
Replied localy: 4
Completion status 6xx: 0, 5xx: 0, 4xx: 2, 3xx: 0,2xx: 0
All contents copyright (c) 2007 ZyXEL Communications Corporation.