Error when trying to setup Web Call Server 5

Discussion in 'Web Call Server 5' started by Shaun, Jan 16, 2017.

  1. Shaun

    Shaun New Member

    Hi I am running into the following error when trying to enter my license key onto the https://<public_dns>:8888 page. I just purchased my server and launched it from AWS...any help will be greatly appreciated

    License activation error
    HardwareId is not valid: License hardwareId: 1318EF65B337A2721A39A222EB597513E9EF0908AD46898E3DB062367FA3D3DC79A344607A26B9A763F160768177600033D27DEBA4A215327FCAE397896EA8BC local: i-03d2efe5bf8d3f485
  2. Max

    Max Administrator Staff Member

    Hello
    Try to update WCS server to the latest version
    1. Stop WCS server and make sure it is stopped
    Code:
    service webcallserver stop
    ps aux | grep java
    2. If server is not stopped (you see running processes in the ps output)
    Code:
    kill -9 PID
    here PID is the process ID
    3. Update server.
    Download, unzip and run install.sh
    Code:
    wget http://flashphoner.com/download-wcs5-server.tar.gz
    tar -xvzf download-wcs5-server.tar.gz
    cd FlashphonerWebCallServer-5.0.2029
    ./install.sh
    4. Activate your license from command line
    Code:
    cd /usr/local/FlashphonerWebCallServer/bin
    ./activation.sh
    5. Start server.
    Code:
    service webcallserver start
    So you can upgrade your AWS installation to the latest available version.
    If you can't activate the license, try to deactivate it using ./deactivation.sh script
  3. Shaun

    Shaun New Member


    Hi Mark, Thank you for your response. At point 4 of license activation - I got the following error:

    Code:
     p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures} span.Apple-tab-span {white-space:pre}
    Can not perform activation. Unexpected exception. Please contact Flashphoner support.
    
    com.flashphoner.server.license.activation.A.B: Can not save activation code
    
    at com.flashphoner.server.license.Activation.activate(Unknown Source)
    
    at com.flashphoner.server.license.Activation.main(Unknown Source)
    
    Caused by: java.io.FileNotFoundException: /usr/local/FlashphonerWebCallServer/conf/flashphoner.license (Permission denied)
    
    at java.io.FileOutputStream.open(Native Method)
    
    at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    
    at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
    
    at com.flashphoner.server.license.Activation.saveActivationCode(Unknown Source)
    
    ... 2 more 
  4. Max

    Max Administrator Staff Member

    All these actions should be done as sudo user.
    Code:
    sudo -s
  5. Shaun

    Shaun New Member

    Okay I got the license activated. I am trying to access the https://<public dns>:8888 page now to use the GUI interface, but I am getting this error:

    Whitelabel Error Page
    This application has no explicit mapping for /error, so you are seeing this as a fallback.

    Tue Jan 17 08:13:36 UTC 2017
    There was an unexpected error (type=Internal Server Error, status=500).
    Lookup of RMI stub failed; nested exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused (Connection refused)
  6. Max

    Max Administrator Staff Member

    This means WCS server was not started properly.
    If you do
    Code:
    ps aux | grep java
    It will be 1 process (should be 2).
    Please send ssh access details to logs@flashphoner.com
    We will check.
  7. Max

    Max Administrator Staff Member

Share This Page