[asterisk-bugs] [Asterisk-GUI 0016547]: Problem Accessing to the GUI

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 7 15:32:42 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16547 
====================================================================== 
Reported By:                alex70
Assigned To:                
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   16547
Category:                   General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk GUI Version:       SVN 
Asterisk Version:           1.6.2.0 
JIRA:                        
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 237328 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-05 12:57 CST
Last Modified:              2010-01-07 15:32 CST
====================================================================== 
Summary:                    Problem Accessing to the GUI
Description: 
Asterisk/SVN-branch-1.6.2-r237328
Asterisk GUI-version : SVN-branch-2.0-r4991

After imput user and password the process panel get stack showing
"Checking write permission for gui folder"

After 5 to 10 minutes the panel update with "detecting Hardware"
After 5 to 10 minutes again the panel update showing gui correctly


Enabling the DEBUG the following popup window shows only once:

ErrorCode / LineNumber : 237
 Error : manager_conf[tmp_managerUser] is undefined
 Location:
http://localhost.localdomain:8088/asterisk/static/config/js/index.js




Debug Screen:
# 19:45:17 AJAX Request : reading 'http.conf'
# 19:45:17 AJAX Request : reading 'http.conf'
# 19:45:17 AJAX Request : '{action : updateconfig ,srcfilename : http.conf
,dstfilename : http.conf ,Action-000000 : newcat ,Cat-000000 : test_83170
,Var-000000 : ,Value-000000 : ,Action-000001 : append ,Cat-000001 :
test_83170 ,Var-000001 : writeaccess ,Value-000001 : yes}'
# 19:45:17 AJAX Request : reading 'http.conf'
# 19:45:17 Got PONG , session is active
# 19:45:17 permission denied for reading file asterisk.conf
# 19:45:17 AJAX Request : reading 'asterisk.conf'
# 19:45:17 Login Success result: response: success message: authentication
accepted
# 19:45:17 AJAX Request : '{action : login ,username : xxxxxx ,secret :
xxxxxx}'

Also by navigate "Voice Menu" I get a popup window:
ErrorCode / LineNumber : 168
 Error : getsysinfohtml is not defined
 Location:
http://localhost.localdomain:8088/asterisk/static/config/sysinfo.html


Please note asterisk.conf file has 777 permission 
====================================================================== 

---------------------------------------------------------------------- 
 (0116279) alex70 (reporter) - 2010-01-07 15:32
 https://issues.asterisk.org/view.php?id=16547#c116279 
---------------------------------------------------------------------- 
thanks for your quick reply. 
Just to be sure that any defective permission to asterisk.conf file could
effect the gui, today I have recreate the file as follow:
mv asterisk.conf asterisk.conf1
touch asterisk.conf
chmod 777 asterisk.conf
with the editor I have copied the content from the old file to the new
one

Anyway the problem with the gui persist.

For your reference here is the output requested:

#  ls -al /etc/asterisk 
totale 824                                    
drwxr-xr-x.   2 root root  4096  7 gen 22:33 .
drwxr-xr-x. 127 root root 12288  7 gen 12:39 ..
-rwxrwxrwx.   1 root root   140  6 lug  2009 adsi.conf
-rwxrwxrwx.   1 root root   840  6 lug  2009 adtranvofr.conf
-rwxrwxrwx.   1 root root  3035  6 lug  2009 agents.conf    
-rwxrwxrwx.   1 root root  2906  6 lug  2009 ais.conf       
-rwxrwxrwx.   1 root root  2227  6 lug  2009 alarmreceiver.conf
-rwxrwxrwx.   1 root root  2675  6 lug  2009 alsa.conf         
-rwxrwxrwx.   1 root root   767  6 lug  2009 amd.conf          
-rwxrwxrwx.   1 root root     0  6 lug  2009 applyzap.conf     
-rwxrwxrwx.   1 root root  3260  6 lug  2009 asterisk.adsi     
-rwxrwxrwx    1 root root  2650  7 gen 22:21 asterisk.conf     
-rwxrwxrwx+   1 root root  2650 22 set 12:28 asterisk.conf1    
-rwxrwxrwx.   1 root root  2621  6 lug  2009 cdr_adaptive_odbc.conf
-rwxrwxrwx.   1 root root  7887  6 lug  2009 cdr.conf              
-rwxrwxrwx.   1 root root   573  6 lug  2009 cdr_custom.conf       
-rwxrwxrwx.   1 root root   418  6 lug  2009 cdr_manager.conf      
-rwxrwxrwx.   1 root root  1889  6 lug  2009 cdr_mysql.conf        
-rwxrwxrwx.   1 root root   221  6 lug  2009 cdr_odbc.conf         
-rwxrwxrwx.   1 root root   204  6 lug  2009 cdr_pgsql.conf        
-rwxrwxrwx.   1 root root   588  6 lug  2009 cdr_sqlite3_custom.conf
-rwxrwxrwx.   1 root root   160  6 lug  2009 cdr_tds.conf           
-rwxrwxrwx.   1 root root 46288  6 lug  2009 chan_dahdi.conf        
-rwxrwxrwx.   1 root root  6400  6 lug  2009 cli_aliases.conf       
-rwxrwxrwx.   1 root root   264  6 lug  2009 cli.conf               
-rwxrwxrwx.   1 root root  2452  6 lug  2009 cli_permissions.conf   
-rwxrwxrwx.   1 root root  1655  6 lug  2009 codecs.conf            
-rwxrwxrwx.   1 root root  3874  6 lug  2009 console.conf           
-rwxrwxrwx    1 root root   461  5 gen 18:49 dahdi-channels.conf    
-rwxrwxrwx.   1 root root   459  7 lug  2009 dahdi-channels.conf.bak
-rwxrwxrwx    1 root root    45  5 gen 19:47 dahdi_guiread.conf     
-rwxrwxrwx.   1 root root   182  5 gen 19:49 dahdi_scan.conf        
-rwxrwxrwx.   1 root root  1099  6 lug  2009 dbsep.conf             
-rwxrwxrwx.   1 root root   190  6 lug  2009 dnsmgr.conf            
-rwxrwxrwx.   1 root root   221  6 lug  2009 dsp.conf               
-rwxrwxrwx.   1 root root  8759  6 lug  2009 dundi.conf             
-rwxrwxrwx.   1 root root   592  6 lug  2009 enum.conf              
-rwxrwxrwx.   1 root root  2468  6 lug  2009 extconfig.conf         
-rwxrwxrwx.   1 root root 12243  6 lug  2009 extensions.ael         
-rwxrwxrwx.   1 root root 33518  5 gen 19:03 extensions.conf        
-rwxrwxrwx    1 root root 33517  5 gen 19:03 extensions.conf~       
-rwxrwxrwx.   1 root root  5408  6 lug  2009 extensions.lua         
-rwxrwxrwx.   1 root root  7481  6 lug  2009 extensions_minivm.conf 
-rwxrwxrwx.   1 root root  8171 19 ago 18:00 features.conf          
-rwxrwxrwx.   1 root root   929  6 lug  2009 festival.conf          
-rwxrwxrwx.   1 root root  3971  1 ago 10:46 followme.conf          
-rwxrwxrwx.   1 root root  3971  1 ago 10:42 followme.conf~         
-rwxrwxrwx.   1 root root  5025  6 lug  2009 func_odbc.conf         
-rwxrwxrwx.   1 root root   519  6 lug  2009 gtalk.conf             
-rwxrwxrwx.   1 root root   500  2 nov 04:21 guipreferences.conf    
-rwxrwxrwx.   1 root root  8073  6 lug  2009 h323.conf              
-rwxrwxrwx.   1 root root  1401  7 gen 22:23 http.conf              
-rwxrwxrwx.   1 root root 18231  6 lug  2009 iax.conf               
-rwxrwxrwx.   1 root root  2393  6 lug  2009 iaxprov.conf           
-rwxrwxrwx.   1 root root 25039  7 lug  2009 indications.conf       
-rwxrwxrwx.   1 root root   981  6 lug  2009 jabber.conf            
-rwxrwxrwx.   1 root root   519  6 lug  2009 jingle.conf            
-rwxrwxrwx.   1 root root  3364  6 lug  2009 logger.conf            
-rwxrwxrwx.   1 root root  4040  6 lug  2009 manager.conf           
-rwxrwxrwx.   1 root root  1342 19 ago 18:14 meetme.conf
-rwxrwxrwx.   1 root root  4413  6 lug  2009 mgcp.conf
-rwxrwxrwx.   1 root root  9964  6 lug  2009 minivm.conf
-rwxrwxrwx.   1 root root 11646  6 lug  2009 misdn.conf
-rwxrwxrwx.   1 root root     0  6 lug  2009 misdninit_guiRead.conf
-rwxrwxrwx.   1 root root  2181  6 lug  2009 mobile.conf
-rwxrwxrwx.   1 root root  1126 24 lug 10:36 modules.conf
-rwxrwxrwx.   1 root root  2723  7 lug  2009 musiconhold.conf
-rwxrwxrwx.   1 root root  1285  6 lug  2009 muted.conf
-rwxrwxrwx.   1 root root   422  6 lug  2009 mysql.conf
-rwxrwxrwx.   1 root root  4889  6 lug  2009 ooh323.conf
-rwxrwxrwx.   1 root root  3154  6 lug  2009 osp.conf
-rwxrwxrwx.   1 root root  6856  6 lug  2009 oss.conf
-rwxrwxrwx.   1 root root  1579  6 lug  2009 phone.conf
-rwxrwxrwx.   1 root root  7002  6 lug  2009 phoneprov.conf
-rwxrwxrwx.   1 root root  1451  6 lug  2009 queuerules.conf
-rwxrwxrwx.   1 root root 22504  6 lug  2009 queues.conf
-rwxrwxrwx.   1 root root   378  6 lug  2009 res_config_sqlite.conf
-rwxrwxrwx.   1 root root     3  9 lug 11:21 res_fax.conf
-rwxrwxrwx.   1 root root  4648  6 lug  2009 res_ldap.conf
-rwxrwxrwx.   1 root root  1863  6 lug  2009 res_mysql.conf
-rwxrwxrwx.   1 root root  2155  6 lug  2009 res_odbc.conf
-rwxrwxrwx.   1 root root   711  6 lug  2009 res_pgsql.conf
-rwxrwxrwx.   1 root root   774  6 lug  2009 res_snmp.conf
-rwxrwxrwx.   1 root root  7664  6 lug  2009 rpt.conf
-rwxrwxrwx.   1 root root   664 23 set 17:39 rtp.conf
-rwxrwxrwx    1 root root   664 22 set 19:32 rtp.conf~
-rwxrwxrwx.   1 root root  8117  6 lug  2009 say.conf
-rwxrwxrwx.   1 root root 59362 16 nov 22:51 sip.conf
-rwxrwxrwx.   1 root root 59363 19 ago 18:31 sip.conf~
-rwxrwxrwx.   1 root root   675  6 lug  2009 sip_notify.conf
-rwxrwxrwx.   1 root root  8678  6 lug  2009 skinny.conf
-rwxrwxrwx.   1 root root  6717  6 lug  2009 sla.conf
-rwxrwxrwx.   1 root root  2669  6 lug  2009 smdi.conf
-rwxrwxrwx.   1 root root  1384  6 lug  2009 telcordia-1.adsi
-rwxrwxrwx.   1 root root   598  6 lug  2009 udptl_old.conf
-rwxrwxrwx.   1 root root  4909  6 lug  2009 unistim.conf
-rwxrwxrwx.   1 root root  2632  6 lug  2009 usbradio.conf
-rwxrwxrwx.   1 root root  8331 11 nov 10:34 users.conf
-rwxrwxrwx    1 root root  8361 11 nov 10:34 users.conf~
-rwxrwxrwx.   1 root root 18187  7 lug  2009 voicemail.conf
-rwxrwxrwx.   1 root root  5939  6 lug  2009 vpb.conf 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-07 15:32 alex70         Note Added: 0116279                          
======================================================================




More information about the asterisk-bugs mailing list