Cannot start webcallcenter service on Fedora 31 64bits

zermok

New Member
Hi,

here is the status after a fresh install and license number
[root@node76 FlashphonerWebCallServer-5.2.683]# systemctl status webcallserver.service
● webcallserver.service - Flashphoner WebCallServer
Loaded: loaded (/etc/systemd/system/webcallserver.service; disabled; vendor preset: disabled)
Active: active (exited) since Wed 2020-07-01 12:48:23 UTC; 2s ago
Process: 13689 ExecStart=/bin/bash webcallserver start (code=exited, status=0/SUCCESS)
Main PID: 13689 (code=exited, status=0/SUCCESS)
CPU: 1.273s

Jul 01 12:48:23 node76 systemd[1]: Started Flashphoner WebCallServer.
Jul 01 12:48:25 node76 systemd-coredump[13800]: Process 13759 (java) of user 0 dumped core.
Jul 01 12:48:25 node76 bash[13689]: FlashphonerWebCallServer: startingwebcallserver: line 101: 13759 Aborted (core dumped) $_EXECJAVA $WCS_JAVA_OPTS -Dcom.flashphoner.fms.AppHome="$WCS_APP_HOME" -Djava.library.path="$WCS_>
Jul 01 12:48:25 node76 bash[13689]: [13B blob data]

Any clue?

Thanks
 

Max

Administrator
Staff member
Hello,

What version of Java is installed? For more information, please try launching WCS in standalone mode: /usr/local/FlashphonerWebCallServer/bin/webcallserver start standalone
 

zermok

New Member
java version
java-1.8.0-openjdk-1:1.8.0.252.b09-0.fc31.x86_64
run in standalone gives
[root@node76 components]# /usr/local/FlashphonerWebCallServer/bin/webcallserver start standalone
FlashphonerWebCallServer: starting
######### Start standalone mode #########

log4j:WARN No appenders could be found for logger (Server).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
14:10:43,873 INFO SettingsLoader - Flashphoner config has been validated success
14:10:43,873 INFO SettingsLoader - Server properties have been loaded:
{codecs=opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,h264,vp8,flv,mpv, media_port_from=31001, codecs_exclude_sip=mpeg4-generic,flv,mpv, wss.port=8443, codecs_exclude_sip_rtmp=opus,g729,g722,mpeg4-generic,vp8,mpv, codecs_exclude_streaming=flv,telephone-event, ip=51.79.78.76, ip_local=51.79.78.76, media_port_to=32000, ws.port=8082}
14:10:43,895 INFO SettingsLoader - Override setting codecs: from null to opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,h264,vp8,flv,mpv
14:10:43,895 INFO SettingsLoader - Override setting media_port_from: from 31001 to 31001
14:10:43,907 INFO SettingsLoader - Override setting codecs_exclude_sip: from null to mpeg4-generic,flv,mpv
14:10:43,907 INFO SettingsLoader - Override setting wss.port: from 8443 to 8443
14:10:43,907 INFO SettingsLoader - Override setting codecs_exclude_sip_rtmp: from null to opus,g729,g722,mpeg4-generic,vp8,mpv
14:10:43,907 INFO SettingsLoader - Override setting codecs_exclude_streaming: from null to flv,telephone-event
14:10:43,908 INFO SettingsLoader - Override setting ip: from 0.0.0.0 to 51.79.78.76
14:10:43,908 INFO SettingsLoader - Override setting ip_local: from 0.0.0.0 to 51.79.78.76
14:10:43,908 INFO SettingsLoader - Override setting media_port_to: from 32000 to 32000
14:10:43,908 INFO SettingsLoader - Override setting ws.port: from 8080 to 8082
14:10:43,908 INFO Server - PID file: /var/run/FlashphonerMainWebCallServer.pid
14:10:43,908 INFO Server - Starting server...
14:10:43,914 INFO Server - Init Native
Init new encoder with id fa37JncCHr
[14:10:43][0][INFO] codec VP8 mpi 1 width 640 height 480 profile 0 level 0 qmin 4 qmax 24 trellis 0 gop_size 0 bitrate 921600 crf 30 preset ultrafast rc_buffer_size 2
[vp8_v4l2m2m @ 0x14d9088f74c0] Could not find a valid device
[vp8_v4l2m2m @ 0x14d9088f74c0] can't configure encoder
[14:10:43][22922383879488][ERROR] Failed to open encoder codec , error:
terminate called after throwing an instance of 'EncoderException'
what(): Can not open encoder
/usr/local/FlashphonerWebCallServer/bin/webcallserver: line 101: 1964 Aborted (core dumped) $_EXECJAVA $WCS_JAVA_OPTS -Dcom.flashphoner.fms.AppHome="$WCS_APP_HOME" -Djava.library.path="$WCS_APP_HOME/lib/so:$WCS_APP_HOME/lib" -DWCS_NON_ROOT="$WCS_NON_ROOT" $WCS_SERVER_OPTS -cp "$WCS_APP_HOME/lib/*" com.flashphoner.server.Server
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
error: list of process IDs must follow -p

Usage:
ps [options]

Try 'ps --help <simple|list|output|threads|misc|all>'
or 'ps --help <s|l|o|t|m|a>'
for additional help text.

For more details see ps(1).
/usr/local/FlashphonerWebCallServer/bin/webcallserver: line 142: [: =: unary operator expected

thanks
 

Max

Administrator
Staff member
Please check if error***.log file is created in /usr/local/FlashphonerWebCallServer/logs folder. If yes, please attach it.
Also please check glibc version, it should be 2.14 or later.
We have not tested WCS on Fedora yet, raised the ticket WCS-2788 to check this.
As workaround, please use Centos 7.6 or Ubuntu 18.04 and later.
 

zermok

New Member
here are the logs
no way to change Linux distrib, Working on Fedora since 20 years now and won't waste time and money
to change an entire OS for just one software
 

Attachments

Max

Administrator
Staff member
We tested latest WCS build on Fedora 31 Server (installation image was downloaded from official site) with JDK 1.8.0_252. It works:
1593660987693.png

1593661031859.png

H264 to VP8 and vice versa transcoding also seems to be working.
So please try WCS clean install on Fedora 31 Server clean install. If problem persists, please provide us sudo SSH access to the server using this link, we will check your instance.
 
Top