[Serusers] Problem with command "serctl add"

Alberto alberto.ipt at telefonica.net
Fri Sep 9 17:03:39 CEST 2005


Sorry,

I use a start-up script and the /var/log/messages :

Sep  9 16:53:25 sip ser: WARNING: fix_socket_list: could not rev. resolve 192.168.100.199
Sep  9 16:53:25 sip ser: WARNING: fix_socket_list: could not rev. resolve 192.168.100.199
Sep  9 16:53:25 sip /usr/local/sbin/ser[434]: Maxfwd module- initializing
Sep  9 16:53:25 sip /usr/local/sbin/ser[434]: new_connection(): Access denied for user 'ser'@'localhost' (using password: YES)
Sep  9 16:53:25 sip /usr/local/sbin/ser[434]: db_init(): Could not create a connection
Sep  9 16:53:25 sip /usr/local/sbin/ser[434]: ERROR: uridb_db_ver: unable to open database connection
Sep  9 16:53:25 sip /usr/local/sbin/ser[434]: ERROR: uri_db:mod_init(): Error while querying table version
Sep  9 16:53:25 sip /usr/local/sbin/ser[434]: init_mod(): Error while initializing module uri_db

The script:

#!/bin/sh
#
# Start/stop/restart SIP EXpress Router (SER)
#
# Version: 1.0 - Paul Belanger <pabelanger at gmail.com>
#
# Directions:
# copy ser script to /usr/local/etc/rc.d/
# edit /etc/rc.conf and add the following:
# ser_enable="YES"
#
#
# 05.05.2005 - Initial Version

. /etc/rc.subr

name="ser"
rcvar="`set_rcvar`"
command="/usr/local/sbin/${name}"
pidfile="/var/run/${name}.pid"

load_rc_config $name
ser_flags="$cron_flags -P $pidfile"
run_rc_command "$1"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050909/01228f06/attachment.htm>


More information about the sr-users mailing list