[asterisk-bugs] [Asterisk-GUI 0016883]: Asterisk GUI 404
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 23 01:52:49 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16883
======================================================================
Reported By: s2krish
Assigned To:
======================================================================
Project: Asterisk-GUI
Issue ID: 16883
Category: General
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
Asterisk GUI Version: 2.0.2
Asterisk Version: 1.6.2.2
JIRA:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2010-02-23 00:09 CST
Last Modified: 2010-02-23 01:52 CST
======================================================================
Summary: Asterisk GUI 404
Description:
hay mate, i Install Asterisk GUI 2.0. I check with $make checkconfig. Got
following output:
--- Checking Asterisk configuration to see if it will support the GUI
---
* Checking for http.conf: OK
* Checking for manager.conf: OK
* Checking if HTTP is enabled: OK
* Checking if HTTP static support is enabled: OK
* Checking if manager is enabled: OK
* Checking if manager over HTTP is enabled: OK
--- Everything looks good ---
* GUI should be available at
http://ioaserver:8088/asterisk/static/config/index.html
* Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf
you will only be able to visit it from the local machine.
Example: http://localhost:8088/asterisk/static/config/index.html
* The login and password should be an entry from
/etc/asterisk/manager.conf
which has 'config' permission in read and write. For example:
[admin]
secret = mysecret2820
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config
--- Good luck! ---
In httpd.conf, I have:
[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
enablestatic=yes
In manager.conf, I have:
enabled = yes
webenabled = yes
port = 5038
bindaddr = 0.0.0.0
[astercc]
secret = astercc
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
deny=0.0.0.0/0.0.0.0
permit=192.168.1.253/255.255.255.0
But, when I tried to access it
http://ioaserver:8088/asterisk/static/config/index.html or
http://<ip>:8088/asterisk/static/config/index.html
It doesn't work. I get 404 error.
======================================================================
----------------------------------------------------------------------
(0118388) s2krish (reporter) - 2010-02-23 01:52
https://issues.asterisk.org/view.php?id=16883#c118388
----------------------------------------------------------------------
I couldn't read flash screen, it disapear soon. I have following log from
CLI. It looks it checking permission:
-- Executing [executecommand at asterisk_guitools:2]
Hangup("Local/executecommand at asterisk_guitools-21ba;2", "") in new stack
== Spawn extension (asterisk_guitools, executecommand, 2) exited
non-zero on 'Local/executecommand at asterisk_guitools-21ba;2'
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/http.conf': == Found
== Parsing '/etc/asterisk/http.conf': == Found
== Saving '/etc/asterisk/http.conf': == Saved
== Parsing '/etc/asterisk/http.conf': == Found
== Parsing '/etc/asterisk/http.conf': == Found
== Saving '/etc/asterisk/http.conf': == Saved
== Parsing '/etc/asterisk/manager.conf': == Found
== Parsing '/etc/asterisk/extensions.conf': == Found
-- Executing [executecommand at asterisk_guitools:1]
System("Local/executecommand at asterisk_guitools-fdcd;2", "sh
/var/lib/asterisk/scripts/detectdahdi.sh") in new stack
/var/lib/asterisk/scripts/detectdahdi.sh: 7: cannot create
/etc/asterisk/dahdi_guiread.conf: Permission denied
/var/lib/asterisk/scripts/detectdahdi.sh: 8: cannot create
/etc/asterisk/dahdi_guiread.conf: Permission denied
/var/lib/asterisk/scripts/detectdahdi.sh: 9: cannot create
/etc/asterisk/dahdi_guiread.conf: Permission denied
None
-- Executing [executecommand at asterisk_guitools:1]
System("Local/executecommand at asterisk_guitools-66c3;2", "dahdi_genconf") in
new stack
-- Executing [executecommand at asterisk_guitools:2]
Hangup("Local/executecommand at asterisk_guitools-fdcd;2", "") in new stack
== Spawn extension (asterisk_guitools, executecommand, 2) exited
non-zero on 'Local/executecommand at asterisk_guitools-fdcd;2'
Empty configuration -- no spans
Failed to backup old config: Permission denied
-- Executing [executecommand at asterisk_guitools:2]
Hangup("Local/executecommand at asterisk_guitools-66c3;2", "") in new stack
== Spawn extension (asterisk_guitools, executecommand, 2) exited
non-zero on 'Local/executecommand at asterisk_guitools-66c3;2'
I set /etc/asterisk 777, Now it says:
Checking write permission for gui folder
Issue History
Date Modified Username Field Change
======================================================================
2010-02-23 01:52 s2krish Note Added: 0118388
======================================================================
More information about the asterisk-bugs
mailing list