RestComm / Restcomm-Connect

The Open Source Cloud Communications Platform
http://www.restcomm.com/
GNU Affero General Public License v3.0
242 stars 215 forks source link

Automatic configuration script failing during bootstrap #2069

Closed ghjansen closed 7 years ago

ghjansen commented 7 years ago

Bootstrap is aborted when reaching config-rvd-logging.sh. Below is extracted from the output of start-restcomm.sh.

...
Finished executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-restcomm.sh!

Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-rvd-logging.sh...
Configuring RVD logging
adding RVD handler
XMLStarlet Toolkit: Edit XML document(s)
Usage: xmlstarlet ed <global-options> {<action>} [ <xml-file-or-uri> ... ]
where
  <global-options>  - global options for editing
  <xml-file-or-uri> - input XML document file name/uri (stdin otherwise)

<global-options> are:
  -P, or -S           - preserve whitespace nodes.
     (or --pf, --ps)    Note that space between attributes is not preserved
  -O (or --omit-decl) - omit XML declaration (<?xml ...?>)
  -L (or --inplace)   - edit file inplace
  -N <name>=<value>   - predefine namespaces (name without 'xmlns:')
                        ex: xsql=urn:oracle-xsql
                        Multiple -N options are allowed.
                        -N options must be last global options.
  --net               - allow network access
  --help or -h        - display help

where <action>
  -d or --delete <xpath>
  -i or --insert <xpath> -t (--type) elem|text|attr -n <name> -v (--value) <value>
  -a or --append <xpath> -t (--type) elem|text|attr -n <name> -v (--value) <value>
  -s or --subnode <xpath> -t (--type) elem|text|attr -n <name> -v (--value) <value>
  -m or --move <xpath1> <xpath2>
  -r or --rename <xpath1> -v <new-name>
  -u or --update <xpath> -v (--value) <value>
                         -x (--expr) <xpath>

XMLStarlet is a command line toolkit to query/edit/check/transform
XML documents (for more information see http://xmlstar.sourceforge.net/)
/opt/Restcomm-JBoss-AS7/standalone/configuration/standalone-sip.xml:1.1: Document is empty
error parsing standalone-sip.xml
otsakir commented 7 years ago

@ghjansen , can you provide some info on this error?

I've just downloaded and started https://mobicents.ci.cloudbees.com/view/RestComm/job/RestComm/lastSuccessfulBuild/artifact/Restcomm-JBoss-AS7-8.2.0.1211.zip without problems but wondering whether for some reason it was trashed during a previous xmlstarlet execution and was missing the next time.

ghjansen commented 7 years ago

@otsakir thank you for joining me in this one. Here goes the answers to your previous questions and some additional info as well.

  • In which restcomm version did you observe this issue?

It happened in Amazon Linux using a build i created from master branch using my machine.

  • Did this happen from the first time you started it ?

Yes.

  • Any error prior to this ?

No previous error noticed by me.

  • restcomm.conf /advanced.conf files

The only parameters different from default values are in restcomm.conf:

NET_INTERFACE='lo0'
PRIVATE_IP='127.0.0.1'
SUBNET_MASK='255.0.0.0'
NETWORK='127.0.0.0'
BROADCAST_ADDRESS='127.0.0.255'
  • Can you confirm that /opt/Restcomm-JBoss-AS7/standalone/configuration/standalone-sip.xml is the correct path and the file itself is either missing or empty?

Yes, it is there:

[ec2-user@ip-10-81-165-32 restcomm]$ ls -ltra /opt/Restcomm-JBoss-AS7/standalone/configuration/standalone-sip.xml
-rw-r--r-- 1 root root 0 Apr 17 20:34 /opt/Restcomm-JBoss-AS7/standalone/configuration/standalone-sip.xml

Taking advantage that you mentioned Restcomm-JBoss-AS7-8.2.0.1211, i downloaded this same binary and tested it against Amazon Linux (where the issue was originally noticed), Mac OS X and Ubuntu. The following is the output for each operating system along with the version of xmlstarlet and OS - where the only config changed from default is network values only, as already mentioned.

Amazon Linux

[ec2-user@ip-00-00-000-00 restcomm]$ sudo ./start-restcomm.sh 
BASEDIR: /opt/Restcomm-JBoss-AS7/bin/restcomm
RESTCOMM_HOME: /opt/Restcomm-JBoss-AS7
Looking for the appropriate interface
Looking for the IP Address, subnet, network and broadcast_address

RestComm automatic configuration started:
Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-dialogic-xms.sh...
Configuring Dialogic XMS...MS_MODE: rms
...activated Dialogic XMS...
...finished configuring Dialogic XMS!
Finished executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-dialogic-xms.sh!

Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-jboss-as.sh...
Configuring JBoss AS...
...disabled JBoss splash screen...
Finished configuring JBoss AS!
Finished executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-jboss-as.sh!

Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-load-balancer.sh...
LB was not configured earlier
Finished executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-load-balancer.sh!

Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-logs.sh...
Update AKKA log level to INFO
Configuring log level for: SIPSERVLET -> INFO

Logger exist
Configuring log level for: SIPRESTCOMM -> INFO

Need to add logger org.mobicents.servlet.sip.restcomm
Configuring log level for: RESTCOMM -> INFO

Need to add logger org.restcomm.connect
Configuring log level for: GOVNIST -> INFO

Logger exist
Finished executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-logs.sh!

Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-mysql.sh...
Finished executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-mysql.sh!

Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-olympus.sh...
Configuring Olympus...
Finished executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-olympus.sh!

Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-restcomm.sh...
Configuring RestComm...
RestComm java options with: -Xms1048m -Xmx4096m -XX:MaxPermSize=512m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=8 -XX:G1RSetUpdatingPauseTimePercent=10 -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=4m -XX:G1HeapWastePercent=5 -XX:InitiatingHeapOccupancyPercent=85 -XX:+UnlockExperimentalVMOptions -XX:G1MixedGCLiveThresholdPercent=85 -XX:+AlwaysPreTouch -XX:+UseCompressedOops -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.server.bootstrap.maxThreads=1 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../../restcomm_dumpfile-Apr_17_2017_20_34_14.bin
Updated mobicents-dar properties
Updated RestComm configuration
Configured Fax Service credentials
Configured Sms Aggregator using OUTBOUND PROXY 
Please set KEY for VoiceRSS TTS
Disabled TeleStax Proxy
Configured Media Server Manager
Configured SMPP Account Details
Configured RestCommURIs
Configured Recordings path
Configured HTTP ports
Configure outbound-proxy
HTTP_RESPONSE_TIMEOUT 6000
CACHE_NO_WAV false
End Rest RestComm configuration
Configure RVD
Configured RestComm!
Finished executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-restcomm.sh!

Executing configuration file /opt/Restcomm-JBoss-AS7/bin/restcomm/autoconfig.d/config-rvd-logging.sh...
Configuring RVD logging
adding RVD handler
XMLStarlet Toolkit: Edit XML document(s)
Usage: xmlstarlet ed <global-options> {<action>} [ <xml-file-or-uri> ... ]
where
  <global-options>  - global options for editing
  <xml-file-or-uri> - input XML document file name/uri (stdin otherwise)

<global-options> are:
  -P, or -S           - preserve whitespace nodes.
     (or --pf, --ps)    Note that space between attributes is not preserved
  -O (or --omit-decl) - omit XML declaration (<?xml ...?>)
  -L (or --inplace)   - edit file inplace
  -N <name>=<value>   - predefine namespaces (name without 'xmlns:')
                        ex: xsql=urn:oracle-xsql
                        Multiple -N options are allowed.
                        -N options must be last global options.
  --net               - allow network access
  --help or -h        - display help

where <action>
  -d or --delete <xpath>
  -i or --insert <xpath> -t (--type) elem|text|attr -n <name> -v (--value) <value>
  -a or --append <xpath> -t (--type) elem|text|attr -n <name> -v (--value) <value>
  -s or --subnode <xpath> -t (--type) elem|text|attr -n <name> -v (--value) <value>
  -m or --move <xpath1> <xpath2>
  -r or --rename <xpath1> -v <new-name>
  -u or --update <xpath> -v (--value) <value>
                         -x (--expr) <xpath>

XMLStarlet is a command line toolkit to query/edit/check/transform
XML documents (for more information see http://xmlstar.sourceforge.net/)
/opt/Restcomm-JBoss-AS7/standalone/configuration/standalone-sip.xml:1.1: Document is empty
error parsing standalone-sip.xml
[ec2-user@ip-00-00-000-00 restcomm]$ sudo xmlstarlet --version
1.3.1
compiled against libxml2 2.7.8, linked with 20901
compiled against libxslt 1.1.26, linked with 10128
[ec2-user@ip-00-00-000-00 restcomm]$ uname -a
Linux ip-00-00-000-00 4.1.7-15.23.amzn1.x86_64 #1 SMP Mon Sep 14 23:20:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Mac OS X

restcomm ghjansen$ ./start-restcomm.sh 
BASEDIR: /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm
RESTCOMM_HOME: /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211

RestComm automatic configuration started:
Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-SecureSSL.sh...
RestComm SSL Configuring ...
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-SecureSSL.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-dialogic-xms.sh...
Configuring Dialogic XMS...MS_MODE: rms
...activated Dialogic XMS...
...finished configuring Dialogic XMS!
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-dialogic-xms.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-jboss-as.sh...
Configuring JBoss AS...
...disabled JBoss splash screen...
Finished configuring JBoss AS!
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-jboss-as.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-load-balancer.sh...
LB was not configured earlier
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-load-balancer.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-logs.sh...
Update AKKA log level to INFO
Configuring log level for: SIPSERVLET -> INFO

Logger exist
Configuring log level for: SIPRESTCOMM -> INFO

Need to add logger org.mobicents.servlet.sip.restcomm
Configuring log level for: RESTCOMM -> INFO

Need to add logger org.restcomm.connect
Configuring log level for: GOVNIST -> INFO

Logger exist
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-logs.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-mysql.sh...
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-mysql.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-olympus.sh...
Configuring Olympus...
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-olympus.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-restcomm.sh...
Configuring RestComm...
RestComm java options with: -Xms1048m -Xmx4096m -XX:MaxPermSize=512m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=8 -XX:G1RSetUpdatingPauseTimePercent=10 -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=4m -XX:G1HeapWastePercent=5 -XX:InitiatingHeapOccupancyPercent=85 -XX:+UnlockExperimentalVMOptions -XX:G1MixedGCLiveThresholdPercent=85 -XX:+AlwaysPreTouch -XX:+UseCompressedOops -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.server.bootstrap.maxThreads=1 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../../restcomm_dumpfile-Apr_17_2017_17_53_10.bin
Updated mobicents-dar properties
Updated RestComm configuration
Configured Fax Service credentials
Configured Sms Aggregator using OUTBOUND PROXY 
Please set KEY for VoiceRSS TTS
Disabled TeleStax Proxy
Configured Media Server Manager
Configured SMPP Account Details
Configured RestCommURIs
Configured Recordings path
Configured HTTP ports
Configure outbound-proxy
HTTP_RESPONSE_TIMEOUT 6000
CACHE_NO_WAV false
End Rest RestComm configuration
Configure RVD
Configured RestComm!
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-restcomm.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-rvd-logging.sh...
Configuring RVD logging
adding RVD handler
adding RVD local logger - INFO/RVD handler
adding RVD global logger - INFO/RVD handler
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
/Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-rvd-logging.sh: line 118: : No such file or directory
mv: : No such file or directory
/Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/standalone/configuration/standalone-sip.xml updated
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-rvd-logging.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-sip-connectors.sh...
Configuring Application Server...
Additional Bindings not Created earlier
Additional Connectors not Created earlier
Configured SIP Connectors and Bindings
Configured gather-statistics
Finished configuring Application Server!
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-sip-connectors.sh!

Executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-utensil.sh...
one or more variables are undefined
Not possible to continue with SMTP configuration
Graylog Monitoring is not configured
Finished executing configuration file /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-utensil.sh!

RestComm automatic configuration finished!

Media Server automatic configuration started:
Configuring MGCP Controller [Address=127.0.0.1, Port=2427, Expected Load=50]
Configuring DTLS [Min Version=1.0, Max Version=1.2, Certificate=conf/dtls/x509-server-ecdsa.pem, Key=conf/dtls/x509-server-key-ecdsa.pem, Algorithm=ecdsa, Cipher Suite=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA]
Configuring JAVA_OPTS [-Xms2048m -Xmx2048m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=8 -XX:G1RSetUpdatingPauseTimePercent=10 -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=4m -XX:G1HeapWastePercent=5 -XX:InitiatingHeapOccupancyPercent=85 -XX:+UnlockExperimentalVMOptions -XX:G1MixedGCLiveThresholdPercent=85 -XX:+AlwaysPreTouch -XX:+UseCompressedOops -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dhttp.keepAlive=false -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../../mediaserver_dumpfile-Apr_17_2017_17_53_11.bin]
Setting LOG_APPENDER_CONSOLE to INFO
Setting LOG_APPENDER_FILE to INFO
Setting LOG_CATEGORY org.mobicents.media.server to INFO
Setting LOG_CATEGORY org.mobicents.media.server.mgcp to INFO
Setting LOG_CATEGORY org.mobicents.media.server.impl.rtcp to INFO
Setting LOG_CATEGORY org.mobicents.media.server.impl.rtp to INFO
Setting LOG FILE PATH to /Users/ghjansen/Documents/workspace/git/RestComm/release/Restcomm-JBoss-AS7-8.2.0.1211/mediaserver/log/server.log
Configuring MGCP Media [Timeout=0, Lowest Port=64534, Highest Port=65534, Jitter Size=50]
Configuring Media Codecs [pcmu,pcma,telephone-event]
Configuring Network [BindAddress=127.0.0.1, ExternalAddress=, Network=127.0.0.0, Subnet=255.0.0.0, Use SBC=true]
Configuring Resource Pools [Local Connections=100, Remote Connections=50, Players=50, Recorders=50, DTMF Detectors=50, DTMF Generators=50]
Configuring Audio Cache [Enabled=false, Size=100]
Configuring DTMF Detector [Dbi=-30]
Configuring SSL [Enabled=false, KeyStore=restcomm.jks, Password=changeme]
Media Server automatic configuration finished!
Starting RestComm Media Server...
no server running on /private/tmp/tmux-503/default
...RestComm Media Server started running on session named "mediaserver"!
TelScale RestComm started running on standalone mode. Terminal session: restcomm.
Using IP Address: 127.0.0.1
restcomm ghjansen$ xmlstarlet --version
1.6.1
compiled against libxml2 2.9.0, linked with 20900
compiled against libxslt 1.1.28, linked with 10128
restcomm ghjansen$ uname -a
Darwin host.local 14.5.0 Darwin Kernel Version 14.5.0: Mon Aug 29 21:14:16 PDT 2016; root:xnu-2782.50.6~1/RELEASE_X86_64 x86_64

Ubuntu

restcomm$ ./start-restcomm.sh 
BASEDIR: /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm
RESTCOMM_HOME: /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211

RestComm automatic configuration started:
Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-dialogic-xms.sh...
Configuring Dialogic XMS...MS_MODE: rms
...activated Dialogic XMS...
...finished configuring Dialogic XMS!
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-dialogic-xms.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-jboss-as.sh...
Configuring JBoss AS...
...disabled JBoss splash screen...
Finished configuring JBoss AS!
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-jboss-as.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-load-balancer.sh...
LB was not configured earlier
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-load-balancer.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-logs.sh...
Update AKKA log level to INFO
Configuring log level for: SIPSERVLET -> INFO

Logger exist
Configuring log level for: SIPRESTCOMM -> INFO

Need to add logger org.mobicents.servlet.sip.restcomm
Configuring log level for: RESTCOMM -> INFO

Need to add logger org.restcomm.connect
Configuring log level for: GOVNIST -> INFO

Logger exist
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-logs.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-mysql.sh...
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-mysql.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-olympus.sh...
Configuring Olympus...
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-olympus.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-restcomm.sh...
Configuring RestComm...
RestComm java options with: -Xms1048m -Xmx4096m -XX:MaxPermSize=512m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=8 -XX:G1RSetUpdatingPauseTimePercent=10 -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=4m -XX:G1HeapWastePercent=5 -XX:InitiatingHeapOccupancyPercent=85 -XX:+UnlockExperimentalVMOptions -XX:G1MixedGCLiveThresholdPercent=85 -XX:+AlwaysPreTouch -XX:+UseCompressedOops -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.server.bootstrap.maxThreads=1 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../../restcomm_dumpfile-Apr_17_2017_18_02_59.bin
Updated mobicents-dar properties
Updated RestComm configuration
Configured Fax Service credentials
Configured Sms Aggregator using OUTBOUND PROXY 
Please set KEY for VoiceRSS TTS
Disabled TeleStax Proxy
Configured Media Server Manager
Configured SMPP Account Details
Configured RestCommURIs
Configured Recordings path
Configured HTTP ports
Configure outbound-proxy
HTTP_RESPONSE_TIMEOUT 6000
CACHE_NO_WAV false
End Rest RestComm configuration
Configure RVD
Configured RestComm!
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-restcomm.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-rvd-logging.sh...
Configuring RVD logging
adding RVD handler
adding RVD local logger - INFO/RVD handler
adding RVD global logger - INFO/RVD handler
/home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/standalone/configuration/standalone-sip.xml updated
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-rvd-logging.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-SecureSSL.sh...
RestComm SSL Configuring ...
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-SecureSSL.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-sip-connectors.sh...
Configuring Application Server...
Additional Bindings not Created earlier
Additional Connectors not Created earlier
Configured SIP Connectors and Bindings
Configured gather-statistics
Finished configuring Application Server!
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-sip-connectors.sh!

Executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-utensil.sh...
one or more variables are undefined
Not possible to continue with SMTP configuration
Graylog Monitoring is not configured
Finished executing configuration file /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/bin/restcomm/autoconfig.d/config-utensil.sh!

RestComm automatic configuration finished!

Media Server automatic configuration started:
Configuring MGCP Controller [Address=127.0.0.1, Port=2427, Expected Load=50]
Configuring DTLS [Min Version=1.0, Max Version=1.2, Certificate=conf/dtls/x509-server-ecdsa.pem, Key=conf/dtls/x509-server-key-ecdsa.pem, Algorithm=ecdsa, Cipher Suite=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA]
Configuring JAVA_OPTS [-Xms2048m -Xmx2048m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=8 -XX:G1RSetUpdatingPauseTimePercent=10 -XX:+ParallelRefProcEnabled -XX:G1HeapRegionSize=4m -XX:G1HeapWastePercent=5 -XX:InitiatingHeapOccupancyPercent=85 -XX:+UnlockExperimentalVMOptions -XX:G1MixedGCLiveThresholdPercent=85 -XX:+AlwaysPreTouch -XX:+UseCompressedOops -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dhttp.keepAlive=false -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../../mediaserver_dumpfile-Apr_17_2017_18_03_00.bin]
Setting LOG_APPENDER_CONSOLE to INFO
Setting LOG_APPENDER_FILE to INFO
Setting LOG_CATEGORY org.mobicents.media.server to INFO
Setting LOG_CATEGORY org.mobicents.media.server.mgcp to INFO
Setting LOG_CATEGORY org.mobicents.media.server.impl.rtcp to INFO
Setting LOG_CATEGORY org.mobicents.media.server.impl.rtp to INFO
Setting LOG FILE PATH to /home/parallels/restcomm/Restcomm-JBoss-AS7-8.2.0.1211/mediaserver/log/server.log
Configuring MGCP Media [Timeout=0, Lowest Port=64534, Highest Port=65534, Jitter Size=50]
Configuring Media Codecs [pcmu,pcma,telephone-event]
Configuring Network [BindAddress=127.0.0.1, ExternalAddress=, Network=127.0.0.0, Subnet=255.0.0.0, Use SBC=true]
Configuring Resource Pools [Local Connections=100, Remote Connections=50, Players=50, Recorders=50, DTMF Detectors=50, DTMF Generators=50]
Configuring Audio Cache [Enabled=false, Size=100]
Configuring DTMF Detector [Dbi=-30]
Configuring SSL [Enabled=false, KeyStore=restcomm.jks, Password=changeme]
Media Server automatic configuration finished!
Starting RestComm Media Server...
failed to connect to server
...RestComm Media Server started running on session named "mediaserver"!
TelScale RestComm started running on standalone mode. Terminal session: restcomm.
Using IP Address: 127.0.0.1
restcomm$ xmlstarlet --version
1.5.0
compiled against libxml2 2.9.1, linked with 20901
compiled against libxslt 1.1.28, linked with 10128
restcomm$ uname -a
Linux ubuntu 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

So it seems to me that:

Please, let me know thoughts. :)