Opmanager 11100 and GSM Modem Ubuntu Server 12.04 x64 (Solution found)!!!

Opmanager 11100 and GSM Modem Ubuntu Server 12.04 x64 (Solution found)!!!

Hi!

I just install Opmanager 64 bit on Ubuntu Server 12.04 x64. Next, I connect serial (with com port) GSM modem iRZ MC52iT http://www.radiofid.ru/ru/products/wireless/by-type/gsm-modems/56-gsm-modems/456-gsm-irz-mc52it-rs-232-gprs-class-8-class-10.html (analog for Cinteron MC52iT) to host with Opmanager. Go to http://localhost and follow to Admin -> SMS Server Settings. When i click this link (SMS Server Settings) Opmanager fall down with this message:
RXTX Warning:  Removing stale lock file. /var/lock/LCK..ttyS0
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f37f29805da, pid=7236, tid=139878282643200
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b16 mixed mode linux-amd64)
# Problematic frame:
# C  [librxtxSerial.so+0x75da]  Java_gnu_io_RXTXPort_nativeDrain+0xea
#
# An error report file with more information is saved as:
# /opt/ManageEngine/OpManager/hs_err_pid7236.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
./StartOpManagerServer.sh: строка 95:  7236 Аварийный останов         (подготовлен дамп ядра) $JAVA_HOME/bin/java -cp $CLASS_PATH $AWT_HEADLESS $JAVA_OPTS -Dcatalina.home=$TOMCAT_HOME -Djava.rmi.server.codebase="$CODEBASE_LIST" -XX:+HeapDumpOnOutOfMemoryError -Xms200m -Xmx400m -XX:PermSize=64m -XX:MaxPermSize=128m com.adventnet.me.opmanager.server.OpManagerMainBE ROOT_DIR $NMS_HOME NMS_BE_FAILOVER true $*

Ok. I think maybe my GSM modem working wrong? Then I install gnokii packet on Ubuntu and set modem communtication port in /etc/gnokiirc in /dev/ttyS0 as in /opt/ManageEngine/OpManager/conf/SMSserver.conf and try send SMS for myself (on my mobile phone) as

user@opmanager#echo "Hello from Gnokii" | gnokii --sendsms +7921xxxxxxx

SMS I recive on my mobile phone without any problem.

What I doing wrong?

Below cat of SMSServer.conf
cat SMSServer.conf
#SMSServer conf. Do not edit this file.
#Tue Feb 11 10:26:13 MSK 2014
phone.batch_incoming=-1
sms_split=true
phone.batch_outgoing=-1
phone.sim_pin=
database.password=
serial.port=/dev/ttyS0
database.type=POSTGRESQL
phone.delete_after_processing=no
database.username=postgres
general.raw_in_log=./misc/incoming.raw
phone.manufacturer=Nokia
phone.phone_book=./misc/phonebook.xml
general.gui=no
phone.smsc_number=
database.driver=org.postgresql.Driver
phone.interval=15
phone.xml_out_queue=
database.url=jdbc\:postgresql\://localhost\:13306/OpManagerDB?dontTrackOpenResources\=true&useUnicode\=true&characterEncoding\=utf8
database.enabled=yes
general.raw_out_log=./misc/outgoing.raw
phone.model=6310i
phone.message_encoding=7bit
serial.baud=115200
phone.storage=sim
phone.xml_in_queue=
phone.forward_number=


Left 3 Hours :)

Install Opmanager 11100 under Windows XP SP3 x86 with the same iRZ modem...
ALL works perfectly! Opmanager written in crossplatforming Java...
Its bug under Linux or a feature?

Left 5 Hours :)

Heh, I find solution...

Install librxtx-java for my system Ubuntu 12.04 x64 (aptitude install librxtx-java) and copy 2 files from /usr/lib/jni (librxtxSerial-2.2pre1.so and @librxtxSerial.so) to /Opmanager/jre/lib

Modem working fine!

Topic closed











































































              New to ADManager Plus?

                New to ADSelfService Plus?