HELP Unable to register channel '1'

Ddahdi and asterisk don’t work.

[Mar 30 15:44:56] WARNING[8269] chan_dahdi.c: Detected alarm on channel 2: Red Alarm
[Mar 30 15:44:56] ERROR[8269] chan_dahdi.c: Signalling requested on channel 1 is FXO Kewlstart but line is in FXO Loopstart signalling
[Mar 30 15:44:56] ERROR[8269] chan_dahdi.c: Unable to register channel '1'
 dahdi_cfg -vv
DAHDI Tools Version -

DAHDI Version:
Echo Canceller(s): MG2

Channel map:

Channel 01: FXO Loopstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)

2 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2

dahdi_hardware pci:0000:00:0a.0 wctdm+ e159:0001 Wildcard TDM400P REV E/F

Have you idea why ?

I found the problem.
My /etc/dahdi/system.conf there was fxols=2 instead fxoks=2.