Can't login after install

Questions and discussion of the AsteriskGUI interface/framework on AsteriskNOW.

Can't login after install

Postby Kiken » Fri Jun 08, 2012 9:57 am

So, i've downloaded the last version of asterisk... i'm not sure but it seems that it does nos come with AsteriskGUI by default (Version 2.0.2) so i've installed it like this:

Code: Select all
Install Asterisk GUI

cd /usr/src
svn co http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui
cd asterisk-gui
sh configure && make && make install

nano /etc/asterisk/http.conf
Add the following information

[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
prefix=gui
enablestatic=yes

(ctl-x,y,ENTER)

nano /etc/asterisk/manager.conf
Add the following information. You can substitute [admin] and secret= to whatever username/password you want for logging into the Asterisk GUI

[general]
enabled=yes
webenabled=yes
port=5038
bindaddr=0.0.0.0
[admin]
secret=password
read=system,call,log,verbose,command,agent,user,config,originate,read,write
write=system,call,log,verbose,command,agent,user,config,originate,read,write

(ctl-x,y,ENTER)

make checkconfig
look for any errors

asterisk -r
>restart now


Now, when i go to http://100.0.1.160:8088/gui/static/config/index.html and put up mi user (admin) pass (admin) that is on manager.conf it says "Invalid Username or Password"...

Also my FreePBX has stoped working, i can log in but in all the modules it says "XXXXX is disabled because asterisk is not running" and in the main page on the server status section asterisk is on red with ERROR message.

I hope u can help me with this, thanks in advance.
Kiken
Newsterisk
 
Posts: 2
Joined: Fri Jun 08, 2012 9:52 am

Re: Can't login after install

Postby Kiken » Fri Jun 08, 2012 10:53 am

Update: I've managed to make the login work but now is stucked on a loop that says "Updating Extensions.conf"
Kiken
Newsterisk
 
Posts: 2
Joined: Fri Jun 08, 2012 9:52 am

Re: Can't login after install

Postby smeely » Wed Jun 13, 2012 12:29 am

Try rebooting Asterisk.

I have a different problem. After using it for a while, it suddenly stopped letting me login. When i do try logging in as admin(which i haven't done be4) it gives this
Asterisk-K200.jpg
Asterisk-K200.jpg (93.51 KiB) Viewed 2030 times

and then shuts down. When I login as my user the GUI says it doesn't have permissions.

Any Help?
smeely
Newsterisk
 
Posts: 3
Joined: Tue Sep 27, 2011 6:47 am

Re: Can't login after install

Postby david55 » Wed Jun 13, 2012 12:54 am

Looks like someone has used the wrong comment marker character in dahdi/system.conf.

Bus error is strange, but it sounds like a crash, in which case you need to google "asterisk wiki backtrace" and raise a bug report (assuming you are able to build or otherwise install a debuggable version of Asterisk).

The initial presumption is that it is secondary error resulting from the malformed system.conf file.
david55
Moves Like Spencer
 
Posts: 7710
Joined: Fri Sep 26, 2008 5:03 am


Return to AsteriskNOW - AsteriskGUI

Who is online

Users browsing this forum: No registered users and 3 guests