[Spce-user] CDR's problem

Andrew Pogrebennyk apogrebennyk at sipwise.com
Mon May 26 05:36:44 EDT 2014


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


-- 
Andrew Pogrebennyk
Software Engineer
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge
Meet us @ ANGACOM in Cologne: Hall 10.1 / booth T20




More information about the Spce-user mailing list