[asterisk-gui] Recorded Voice menus

bkruse bkruse at digium.com
Wed Jul 23 21:36:04 CDT 2008


However, if the read/write permissions are not in place for
/var/lib/asterisk/static-http, or you are not allowed to execute system
commands and output to /var/lib/asterisk/static-http (with listfiles
for example) then you will have this problem.

-brandon

Pari Nannapaneni wrote:
>> With the GUI, Asterisk is NOT meant to run unless it has root privileges.
>>     
>
> the gui does NOT assume root privileges.
> How ever the gui assumes that the user asterisk runs as has read/write privileges to the 
> config folder (/etc/asterisk) via manager
>
> and also can write to the gui folder (for writing sysinfo_output.html)
>
> -Pari
>
>
> ---------------------------------
> Pari Nannapaneni
> pari at digium.com
> 256-428-6233
> http://google.com/search?q=digium
>
> ----- Original Message -----
> From: "bkruse" <bkruse at digium.com>
> To: "Asterisk GUI project discussion" <asterisk-gui at lists.digium.com>
> Sent: Wednesday, July 23, 2008 6:23:35 PM GMT -06:00 US/Canada Central
> Subject: Re: [asterisk-gui] Recorded Voice menus
>
> With the GUI, Asterisk is NOT meant to run unless it has root privileges.
>
> -bk
>
> Trevor Benson wrote:
>   
>>> -----Original Message-----
>>> From: asterisk-gui-bounces at lists.digium.com [mailto:asterisk-gui-
>>> bounces at lists.digium.com] On Behalf Of Justin Moore
>>> Sent: Thursday, July 17, 2008 1:00 PM
>>> To: Asterisk GUI project discussion
>>> Subject: Re: [asterisk-gui] Recorded Voice menus
>>>
>>> On Thu, Jul 17, 2008 at 3:36 PM, bkruse <bkruse at digium.com> wrote:
>>>     
>>>       
>>>> Heh, That is definitely a bug.
>>>>       
>>>>         
>>> I thought it might be...
>>>     
>>>       
>> There is a script that populates the list of files available.  The last time I ran into this error I installed the GUI from SVN as root, and that leaves a hole bunch of permissions set incorrectly.  Check your /var/lib/asterisk/static-http and /var/lib/asterisk/static-http/config.  Are these directories and files owned by asterisk or root?  Generally I do a recursive chown on /var/lib/asterisk/static-http/ and set owner to asterisk:asterisk.  This should resolve the issues if it's a permissions thing (which this file listing happened every time I did a root install).
>>
>> There were a couple of other things that were quirky when root owned files, the initial setup sometimes failed to go to next screen, and hardware detection was iffy during this process.  Otherwise the GUI seemed sort of faulty in general, once permissions are fixed and a clean setup is performed everything goes back to normal.
>>
>> If you have provisioned trunks or providers I would suggest a remove of asterisk and gui and reinstall with clean configs.  I had a problem when root owned files that it setup a trunk that disappeared from the GUI somehow, but when dialing was a problem you could find 2 definitions for trunks in the config, just one was written broken/incorrectly so it wasn't parsed and shown again.
>>
>> Trevor Benson
>> A1 Networks
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-gui mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-gui
>>   
>>     
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-gui
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-gui
>   




More information about the asterisk-gui mailing list