[Serusers] Re: About the ser daemon issue

Klaus Darilion klaus.mailinglists at pernau.at
Sun Apr 4 20:35:52 CEST 2004


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