SOLVED Freeswitch Failed to Start | code=exited, status=203/EXEC

Status
Not open for further replies.

ict2842

Member
Mar 2, 2021
139
11
18
Wichita, KS
Hello All,

A few days ago, I installed Ubuntu 20.x. I had an error (the same listed below) so I reinstalled the OS as 18.04.5 and reran the installation commands from the GitHub repo. I am not finding anything regarding this. I know 20.x isn't supported so I though lowered it would resolve it. See the error below.

Code:
rm: cannot remove 'freeswitch': No such file or directory
switch/source-release.sh: 39: switch/source-release.sh: pushd: not found
switch/source-release.sh: 58: switch/source-release.sh: ./configure: not found
switch/source-release.sh: 63: switch/source-release.sh: make: not found
switch/source-release.sh: 67: switch/source-release.sh: make: not found
switch/source-release.sh: 68: switch/source-release.sh: make: not found
switch/source-release.sh: 69: switch/source-release.sh: make: not found
switch/source-release.sh: 70: switch/source-release.sh: make: not found
switch/source-release.sh: 72: switch/source-release.sh: popd: not found
mv: cannot stat '/usr/share/freeswitch/sounds/music/*000': No such file or directory
mv: cannot stat '/etc/freeswitch': No such file or directory
chown: cannot access '/var/lib/freeswitch': No such file or directory
chown: cannot access '/var/log/freeswitch': No such file or directory
chown: cannot access '/var/run/freeswitch': No such file or directory
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package freeswitch-systemd
Created symlink /etc/systemd/system/multi-user.target.wants/freeswitch.service → /lib/systemd/system/freeswitch.service.
Job for freeswitch.service failed because the control process exited with error code.
See "systemctl status freeswitch.service" and "journalctl -xe" for details.
ALTER ROLE
ALTER ROLE
INSERT 0 1

INSERT 0 1
INSERT 0 1

Job for freeswitch.service failed because the control process exited with error code.
See "systemctl status freeswitch.service" and "journalctl -xe" for details.
Code:
# systemctl status freeswitch.service
● freeswitch.service - freeswitch
   Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2021-03-03 18:23:39 UTC; 4min 5s ago
  Process: 16821 ExecStart=/usr/bin/freeswitch -u www-data -g www-data -ncwait $DAEMON_OPTS (code=exited, status=203/EXEC)
  Process: 16815 ExecStartPre=/bin/chown -R www-data:www-data /var/run/freeswitch/ (code=exited, status=0/SUCCESS)
  Process: 16811 ExecStartPre=/bin/mkdir -p /var/run/freeswitch/ (code=exited, status=0/SUCCESS)

Mar 03 18:23:39 pbx-dfw-01 systemd[16821]: freeswitch.service: Failed at step EXEC spawning /usr/bin/freeswitch: No such file or directory
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: freeswitch.service: Control process exited, code=exited status=203
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: freeswitch.service: Failed with result 'exit-code'.
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: Failed to start freeswitch.
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart.
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: freeswitch.service: Scheduled restart job, restart counter is at 5.
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: Stopped freeswitch.
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: freeswitch.service: Start request repeated too quickly.
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: freeswitch.service: Failed with result 'exit-code'.
Mar 03 18:23:39 pbx-dfw-01 systemd[1]: Failed to start freeswitch.

journalctl -xe
Code:
Mar 03 18:23:38 pbx-dfw-01 systemd[1]: Starting freeswitch...
-- Subject: Unit freeswitch.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit freeswitch.service has begun starting up.
Mar 03 18:23:38 pbx-dfw-01 systemd[16762]: freeswitch.service: Failed to execute command: No such file or directory
Mar 03 18:23:38 pbx-dfw-01 systemd[16762]: freeswitch.service: Failed at step EXEC spawning /usr/bin/freeswitch: No such file or directory
-- Subject: Process /usr/bin/freeswitch could not be executed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The process /usr/bin/freeswitch could not be executed and failed.
--
-- The error number returned by this process is 2.
Mar 03 18:23:38 pbx-dfw-01 systemd[1]: freeswitch.service: Control process exited, code=exited status=203
Mar 03 18:23:38 pbx-dfw-01 systemd[1]: freeswitch.service: Failed with result 'exit-code'.
Mar 03 18:23:38 pbx-dfw-01 systemd[1]: Failed to start freeswitch.
-- Subject: Unit freeswitch.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit freeswitch.service has failed.
--
-- The result is RESULT.
 
Status
Not open for further replies.