Hi Chris,

I guess your problem in running opensipsctl from web is about the default PATH and where the opensipsrc file is - try to use in opensipsclt (for locateing the rc file and the rest of the opensipsct lib file) absolute paths.

Regards,
Bogdan

Chris Martineau wrote:

Hi,

Can access all opensipsctl services as root but if I drop to a non root user or try to access this from the web I cannot add a user or issue a db exec command, I just get no database engine loaded. Everything was originally built as root. I notice that opensips-cp doesn’t use any calls to opensipsctl for anything other than fifo commands which still seem to work.

Is there a way round this as it makes life fairly easy to create a simple rest interface to opensipsctl rather than having to grind through all the direct db access and should avoid any blocking issues if all db requests go through opensipsctl.

Many thanks

Chris

------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 28th February 2011
OpenSIPS solutions and "know-how"


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to