# Newbie web admin access question

**URL:** <https://community.asterisk.org/t/newbie-web-admin-access-question/20290>\
**Category:** Asterisk Support\
**Created:** [April 11, 2008, 9:34am UTC](https://community.asterisk.org/t/newbie-web-admin-access-question/20290 "2008-04-11T09:34:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![404wanderer](https://avatars.discourse-cdn.com/v4/letter/4/e68b1a/32.png) [@404wanderer](https://community.asterisk.org/u/404wanderer)\
**Post date:** [April 11, 2008, 9:34am UTC](https://community.asterisk.org/t/newbie-web-admin-access-question/20290/1 "2008-04-11T09:34:02Z")

</div>

Hello all,  
sorry I really have tried to sort this out myself but with no success.

I’m running ubuntu -

> [@](#):
>
> Linux mymachine 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

I installed Asterisk from packages using apt -

> [@](#):
>
> root@mymachine:/var/lib/asterisk# dpkg -l |grep asterisk  
> ii asterisk 1:1.4.10~dfsg-1 Open Source Private Branch Exchange (PBX)  
> ii asterisk-app-fax 0.0.20070624-1 Softfax application for Asterisk  
> ii asterisk-config 1:1.4.10~dfsg-1 config files for asterisk  
> ii asterisk-dev 1:1.4.10~dfsg-1 Development files for asterisk  
> ii asterisk-doc 1:1.4.10~dfsg-1 Source code documentation for Asterisk  
> ii asterisk-rate-engine 0.5.5-1ubuntu2 Asterisk least cost routing module  
> ii asterisk-sounds-extra 1.2.1-1 Additional sound files for the Asterisk PBX  
> ii asterisk-sounds-main 1:1.4.10~dfsg-1 Core Sound files for Asterisk (English)  
> ii asterisk-web-vmail 1:1.4.10~dfsg-1 Web-based (CGI) voice mail interface for Ast

I installed asterisk-gui from source using svn to retrieve the latest today.

My http.conf looks like -

> [@](#):
>
> [general]  
> enabled=yes  
> enablestatic=yes  
> bindaddr=0.0.0.0  
> bindport=8088  
> prefix=asterisk

My manager.conf looks like -

> [@](#):
>
> [general]  
> enabled = yes  
> webenabled=yes  
> port = 5038  
> bindaddr = ‘my local ip’  
> httptimeout = 3600  
> [admin]  
> secret = asecret  
> read = system,call,log,verbose,command,agent,user,config  
> write = system,call,log,verbose,command,agent,user,config

So, I restart asterisk and all seems fine. If I access [localhost:8088/asterisk/httpstatus](http://localhost:8088/asterisk/httpstatus)  
I get

> [@](#):
>
> Asteriskâ„¢ HTTP Status  
> Prefix /asterisk  
> Bind Address 0.0.0.0  
> Bind Port 8088

But if I try to access the setup for the admin interface ([localhost:8088/asterisk/static/c … stall.html](http://localhost:8088/asterisk/static/config/setup/install.html))  
I get

> [@](#):
>
> Not Found  
> Nothing to see here. Move along.  
> Asterisk Server

I am not prompted for any login.

Can anyone give me any advice as how to debug this (I can’t find anything useful in any of the logs) or offer any suggestions as to what may be wrong.

Thanks, wanderer.

Update 1653 14.04.08

Still working on it but still no luck.

I have tried binding to my local ip address, 127.0.0.1 and 0.0.0.0 in the manager.conf file.

All accesses whether to [127.0.0.1:8088/asterisk/static/c … basic.html](http://127.0.0.1:8088/asterisk/static/config/cfgbasic.html)

result in the same 404 error and the ‘nothing to see here’ message from asterisk. Any assistance would be greatly appreciated as I’ve spent four days banging my head against a wall so far.

Thanks, wanderer.

---

<div class="post-metadata">

**Author:** ![jopnick](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jopnick](https://community.asterisk.org/u/jopnick)\
**Post date:** [April 30, 2008, 4:28pm UTC](https://community.asterisk.org/t/newbie-web-admin-access-question/20290/2 "2008-04-30T16:28:37Z")

</div>

Hello 404wanderer,

I’m having the exact same problem. I’m trying to setup on ubuntu JeOS 7.10. I have no problem installing asterisk and the zaptel stuff, ( as mentioned on the [ubuntu wiki](https://wiki.ubuntu.com/AsteriskOnUbuntu) , theres mentions 6.06 but all the steps work for 7.10 and 8.04).  
After following almost every step you’ve mentioned, (tried both checking out the trunk and branches from the svn), I get the same issue.

I’ve tried some stuff, just to make sure the files were there and searchable, like pointing apache to /var/lib/asterisk/static-http and i can browse the pages, but of course, when it goes to submit its data via the extensive AJAX to rawman, I get the 404 there ( which is expected, i’m not sure how to redirect those requests to the listening application for the response )

I’ve also waded through some of the mailing lists which describe our [problem exactly](http://lists.digium.com/pipermail/asterisk-gui/2007-May/000437.html),

using sudo chown -R asterisk.asterisk /var/lib/asterisk/  
even sudo chmod -R 777 /var/lib/asterisk ( just to rule out permissions… horrible idea )  
even starting asterisk as root. each one shows the same info in /asterisk/httpstatus the only URI listed ( in the CLI with command “http show status”) i cant seem to access is /asterisk/static/

I’m pretty much out of ideas as well.

I ended up caving and just installing [FreePBX](http://www.freepbx.org/download-freepbx), which is okay, but really lacks the functionality of the Asterisk-gui.

I would have probably just used the AsteriskNOW pre-packaged ISO, but when i try and install it in Virtualbox, it crashes… the AsteriskNOW beta installs fine but 1.0.1 and 1.0.2 both crash on boot-to-install

Thats all I’ve got for now. sorry i couldn’t be more help. I’ll probably keep tinkering away at it at home, but i cant waste any more hours on it.

Be sure to post if you find a solution, I’d love to hear it. I’ll do the same

I used “sudo apt-get install asterisk” as well… and I’m wondering whether that may be a problem too… I’ll try building asterisk from the SVN as well and see if it helps

Jop

---

<div class="post-metadata">

**Author:** ![jopnick](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jopnick](https://community.asterisk.org/u/jopnick)\
**Post date:** [April 30, 2008, 4:51pm UTC](https://community.asterisk.org/t/newbie-web-admin-access-question/20290/3 "2008-04-30T16:51:22Z")

</div>

Well I lied…

I did waste more time at work… and man did it pay off.

I found on post in a [asterisk-gui install howto](http://www.asteriskguru.com/tutorials/asterisk_gui.html) ( which I’ll bet $0.05 you saw too ), but i’d skipped the answer to our problems.

in his post blabla writes:

[quote]blabla (jmartin at voila dot fr)  
24 January 2008 08:43:02  
If make checkconfig is OK,  
if Asterisk CLI command “http show status” gives good results  
but then the request  
[adresse\_IP:8088/asterisk/static/ … basic.html](http://adresse_IP:8088/asterisk/static/config/cfgbasic.html)  
gives 404 not found,  
you may have a problem of directories ( in my case, html files in /var/lib/asterisk/static-http but mini http server uses /usr/share/asterisk/static-http )[/quote]

so I just deleted the static-http folder under /usr/share/asterisk and did a softlink to the one in /var/lib/asterisk/

# sudo ln -s /var/lib/asterisk/static-http /usr/share/asterisk/

and BAM its working like a dream.

let me know if this helps you, fixed it on my end

Jop

---

<div class="post-metadata">

**Author:** ![404wanderer](https://avatars.discourse-cdn.com/v4/letter/4/e68b1a/32.png) [@404wanderer](https://community.asterisk.org/u/404wanderer)\
**Post date:** [May 4, 2008, 8:24am UTC](https://community.asterisk.org/t/newbie-web-admin-access-question/20290/4 "2008-05-04T08:24:01Z")

</div>

Give that man a round of applause.

Cheers Jop that worked a treat. I’d given up after a week of getting nowhere.

Thanks,

wanderer. 😃
