systemctl restart webcallserver hangs b/c of chown process

Dani

Member
When I restart webcallserver it will not get restarted.
looks like there is a chown process running by the flashphoner user on the log folder, that doesn't end.
the only solution I've found is to kill the chown process and then webcallserver starts.
is there a way to prevent it ?
 

Max

Administrator
Staff member
Good day.
is there a way to prevent it ?
Please stop the server and clean excessive logs, then start it again
Code:
sudo systemctl stop webcallserver
sudo rm -rf /usr/local/FlashphonerWebCallServer/logs/*
sudo systemctl start webcallserver
Also, please clarify what WCS build do you use? Since build 5.2.976 WCS startup script does not set permissions before starting the server, but has a separate operation for it
Code:
sudo /usr/local/FlashphonerWebCallServer/bin/webcallserver set-permissions
Anyway, this is bad practice to store obsoleted logs for years.
 

SLM

Member
Note:
After using
sudo rm -rf /usr/local/FlashphonerWebCallServer/logs/*
and restarting wcs, the admin console password of WCS gets changed
 

Max

Administrator
Staff member
After using
sudo rm -rf /usr/local/FlashphonerWebCallServer/logs/*
and restarting wcs, the admin console password of WCS gets changed
This behaviour concerns AWS EC2 instances only. In AWS EC2, we recommend to clean the logs keeping folders structure:
Code:
find /usr/local/FlashphonerWebCallServer/logs/ -type f -delete
rm -rf /usr/local/FlashphonerWebCallServer/logs/client_logs/*
 
Top