[OpenSIPS-Users] [RESOLVED] osipsconfig doesn't generate config file
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Sep 10 19:26:17 CEST 2014
Hello Steve,
Thanks for your email. Couple of questions :
- is your opensips locally compiled or installed from packages ?
- is the osipsconfig and the M4 files from the same OpenSIPS
installation ?
Normally, the osipsconfig should know where the M4 templates are installed.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 09.09.2014 08:30, Steve Stevenson wrote:
> Hello guys,
>
> I have an issue with osipsconfig, pretty much the same as described in the following topic:
>
> Failed to generate script
> http://opensips-open-sip-server.1449251.n2.nabble.com/Failed-to-generate-script-td7589129.html
>
> When I save the config, it creates nothing, no error message on the screen, no file in /etc/opensips either.
> I can only see the following in the curses.out file:
>
> Initialized main window
> Failed to open m4 defs
> Failed to run command for menu [Save Residential Script]
> Failed to open m4 defs
> Failed to run command for menu [Save Residential Script]
> Failed to open m4 defs
> Failed to save m4 defs
> Failed to run command for menu [Generate Residential Script]
> Failed to open m4 defs
> Failed to run command for menu [Save Residential Script]
> Failed to open m4 defs
> Failed to run command for menu [Save Residential Script]
> Failed to open m4 defs
> Failed to save m4 defs
> Failed to run command for menu [Generate Residential Script]
> Failed to open m4 defs
> Failed to save cfg Residential Script
> Failed to open m4 defs
> Failed to save cfg Trunking Script
> Failed to open m4 defs
> Failed to save cfg Load-Balancer Script
>
> Those m4 files are located under directory /usr/share/opensips/menuconfig_templates/
> Just downloaded version 1.10.1-1 from the Fedora 20 repository with MySQL DB and ncurses 5.9-12
>
> Ran strace while saved the config and you can find the output attached.
>
> Anyway, I created the following environment variable to point at the m4 directory:
>
> # export MENUCONFIG_CFG_PATH=/usr/share/opensips/menuconfig_templates/
>
> And when I re-ran the osipsconfig then it created the config file in /etc/opensips/.
> Just thought I raise it as it appears to be some issue with searching for those m4 files in the wrong directory.
>
> Thank you.
>
> Regards,
>
> Steve
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140910/8c8f4291/attachment.htm>
More information about the Users
mailing list