Unable to installed flashphoner on my rackbankcloud server

swatisinhamis

New Member
1703573527846.png


as per the document when we run the command unable to install Flashphoner on my ubuntu cloud machine (rack bank cloud service)
 

swatisinhamis

New Member
I have sent you the SSH access. Please review it, and if any changes are required, kindly make them and send it back to me. This will ensure that we don't miss any steps next time.
 

Max

Administrator
Staff member
Seems like WCS archive is not fully downloaded. Please download the latest build here: 5.2.1847
Code:
wget https://flashphoner.com/downloads/builds/WCS/5.2/FlashphonerWebCallServer-5.2.1847.tar.gz
It should be installed correctly
 

neetesh

New Member
after installing JDK
service webcallserver start
run the above command but I am getting error

Job for webcallserver.service failed because the control process exited with error code.
See "systemctl status webcallserver.service" and "journalctl -xeu webcallserver.service" for details.
I am provide below image, you can check.
image_2023_12_27T07_54_01_244Z.png
I have run
 

Max

Administrator
Staff member
Try the following command:
Code:
sudo systemctl restart webcallserver
If the problem persists, check a system journal for details as systemd recommends:
Code:
sudo journalctl -xeu webcallserver.service
 

Max

Administrator
Staff member
Seems like you have to wait before restarting the service:
1703667785931.png

Wait at least 5 minutes then try to restart it again. If server still does not start, check the file /usr/local/FlashphonerWebCallServer/logs/startup.log for errors.
 

neetesh

New Member
In error log
[2023-12-27 07:43:21] INFO updateToJava - /usr/local/FlashphonerWebCallServer/conf/wcs-core.properties is copied to /usr/local/FlashphonerWebCallServer/conf/wcs-core.properties.backup.0
[2023-12-27 07:43:21] INFO updateJavaProperties - Java properties are updated to support Java 11
[2023-12-27 07:43:21] INFO updateJavaProperties - Please review wcs-core.properties for changes
[2023-12-27 07:43:21] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:43:27] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:43:32] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:43:38] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:43:44] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:45:10] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/web
[2023-12-27 07:45:10] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/lib
[2023-12-27 07:45:10] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/client
[2023-12-27 07:45:10] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/tools
[2023-12-27 07:45:11] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/client2
[2023-12-27 07:45:11] INFO setPermissions - Permissions are already set to user flashphoner
[2023-12-27 07:47:04] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:47:10] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:47:15] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:47:21] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:47:26] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
[2023-12-27 07:47:48] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/web
[2023-12-27 07:47:48] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/lib
[2023-12-27 07:47:49] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/client
[2023-12-27 07:47:49] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/tools
[2023-12-27 07:47:49] INFO checkObjectPermissions - Skip excluded folder: /usr/local/FlashphonerWebCallServer/client2
[2023-12-27 07:47:49] INFO setPermissions - Permissions are already set to user flashphoner
 

Max

Administrator
Staff member
1. Try to set permissions

sudo /usr/local/FlashphonerWebCallServer/bin/webcallserver set-permissions

2. If it does not help, try to set launch from root user

sudo /usr/local/FlashphonerWebCallServer/bin/webcallserver set-root-mode enable
 

Max

Administrator
Staff member
Check file
/usr/local/FlashphonerWebCallServer/conf/flashphoner.properties

Make sure
ip = {Public AWS Instance IP}
ip_local = {Private AWS Instance IP}

Try to launch in standalone mode
cd /usr/local/FlashphonerWebCallServer/bin
sudo ./webcallserver start standalone

Copy and past log output
Press CTRL+C to exit from launch

If nothing helps, please send SSH access to your instance using this form.
 

Max

Administrator
Staff member
[2023-12-27 07:43:27] ERROR setIp - Cannot detect IP addresses automatically, please edit flashphoner.properties file to set them manually or run 'webcallserver set-ip' command
Seems like the startup script cannot detect IP addresses automatically. Use the command
Code:
sudo /usr/local/FlashphonerWebCallServer/bin/webcallserver set-ip
and answer the questions the command asks.
 
Top