[Spce-user] Disable services don't stop them

Daniel Grotti dgrotti at sipwise.com
Sat Sep 22 07:07:26 EDT 2018


Ho Jon,
Yes, Disabling service in config.yml does not stop the service but just forbid the service to (re)start at  boot. You need to manually stop the service.

Daniel

Sent from my iPhone

> On 22.09.2018, at 10:03, Jon Bonilla (Manwe) <manwe at sipdoc.net> wrote:
> 
> Hi
> 
> New mr5.5.6
> 
> I disabled mediator and rateomat in config.yml but the apply doesn't stop them
> as the restart action is skipped. Running is disabled in /etc/default but the
> init script will skip the action
> 
> 
> [WARNING]: Action restart skipped, service mediator is not enabled
> [WARNING]: Forcing stop action for mediator, service is not enabled
> mediator not yet configured. Edit /etc/default/mediator first.
> 2018-09-22 02:43:28: Executing action
> for /etc/ngcp-config/templates/etc/default/ngcp-rate-o-mat.services [WARNING]:
> Action restart skipped, service rateomat is not enabled [WARNING]: Forcing stop
> action for rateomat, service is not enabled
> 
> 
> 
> root at xxxxx:~# ps -ef | grep med
> root      2731     1  0 01:52 ?        00:00:00 /usr/bin/mediator
> -D /var/run/mediator.pid -i 10 -h localhost -o 3306 -u kamailio -p
> rA9hfgfgfgJma -b kamailio -H localhost -O 3306 -U mediator -P
> W3KLfggjhkhkhh4Co -B accounting -S localhost -T 3306 -R mediator -A
> W3KfhngjhjgjghCo -N provisioning -Z localhost -z 3306 -W mediator -w
> W3KLhfgfhgghjghgp4Co -X stats -x 1 -d
> 
> 
> 
> root at xxx:~# /etc/init.d/mediator stop
> mediator not yet configured. Edit /etc/default/mediator first.
> 
> 
> 
> 
> -- 
> https://pekepbx.com
> https://www.issabel.com/multitenant
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list