Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Getting 503 when starting automatically via systemd


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
bote_radio at botecomm...
Guest





PostPosted: Thu Feb 25, 2016 1:27 pm    Post subject: [Freeswitch-users] Getting 503 when starting automatically v Reply with quote

A 503 error, huh? Weird. Check for permissions problems.

My guess is that you are building as "root" so when you first ran it
manually all the databases and log files were created with root as owner.
But when it boots systemd is starting it as root and then dropping
privileges to the freeswitch user as it should. After dropping privileges it
can't access its config files or open ports necessary to function.

Again, this is just my S.W.A.G. but it has happened enough times in the past
that it's a pretty good guess. If it bears out you might want to check the
instructions on this deprecated page:
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr
eeSWITCH1.6Video-StartingFreeSWITCH

Also, once you achieve success there are MANY other RPi users out there who
would love to see your recipe for success.
https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi

Hope this helps.

Bote


Quote:
-----Original Message-----
From: freeswitch.opencode@spamgourmet.com
Sent: Thursday, 25 February, 2016 02:36
Subject: [Freeswitch-users] Getting 503 when starting automatically via
systemd
Quote:

I'm using Arch Linux (specifically Arch Linux ARM on a Raspberry Pi Zero).
I'm
Quote:
successfully done a make and install for freeswitch 1.6.6 and when I run
it
Quote:
manually (freeswitch -nonat), it works fine. Also, when I start it
manually via
Quote:
systemd (systemctl start freeswitch), it still works fine.

However, when I enable freeswitch.service to start automatically and
reboot, the freeswitch log shows 503 errors trying to register out to my
gateway, and my internal client (an Obi200) gets a 503 when trying to
register
Quote:
in to FreeSWITCH as well; this keeps happening repeatedly (waiting 30
seconds and then failing again). However, if I restart the service
(systemctl
Quote:
restart freeswitch), connectivity then starts working.

Would the 503 be what's reported up if there's no network connectivity
either way?

I'm using the Debian systemd *freeswitch.service file (with very minor
tweaks for my configuration on Arch Linux). Has anyone encountered this
problem before (on Debian, Arch Linux, or elsewhere)? The overall .service
file is very similar to sshd.service, which doesn't have connection
problems,
Quote:
so my guess is there's something specific to FreeSWITCH going on. If this
is
Quote:
Arch Linux-specific and I ask in their forums, is there anything different
about
Quote:
how FreeSWITCH handles connectivity (perhaps caching some kind of
handle) that would help point things in the right direction?

Thanks,

David



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services