[Spce-user] CDR's problem

Pablo Muñoz-Cobo pmunoz at wisi.es
Mon May 26 06:35:47 EDT 2014


Hello Andrew:

Thanks for your reply. It worked fine and when the cdr-exporter was 
executed by cron all the pending cdrs were  inserted in one file as 
expected.

Cheers,
Pablo


El 26/05/14 11:36, Andrew Pogrebennyk escribió:
> Hi,
> try removing the lock file /var/lock/mediator.lock
>
> HTH.
> Andrew
>
> On 05/26/2014 11:30 AM, Pablo Muñoz-Cobo wrote:
>> Good morning:
>>
>> Regarding this I realized that the mediator daemon is no up and it fails
>> when I try to bring it up:
>>
>> root at SIPWISECE2:/var/log/ngcp# cat cdr.log
>> May 26 10:06:51 SIPWISECE2 mediator[11855]: Locking process.
>> May 26 10:06:51 SIPWISECE2 mediator[11855]: Non-empty lock file
>> '/var/lock/mediator.lock' detected, refusing to start. Examine its
>> contents to learn about the cause, and then delete it to clear the error
>> May 26 10:06:51 SIPWISECE2 mediator[11855]: Unlocking mediator.
>> May 26 10:08:52 SIPWISECE2 mediator[12553]: Locking process.
>> May 26 10:08:52 SIPWISECE2 mediator[12553]: Non-empty lock file
>> '/var/lock/mediator.lock' detected, refusing to start. Examine its
>> contents to learn about the cause, and then delete it to clear the error
>> May 26 10:08:52 SIPWISECE2 mediator[12553]: Unlocking mediator.
>> May 26 10:09:07 SIPWISECE2 mediator[12690]: Locking process.
>> May 26 10:09:07 SIPWISECE2 mediator[12690]: Non-empty lock file
>> '/var/lock/mediator.lock' detected, refusing to start. Examine its
>> contents to learn about the cause, and then delete it to clear the error
>> May 26 10:09:07 SIPWISECE2 mediator[12690]: Unlocking mediator.
>> May 26 11:08:00 SIPWISECE2 mediator[31991]: Locking process.
>> May 26 11:08:00 SIPWISECE2 mediator[31991]: Non-empty lock file
>> '/var/lock/mediator.lock' detected, refusing to start. Examine its
>> contents to learn about the cause, and then delete it to clear the error
>> May 26 11:08:00 SIPWISECE2 mediator[31991]: Unlocking mediator.
>> May 26 11:08:05 SIPWISECE2 mediator[32060]: Locking process.
>> May 26 11:08:05 SIPWISECE2 mediator[32060]: Non-empty lock file
>> '/var/lock/mediator.lock' detected, refusing to start. Examine its
>> contents to learn about the cause, and then delete it to clear the error
>> May 26 11:08:05 SIPWISECE2 mediator[32060]: Unlocking mediator.
>>
>> I tried also to repair the cdr table but seems the table doesn't support it
>>
>> mysql> repair table cdr ;
>> +----------------+--------+----------+---------------------------------------------------------+
>>
>> | Table          | Op     | Msg_type |
>> Msg_text                                                |
>> +----------------+--------+----------+---------------------------------------------------------+
>>
>> | accounting.cdr | repair | note     | The storage engine for the table
>> doesn't support repair
>>
>> I think a reboot might fix the problem but i'd rather prefer not to. Any
>> ideas in order to bring the mediator daemon back up will be appreciated
>>
>> Cheers,
>> Pablo
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
>





More information about the Spce-user mailing list