[Serusers] Error using serctl monitor

Andrey Kouprianov andrey.kouprianov at gmail.com
Tue Aug 8 11:35:15 CEST 2006


Hi,

For "[: -ne: unexpected operator" error, open your serctl in vi (or
other editor), then find line ["$2" == ""] near by the "start" case
and change to be ["$2" = ""]. Then try running serctl moni. Should
work.

For the domain error, dont mind that some function is not available.
When you have modified some domain entry, just restart SER for changes
to take effect (thing is, changes will not take effect, because
domain_reload func is not avaialable ). And to view your domains
(since domain_dump is not there), just go to MySQL directly and query
domain table (select * from domain).

  Good luck.

   Andrey.

On 8/8/06, Josel Layno <josel70ph at gmail.com> wrote:
> Hi there...tnx for the response. Here is the version of my SER and serctl.
>
> $ ser -V
> version: ser 0.9.3 (i386/freebsd)
> flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
> SHM_MEM, SHM_MMAP, PKG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> @(#) $Id: main.c,v 1.197 2004/12/03 19:09:31 andrei Exp $
> main.c compiled on 09:43:17 Jun 14 2006 with gcc 3.4
> $ serctl fifo which
> DB
> kill
> ps
> which
> arg
> pwd
> version
> uptime
> print
> trusted_dump
> trusted_reload
> ul_show_contact
> ul_add
> ul_flush
> ul_dump
> ul_rm_contact
> ul_rm
> ul_stats
> t_stats
> t_reply
> t_hash
> t_uac_cancel
> t_uac_dlg
> sl_stats
>
>
> When i issue serctl monitor...this is the output
>
>               [: -ne: unexpected operator
>
>
> Thanks,
>
> -josel
>
>
>
> On 8/6/06, Jiri Kuthan <jiri at iptel.org> wrote:
> > which version of ser are you using? which version of serctl are you using?
> > whats the output of 'serctl fifo which'? Could you set the "-x" option for
> > serctl so that we see where serctl failed?
> >
> > Thanks
> >
> > -jiri
> >
> > At 14:24 01/08/2006, Josel Layno wrote:
> > >Hi guys,
> > >
> > >I got my SER running "so far" and i trying to explore some commands using
> serctl.
> > >Using serctl moni gives me error ...
> > >
> > >         [: -ne: unexpected operator
> > >
> > >and using serctl domain show gives me...
> > >
> > >         $ serctl domain show
> > >         500 command 'domain_dump' not available
> > >
> > >Is this all crucial on my server? Did i missed something?
> > >I appreciate any kind of assistance...:)
> > >
> > >regards,
> > >
> > >josel
> > >_______________________________________________
> > >Serusers mailing list
> > >Serusers at lists.iptel.org
> > >http://lists.iptel.org/mailman/listinfo/serusers
> >
> > --
> > Jiri Kuthan             http://iptel.org/~jiri/
> >
> >
>
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>



More information about the sr-users mailing list