WCS Core not starting

Discussion in 'Web Call Server 4' started by Howard Fluker, Feb 20, 2015.

  1. Howard Fluker

    Howard Fluker Member

    Hello support team,
    We have installed last WCS version and after start service only WCS Manager seems to be running.
    Code:
    # ps aux | grep WebCallServer
    root      5038  0.0  0.0  10464   924 pts/0    S+   15:10   0:00 grep --color=auto WebCallServer
    root     17728  0.3 12.1 9974892 2002012 ?     Sl   Feb19   4:57 java -Dloader.path=/usr/local/FlashphonerWebCallServer-4.0.1082/lib/tbs-commons.jar,/usr/local/FlashphonerWebCallServer-4.0.1082/lib/wcs_manager-1.0.jar -Dcom.flashphoner.fms.AppHome=/usr/local/FlashphonerWebCallServer -jar /usr/local/FlashphonerWebCallServer-4.0.1082/lib/wcs_manager-1.0.jar  -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseParNewGC -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=50999 -Djava.rmi.server.hostname=localhost -XX:ErrorFile=/usr/local/FlashphonerWebCallServer/logs/error%p.log -Dcom.flashphoner.fms.AppHome=/usr/local/FlashphonerWebCallServer -Djava.library.path=/usr/local/FlashphonerWebCallServer/lib/so:/usr/local/FlashphonerWebCallServer/lib -cp /usr/local/FlashphonerWebCallServer/lib/* com.flashphoner.server.Server
    Also, no Websocket (8080) or RTMFP (1935) ports seems to be open
    Code:
    # netstat -nlp | grep java
    tcp6       0      0 :::9091                 :::*                    LISTEN      17728/java
    tcp6       0      0 :::1099                 :::*                    LISTEN      17728/java
    tcp6       0      0 :::2000                 :::*                    LISTEN      17728/java
    
    Here is our java -version output
    Code:
    java version "1.8.0_31"
    Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
    
    uname -a output
    Code:
    Linux transcoder-webrtc 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    And CPU info from cat /proc/cpuinfo (x16 cores not all output included because 10000 characters limit)
    Code:
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 26
    model name      : Intel Core i7 9xx (Nehalem Class Core i7)
    stepping        : 3
    microcode       : 0x1
    cpu MHz         : 2526.998
    cache size      : 4096 KB
    physical id     : 0
    siblings        : 1
    core id         : 0
    cpu cores       : 1
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 4
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc rep_good nopl pni vmx ssse3 cx16 sse4_1 sse4_2 x2apic popcnt hypervisor lahf_lm vnmi ept
    bogomips        : 5053.99
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management:
    
    Server is running on OpenStack, and internal/external IP's were configured in the flashphoner.properties file.
    What can we do in order to solve the WCS core not running problem?
  2. Max

    Max Administrator Staff Member

    The issue cause is hostname.
    If your hostname 'transcoder-webrtc', this hostname should be resolved to a valid host IP address.
    So to fix it simply add a record to your /etc/hosts config
    Code:
    x.x.x.x transcoder-webrtc
    where x.x.x.x is the host address

Share This Page