[Serusers] Re:

Klaus Darilion klaus.mailinglists at pernau.at
Mon Apr 5 18:20:51 CEST 2004


You have to run another tool to monitor ser, e.g. take a look at:
http://www.kernel.org/software/mon/

klaus

John LI wrote:
> 8.5080404 at pernau.at>
> Subject: Re: About the ser daemon issue
> Date: Mon, 5 Apr 2004 09:11:22 -0700
> MIME-Version: 1.0
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2800.1158
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> 
> Hi Klaus,
> 
> Do you mean that there is serveral process runing on the back ground
> monitoring the ser process, and will start ser when it is stoped, or I have
> to explicitly runing some tools to monitoring the ser?
> 
> Thanks.
> 
> John
> 
> ----- Original Message ----- 
> From: "Klaus Darilion" <klaus.mailinglists at pernau.at>
> To: "John LI" <john at signalc.com>
> Cc: "Serusers" <serusers at lists.iptel.org>
> Sent: Sunday, April 04, 2004 11:35 AM
> Subject: Re: About the ser daemon issue
> 
> 
> 
>>The normal way to start/sop ser is: using a startup script
>>
>>/etc/init.d/ser start
>>or
>>/etc/init.d/ser stop
>>
>>There are several tools which can be used to monitor ser and if ser
>>fails, they can restart ser. e.g. you can use 'mon'.
>>
>>regards,
>>klaus
>>
>>PS: cc to the mailinglist
>>
>>John LI wrote:
>>
>>>Hi Klaus,
>>>
>>>Is there any daemon which will keep the ser server living?
>>>
>>>BTW, what is the normal way to start and stop.
>>>
>>>Thanks
>>>
>>>John
>>>
>>>----- Original Message ----- 
>>>From: "Klaus Darilion" <klaus.mailinglists at pernau.at>
>>>To: "John LI" <john at signalc.com>
>>>Cc: "Jan Janak" <jan at iptel.org>; "Jiri Kuthan" <jiri at iptel.org>;
> 
> "Serusers"
> 
>>><serusers at lists.iptel.org>
>>>Sent: Friday, April 02, 2004 1:23 AM
>>>Subject: Re: [Serusers] CDR Issue
>>>
>>>
>>>
>>>
>>>>I guess you haven't installed all the mysql libraries, maybe some
>>>>php_mysql stuff is missing.
>>>>
>>>>$ php -v
>>>>will give you your version!
>>>>
>>>>
>>>>klaus
>>>>
>>>>John LI wrote:
>>>>
>>>>
>>>>
>>>>>Hi Klaus,
>>>>>
>>>>>I have tried to install the serweb on to the system, and after i try to
>>>
>>>go
>>>
>>>
>>>>>to the http://localhost/installed-folder/html/admin/index.php, I got
> 
> the
> 
>>>>>error message:
>>>>>Fatal error: Call to undefined function: mysql_pconnect() in
>>>>>/var/www/html/serweb_2004-01-04/phplib/db_mysql.inc on line 73
>>>>>
>>>>>It is becuase I need to install the PHP4 on the server, and if it is
> 
> so,
> 
>>>how
>>>
>>>
>>>>>can I to make sure the PHP4 I installed on the server support the Mysql
>>>>>feature?
>>>>>
>>>>>Thanks for your help.
>>>>>
>>>>>John
>>>>>
>>>>>----- Original Message ----- 
>>>>>From: "Klaus Darilion" <klaus.mailinglists at pernau.at>
>>>>>To: "John LI" <john at signalc.com>
>>>>>Cc: "Jan Janak" <jan at iptel.org>; "Jiri Kuthan" <jiri at iptel.org>;
>>>
>>>"Serusers"
>>>
>>>
>>>>><serusers at lists.iptel.org>
>>>>>Sent: Wednesday, March 31, 2004 5:54 AM
>>>>>Subject: Re: [Serusers] CDR Issue
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>missed_calls can be filled also by the acc module -> see the
> 
> parameters
> 
>>>>>>in the README file of the acc module.
>>>>>>
>>>>>>Klaus
>>>>>>
>>>>>>John LI wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi Jan,
>>>>>>>
>>>>>>>Thanks for you response, after I set the DB flag in the ser.cfg, all
>>>
>>>the
>>>
>>>
>>>>>>>action could be writen to the acc table. thanks for you help.
>>>>>>>
>>>>>>>In the ser db there is a bunch of tables there, I am now only using
> 
> the
> 
>>>>>acc
>>>>>
>>>>>
>>>>>
>>>>>>>, subscriber, location tables, I would like to know how to write the
>>>>>>>information into the missed_call table, active_action table etc.
>>>>>>>
>>>>>>>Thanks
>>>>>>>
>>>>>>>John
>>>>>>>
>>>>>>>----- Original Message ----- 
>>>>>>>From: "Jan Janak" <jan at iptel.org>
>>>>>>>To: "John LI" <john at signalc.com>
>>>>>>>Cc: "Klaus Darilion" <klaus.mailinglists at pernau.at>; "Jiri Kuthan"
>>>>>>><jiri at iptel.org>; "Serusers" <serusers at lists.iptel.org>
>>>>>>>Sent: Wednesday, March 31, 2004 5:20 AM
>>>>>>>Subject: Re: [Serusers] CDR Issue
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>On 30-03 11:52, John LI wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Hi Jan,
>>>>>>>>>
>>>>>>>>>I get the tar ball from the Iptel, and untar it, and I untar the
> 
> tar
> 
>>>>>>>ball in
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>the /home/alan/, then I changed the Makefile in
>>>>>>>>>/home/alan/ser-0.8.12/modules/acc, I wonder if it is the correct
> 
> file
> 
>>>>>>>you
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>mentioned like sip_router/modules/acc/Makefile?
>>>>>>>>
>>>>>>>>Yes.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>The other issue is when you talk recomplie the Module, dose that
> 
> mean
> 
>>>>>>>>>recompile the acc.so module itself or recomplie the whole ser?
>>>
>>>Becuase
>>>
>>>
>>>>>>>when
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>I tried to run the make in the  /home/alan/ser-0.8.12/modules/acc,
>>>
>>>the
>>>
>>>
>>>>>>>>>system asked me to complie the the source in the main ser
> 
> directory.
> 
>>>>>>>>I would recommend to recompile the whole ser.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>The third issue is , if I just want the database accounting, no
> 
> need
> 
>>>>>for
>>>>>
>>>>>
>>>>>
>>>>>>>>>Radius Accounting, should I still uncomment the line  concerened
> 
> with
> 
>>>>>>>Radius
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>accounting, can I just uncomment line concerned with the database
>>>>>>>>>accounting?
>>>>>>>>
>>>>>>>>Uncomment just database related lines if you want database
> 
> accounting
> 
>>>>>>>>only.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>The fourth issue is, I have load the acc.so in in the ser.cfg, it
>>>>>>>
>>>>>>>supposed
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>to use the syslog to write the cdr in the Syslog file, is that
> 
> right?
> 
>>>>>>>which
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>file I should looking for the CDR information.
>>>>>>>>
>>>>>>>>/var/log/messages or /var/log/daemon.log (depending on the
>>>>>>>>distribution).
>>>>>>>>
>>>>>>>> Jan.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>
>>
> 
> 




More information about the sr-users mailing list