Page 1 of 1

Accel-cmd cant disconnect user

Posted: 07 Mar 2018, 14:38
by catweb
hello,

i'm having a problema with disconnect sessions,

when a try:

#accel-cmd terminate username junioralves@juazeiro

nothing happens,

the result of command after terminate request:

#accel-cmd show sessions | grep junioralves@juazeiro
is:
ppp40 | junioralves@juazeiro | C8:E7:D8:61:2A:23 | 10.10.1.188 | | pppoe | | start | 3.08:49:20


would anyone help me?

Re: Accel-cmd cant disconnect user

Posted: 07 Mar 2018, 14:53
by dimka88
Hi, do you have any sessions name without @?
try

Code: Select all

accel-cmd terminate if ppp40

Re: Accel-cmd cant disconnect user

Posted: 10 Mar 2018, 14:29
by catweb
dimka88 wrote: 07 Mar 2018, 14:53 Hi, do you have any sessions name without @?
try

Code: Select all

accel-cmd terminate if ppp40
I triet this command, but whitout success..

i haven't any sessions whitout @

Code: Select all

root@bras1:/home/bras1# accel-cmd show sessions | grep junioralves@juazeiro
 ppp40  | junioralves@juazeiro           | C8:E7:D8:61:2A:23 | 10.10.1.188     |             | pppoe |      | start  | 6.08:40:23
root@bras1:/home/bras1# accel-cmd terminate if ppp40
root@bras1:/home/bras1# accel-cmd show sessions | grep junioralves@juazeiro
 ppp40  | junioralves@juazeiro           | C8:E7:D8:61:2A:23 | 10.10.1.188     |             | pppoe |      | start  | 6.08:40:28
root@bras1:/home/bras1#

Re: Accel-cmd cant disconnect user

Posted: 10 Mar 2018, 14:38
by dimka88
run accel-cmd terminate if ppp40 and show accel-ppp.log
and run

Code: Select all

 accel-cmd terminate if ppp40 hard

Re: Accel-cmd cant disconnect user

Posted: 10 Mar 2018, 14:44
by catweb

Code: Select all

root@bras1:/home/bras1# accel-cmd show sessions | grep junioralves@juazeiro
 ppp40  | junioralves@juazeiro           | C8:E7:D8:61:2A:23 | 10.10.1.188     |             | pppoe |      | start  | 6.08:54:52
root@bras1:/home/bras1# accel-cmd terminate if ppp40 hard
root@bras1:/home/bras1# accel-cmd show sessions | grep junioralves@juazeiro
 ppp40  | junioralves@juazeiro           | C8:E7:D8:61:2A:23 | 10.10.1.188     |             | pppoe |      | start  | 6.08:55:05
root@bras1:/home/bras1#
whitout success..

Re: Accel-cmd cant disconnect user

Posted: 10 Mar 2018, 14:45
by catweb
there was no log about terminate command in /var/accel-ppp/accel-ppp.log

Re: Accel-cmd cant disconnect user

Posted: 10 Mar 2018, 14:46
by catweb
verbose level is 3

Re: Accel-cmd cant disconnect user

Posted: 10 Mar 2018, 14:50
by catweb
I've turned level to 5, and got this message when send command 'terminate hard'

Code: Select all

[2018-03-10 11:50:06]:  info: cli: tcp: new connection from 127.0.0.1
[2018-03-10 11:50:06]: debug: cli: disconnect

Re: Accel-cmd cant disconnect user

Posted: 10 Mar 2018, 16:17
by dimka88
you use radius or chap-secrets file?

Re: Accel-cmd cant disconnect user

Posted: 12 Mar 2018, 13:37
by catweb
dimka88 wrote: 10 Mar 2018, 16:17 you use radius or chap-secrets file?
i use radius,

i have 500 sessions online, the clients can authenticate normally, but only this user has a problem.

I create a new user for this client, and he normally authenticate, but this user still in start status even whitout any router connected.