MIGUEL_MELENDEZ
Jul 13, 2006Nimbostratus
TCL error: Rule after convert irule with otcu
Hello everybody,
I am having problems with a irule converted with the utility OTCU ( from v4.5 to v9.2.3) and I am receiving the following message on /var/log/ltm
TCL error: Rule Rule-OSN-IN - Error: No serverside connection established (line 1) invoked from within "server_port"
But there is no error with the comand "b load".
This is the irule after OTCU ( irule for v9.2.3 )
rule Rule-OSN-IN {
when CLIENT_ACCEPTED {
if { [server_port] == 25 } {
use pool osn-in
}
elseif { [server_port] == 80 } {
use pool osn-in
}
elseif { [server_port] == 20 } {
use pool osn-in
}
elseif { [server_port] == 21 } {
use pool osn-in
}
elseif { [server_port] == 22 } {
use pool osn-in
}
elseif { [server_port] == 23 } {
use pool osn-in
}
elseif { [server_port] == 143 } {
use pool osn-in
}
elseif { [server_port] == 110 } {
use pool osn-in
}
elseif { [server_port] == 4201 } {
use pool osn-in
}
else {
use pool OSN-Salida_Directa
}
}
}
Could anybody help me ?
The port can be TCP or UDP.
Many thanks in advance.