Accel-cmd cant disconnect user

PPPoE related questions
Post Reply
catweb
Posts: 9
Joined: 07 Mar 2018, 14:35

Accel-cmd cant disconnect user

Post 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?
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: Accel-cmd cant disconnect user

Post by dimka88 »

Hi, do you have any sessions name without @?
try

Code: Select all

accel-cmd terminate if ppp40
catweb
Posts: 9
Joined: 07 Mar 2018, 14:35

Re: Accel-cmd cant disconnect user

Post 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#
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: Accel-cmd cant disconnect user

Post by dimka88 »

run accel-cmd terminate if ppp40 and show accel-ppp.log
and run

Code: Select all

 accel-cmd terminate if ppp40 hard
catweb
Posts: 9
Joined: 07 Mar 2018, 14:35

Re: Accel-cmd cant disconnect user

Post 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..
catweb
Posts: 9
Joined: 07 Mar 2018, 14:35

Re: Accel-cmd cant disconnect user

Post by catweb »

there was no log about terminate command in /var/accel-ppp/accel-ppp.log
catweb
Posts: 9
Joined: 07 Mar 2018, 14:35

Re: Accel-cmd cant disconnect user

Post by catweb »

verbose level is 3
catweb
Posts: 9
Joined: 07 Mar 2018, 14:35

Re: Accel-cmd cant disconnect user

Post 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
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: Accel-cmd cant disconnect user

Post by dimka88 »

you use radius or chap-secrets file?
catweb
Posts: 9
Joined: 07 Mar 2018, 14:35

Re: Accel-cmd cant disconnect user

Post 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.
Post Reply