News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old October 18th, 2005, 12:25 AM
marc1 marc1 is offline
Senior Member
 
Join Date: Feb 2004
Posts: 148
marc1
Default AAH Webserver not working

I have AAH 1.5 running. I can access the server via SSH, but when I try to access the webserver using the same address, my browser tells me it can't connect to the server.

:x

Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old October 18th, 2005, 02:27 AM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,013
mberlant is an unknown quantity at this point
Default RE: AAH Webserver not working

Are you trying to traverse a NAT router? Do you have TCP port 80 forwarded through your router to your Asterisk?
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old October 18th, 2005, 03:52 AM
marc1 marc1 is offline
Senior Member
 
Join Date: Feb 2004
Posts: 148
marc1
Default Re: RE: AAH Webserver not working

Quote:
Originally Posted by mberlant
Are you trying to traverse a NAT router? Do you have TCP port 80 forwarded through your router to your Asterisk?
I don't know the answer to the first question. I am using a DLink Di-604, if that helps.

I am using the internal IP address and I am trying to access it behind my router (not from the internet), so I didn't think port forwarding mattered, regardless, I do have port 80 forwarded to the Asterisk. I also have the Asterisk in the DMZ zone.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old October 18th, 2005, 07:49 AM
adroitboy adroitboy is offline
Junior Member
 
Join Date: Apr 2005
Posts: 14
adroitboy
Default Me too

I just had this happen to me 2 days ago on my AAH 1.5 box. It happened like this...

First I noticed that I was getting the "all circuits are busy now" when making outgoing calls. So I rebooted. After that it stopped answering the zap POTS line. Not being near it, using SSH and wget, I downloaded the AAH 1.5 .tar.gz file, uncompressed it and used the install_ALL script.

This got it semi-working. I can make calls into and then out of it. But the web interface is still broken. I don't think that apache is running. I can't telnet to port 80, but am not familiar enough with linux to know what to do now. Perhaps it is the same issue that marc1 is having.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old October 19th, 2005, 10:46 AM
marc1 marc1 is offline
Senior Member
 
Join Date: Feb 2004
Posts: 148
marc1
Default RE: Me too

ok, here is an idea...

if i access my astrisk box via ssh, is there a command i can type in to see the status of the webserver?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old October 19th, 2005, 10:46 AM
  #6 (permalink)  
Old October 19th, 2005, 04:12 PM
AlexanderBell AlexanderBell is offline
Senior Member
 
Join Date: Jul 2005
Posts: 269
AlexanderBell
Default RE: Me too

Just start up the Asterisk Management Panel by plugging in the IP address of your Asterisk box. Then click on the Maintenance tab, and it'll show whether your web server is running or not.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old October 19th, 2005, 05:55 PM
chandave chandave is offline
Senior Member
 
Join Date: Jul 2005
Posts: 362
chandave is an unknown quantity at this point
Send a message via MSN to chandave
Default Re: RE: Me too

Quote:
Originally Posted by marc1
ok, here is an idea...

if i access my astrisk box via ssh, is there a command i can type in to see the status of the webserver?
After ssh'ing into the asterisk box:
Code:
ps auxww | grep -v grep | grep httpd
If you just get the command prompt back then that means the Web Server is not running anymore. If it returns some entries, then the Web Server is up. You can then use wget to check on the status:
Code:
wget -O - http://127.0.0.1
If it returns a bunch of HTML code, then your Web Server is up and responding to HTTP requests.

See ya...

d.c.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8 (permalink)  
Old October 19th, 2005, 08:55 PM
marc1 marc1 is offline
Senior Member
 
Join Date: Feb 2004
Posts: 148
marc1
Default Re: RE: Me too

Quote:
Originally Posted by chandave
If you just get the command prompt back then that means the Web Server is not running anymore.
Ok thanks for the info DC. yes, i just got the [root@asterisk1 root] prompt back after I typed in
Code:
ps auxww | grep -v grep | grep httpd
So it sounds like that means the webser is not running. Now what? How can i get the webserver running again? Why would it stop running?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9 (permalink)  
Old October 20th, 2005, 01:07 AM
marc1 marc1 is offline
Senior Member
 
Join Date: Feb 2004
Posts: 148
marc1
Default

ok, i worked backwards and figured out my problem. on Nerd Vittles site it says:

Quote:
You now can manage all of your incoming email and voicemail from a single place, your email client. In order to send out emails from your Asterisk@Home server, you’ll need to make two changes. First, make this adjustment to the /etc/hosts file on the server...Edit the hosts file: nano /etc/hosts. Move the cursor to the line which begins 127.0.0.1, and then move the cursor over the first letter of the first domain name shown, usually asterisk1.local. Now type in [your] fully-qualified domain name...
I found that once I removed asterisk1.local and entered my fully-qualified domain name, the webserver no longer worked. Once I put back asterisk1.local in my /etc/hosts file, it worked again. I am following the directions, but it does not seem to work. Am i doing something wrong?

As of now, my hosts file looks like this:

Code:
127.0.0.1               asterisk1.local
147.135.12.128          sip.broadvoice.com
Assuming my fully-qualified domain name is abc.dyndns.org, what should it look like?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10 (permalink)  
Old October 20th, 2005, 11:53 AM
MatsK MatsK is offline
Junior Member
 
Join Date: Oct 2005
Posts: 1
MatsK
Default

Just to answer the first question about "Check if it's running"

The command :
[root@asterisk1]$ service httpd status

httpd (pid 2394 2393 2392 2390 2389 2388 2387 2386 2346) is running...

Will reply with all httpd's (Web server) running pid's.

Other options is:
service httpd {start|stop|restart|condrestart|reload|status|full status|graceful|help|configtest}


And to the part about /etc/hosts you must also update :
/etc/sysconfig/network

And the command to check if the hostname is correct is:
hostname

There are some other files that has to be changed as well and I will post more info in the http://www.voip-info.org/wiki/view/A...+Handbook+Wiki and there will also be posted some info at my blog http://www.ugg-lan.com/blog/


/Mats
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old October 20th, 2005, 11:53 AM
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: AAH Webserver not working
Thread Thread Starter Forum Replies Last Post
Change AMP/FreePBX webserver port jchuby Asterisk Support Forum 5 August 11th, 2006 08:04 PM
Inbound BV calls to AAH working but no ringing on caller end new_ukuser BroadVoice Support Forum 2 January 12th, 2006 11:41 PM
SPA Webserver - Cannot Access Admin/Advanced Screen ferdies Linksys (Sipura) VoIP Support Forum 1 December 2nd, 2005 03:05 PM
AAH Broke degsod Asterisk Support Forum 2 September 10th, 2005 06:58 PM
Lost Admin functions on Webserver jmattwood Linksys (Sipura) VoIP Support Forum 2 February 20th, 2005 02:31 AM



All times are GMT. The time now is 12:54 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.