ss7-cli connection refused

137 views
Skip to first unread message

Half Shiva

unread,
Mar 19, 2020, 12:16:26 PM3/19/20
to restcomm
Hello everybody,
i want to install and run Restcomm smsc on linux red hat 6.6.
i use wildfly 10 , install it with jain-slee-7.2.0-212, folowimg recomendation on forum,i install jss7
using the jss7-jain-slee-3.x-2 branch. SMSC part is smscgateway-7.4.0-151.
 i did take the  needed jar and war file and put into the deploy path from wildfly.
when i start standalone ,project deploy successfully and i can launch smsc,smpp and jss7 ui management.

the trouble is that i cannot connect to the server using cli command. the output is connection refused and i have
no port listening on tcp/3435
when i try to configure the ss7 using UI management , there's a error message that say communication with server failed

/data/SMSC_restcomm/jss7-jain-slee-3.x-2/management/shell-client/target/restcomm-cli/bin/ss7-cli.sh

version=8.0.0-SNAPSHOT,name=Restcomm jSS7 CLI,prefix=restcomm,vendor=TeleStax
restcomm>connect
Connection refused
Not yet connected
restcomm>exit

could you help please , what did i missed ?

i try to configure directly on xml configuration file but anyway , i don't know how to run it.
/data/SMSC_restcomm/smscgateway/core/bootstrap/src/main/config/data/SCTPManagement_sctp.xml

Sorry, i did read the documentation several time
but i certainly  don't have enough skill on dev to understand clearly what it should be achieve in order to make it run.

no port 3435 in listening status

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:6010              0.0.0.0:*                   LISTEN
tcp        0      0 10.249.23.166:8443          0.0.0.0:*                   LISTEN
tcp        0      0 10.249.23.166:9990          0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:199               0.0.0.0:*                   LISTEN
tcp        0      0 10.249.23.166:8080          0.0.0.0:*                   LISTEN
tcp        0      0 10.249.23.166:22            10.249.24.21:51662          ESTABLISHED
tcp        0      0 :::22                       :::*                        LISTEN
udp        0      0 0.0.0.0:161                 0.0.0.0:*

jdk-8u241-linux-x64.tar.gz
apache-maven-3.6.2-bin.tar.gz
jain-slee-7.2.0-212            
jss7-jain-slee-3.x-2
smscgateway-7.4.0-151.zip

JAVA_HOME=/data/SMSC_restcomm/jdk1.8.0_241
JBOSS_HOME=/data/SMSC_restcomm/jain-slee-7.2.0-212/release/target/binary/wildfly-10.1.0.Final/


thanks before hand for your help i am stuck
Br
half

Half Shiva

unread,
Mar 25, 2020, 12:16:31 PM3/25/20
to restcomm
Hi all
thanks to confinement , i have time to troubleshoot , but here i am stuck ,
why ShellExecutor cannot launch on my system ?
thanks before hand for your feedback
Half

Szabados Jozsef

unread,
Mar 25, 2020, 12:38:02 PM3/25/20
to rest...@googlegroups.com
Hi,

CLI server should listening on port 3435, it seems it is not listening on your system.

In jboss-beans.xml:
        <bean name="ShellExecutor" class="org.mobicents.ss7.management.console.ShellServerJboss">
                <constructor>
                        <parameter>
                                <inject bean="SS7Scheduler" />
                        </parameter>
                        <parameter>
                                <list class="javolution.util.FastList"
                                        elementClass="org.mobicents.ss7.management.console.ShellExecutor">
                                        <inject bean="SccpExecutor" />
                                        <inject bean="M3UAShellExecutor" />
                                        <inject bean="SCTPShellExecutor" />
                                        <inject bean="TcapExecutor" />
                    <inject bean="SmppShellExecutor" />
                    <inject bean="SMSCShellExecutor" />
                                        <!-- <inject bean="LinksetExecutor" /> -->
                                </list>
                        </parameter>
                </constructor>

                <property name="address">${jboss.bind.address}</property>
                <property name="port">3435</property>
                <property name="securityDomain">java:/jaas/jmx-console</property>
        </bean>

Or look for "ShellServer" in server.log, maybe it could help.

Hope this helps,

BR,
Jozsef

--
You received this message because you are subscribed to the Google Groups "restcomm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to restcomm+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/restcomm/94dbc590-4f28-4c4a-934e-0877de99ec8a%40googlegroups.com.

Half Shiva

unread,
Mar 26, 2020, 8:13:22 AM3/26/20
to restcomm
Hi Jozsef
Thanks for your feedback and for taking some time to help,
Shellservice from jboss-beans.xml is quite the same for me ,
i did look for ShellServer without success , do you have it into your server.log maybe i miss one *.jar that is mandatory to run ShellExecutor. but as far as i can understand , the restcomm-ss7-shell is well deployed.
if you can share your server.log it could maybe help see what miss. it would be great.
Another dumb question , i have standalone.sh that runs but do i need also the run.sh in order  to launch jSS7 shell cli ?
In your case , di you choose running SMSC-SS7 using wildfly or Jboss ?
Meanwhile thanks again for your help , stay confined and take care,
Br
Half
To unsubscribe from this group and stop receiving emails from it, send an email to rest...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages