By Date: <-- -->
By Thread: <-- -->

sipXpbx startup problem



On Thu, 2006-02-02 at 10:32 -0500, Scott Lawrence wrote:
> On Wed, 2006-02-01 at 22:42 -0800, Kamalakanta Palei wrote:
> 
> > The other question is can I start sipxpbx as root.
> > I assume sipxpbx can be executed either from root or from user
> > sipxchange.
> > Please clarify.
> 
> The startup scripts assume that they are run by root.  This is so that
> they can ensure that certain directories are writable before starting
> the components.  I believe (but am not sure) that the only component
> that gets started as root is the media server because it needs to set
> some kernel threading options only root can set - it then switches to
> sipxchange after making those settings.  All other components are run as

IIRC, this is not correct (at least up to r5209).

The media-server is started by the $SIPXPBXUSER but the executable is
suid root because it requires root permissions to run real-time threads.

The sipx startup script must be run by root to start apache ... 

 ... and I don't think it is necessary but I haven't got a round (tuit)
changing this yet ... soon.

> sipxchange by the startup script.
> 
> So run the startup script as root.
> 

-- 
--gh


_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev