[asterisk-gui] "Checking write permission for gui folder"
Adam Stradtner
adam.stradtner at gmail.com
Fri Dec 26 10:01:22 CST 2008
Asterisk is running as root, so it has write access everywhere. The
extensions.conf file has the asterisk_guitools context, with the
executecommand extension. My manager.conf file has a user, and that
user has read and write access to all of the options.
It is still stuck at the "Checking write permission for gui folder"
I think this may be related to running Asterisk on OpenVZ. Is there a
kernel module that is needed? I am trying to use Asterisk 1.6.
On Wed, Dec 24, 2008 at 3:01 PM, David Kerr <David at kerr.net> wrote:
> The Asterisk GUI is trying to establish that it has write permissions to its
> home directory (usually /var/lib/asterisk/static-http/config) It does this
> by attempting to execute a "echo" command that writes a random number into
> sysinfo_output.html which the GUI then attempts to read. If the echo command
> fails to write to the file, then the GUI assumes that it does not have write
> permission and displays the message you are seeing.
> So, first thing to do is see whether you can write to that directory, logon
> and cd to it, and check.
> Also, the GUI uses the Asterisk Management Interface to request the echo
> command is run. Check that it is setup correctly (manager.conf) with a
> userid and password that the GUI can use (can't remember off the top of my
> head exactly what this should look like). And that extensions.conf has the
> "asterisk_guitools" context in it (with an "executecommand" extension)
> Good luck,
> David
>
> On Wed, Dec 24, 2008 at 1:47 PM, Adam Stradtner <adam.stradtner at valpo.edu>
> wrote:
>>
>> I have found some further information on this:
>>
>> The previous line in Firebug is:
>>
>>
>> http://172.31.169.9/asterisk/rawman?action=originate&Channel=Local%2Fexecutecommand%40asterisk_guitools&Variable=command%3Decho%2072662%20%3E%20%2Fvar%2Flib%2Fasterisk%2Fstatic-http%2Fconfig%2Fsysinfo_output2463.html&application=noop&timeout=60000
>>
>> and the response from that is :
>>
>> Response: Error
>>
>> Message: Channel not specified
>>
>> I'm not sure where to go from here. I am using asterisk 1.6.0.3-rc1.
>>
>> Adam
>>
>>
>>
>> On Wed, Dec 24, 2008 at 11:57 AM, Adam Stradtner
>> <adam.stradtner at valpo.edu> wrote:
>> >
>> > Hi, This is my first post, and this problem really has me stumped.
>> >
>> > I have installed the SVN version 4390, and when I try to login, the
>> > script gets stuck at the "Checking write permission for gui folder".
>> >
>> > I have looked at it through firebig, and it looks like the problem is
>> > that it is looking for a file called sysinfo_output1487.html, which doesn't
>> > exist
>> >
>> >
>> >
>> > 14ms jquery.js (line 2825)
>> > GET
>> > http://172.31.169.9/asterisk/static/config/sysinfo_output1487.html?r=7881
>> >
>> > http://172.31.169.9/asterisk/static/config/sysinfo_output1487.html?r=7881
>> > 404
>> > I'm not sure if it's related, but the tar.gz version of 2.0.4 gui always
>> > showed "Not Found" under the Uptime section.
>> >
>> > Any idea what to do about this?
>> >
>> > Thanks!
>> > Adam
>>
>> _______________________________________________
>> --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