AOL Webserver - no connection to server

This is Interesting: Free IT Magazines  
Home > Archive > AOL Webserver > January 2006 > no connection to server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author no connection to server
Stephan Kulka

2006-01-05, 5:45 pm

Hello

I am new to webservers and I compiled the AOLserver as I was told that
it is an excellent webserver.
However, I cannot connect to the webserver and try it out. I just don't
know how to do it, it seems. The configuration file seems to be correct,
but I cannot parse any of the apd files given on the homepage.
I have to admit that I am also not able to find anything which helps me
in the documentation.

I am very grateful for any hints (including RTFM where I can find the
information needed).

Stephan


Nathan Folkman

2006-01-05, 5:45 pm

Can you post your server configuration (sensitive information
removed). Thanks!

- n

On Jan 5, 2006, at 2:06 PM, Stephan Kulka wrote:

> Hello
>
> I am new to webservers and I compiled the AOLserver as I was told that
> it is an excellent webserver.
> However, I cannot connect to the webserver and try it out. I just
> don't
> know how to do it, it seems. The configuration file seems to be
> correct,
> but I cannot parse any of the apd files given on the homepage.
> I have to admit that I am also not able to find anything which
> helps me
> in the documentation.
>
> I am very grateful for any hints (including RTFM where I can find the
> information needed).
>
> Stephan
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to
> <listserv@listserv.aol.com> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> Subject: field of your email blank.



patrick o'leary

2006-01-05, 5:45 pm

Couple of things to check is that :
*o *the web server is listening,
*o* the server log file.
*o* the command line your using to start it up

To check that the server is up and listening use telnet:
telnet <ip address> <port>
as in
[pjaol@home pjaol]$ telnet myhost.com 80
Trying 192.168.1.1...
Connected to myhost.com (192.168.1.1).
Escape character is '^]'.
^]close

It will either say connected or connection refused.

If connection is refused, then either your server isn't running or it's
listening on
the wrong IP, or hasn't been bound to the IP as root.

So check to see if the web server is running, ps -ef |grep nsd
Check the server log file
less <aolserver dir>/log/server.log

you might want to grep -i listen <aolserver dir>/log/server.log
to see what IP your listening on.

If your IP address comes out as 127.0.0.1 it means your only listening
on your local host/loop back IP
You might want to change <aolserver dir>/sample-config.tcl
set address <your IP> ; #[ns_info address]

If the IP address looks ok, but you get something like permission
denied, while trying to listen to IP:port
it means, either something else is using that port, or it's a port below
1024, such as default http port 80
and hasn't been bound upon start up. Binding the port, means that the
server has to be started as root, and
the port opened before the server changes ID to another user. This can
be done with the -b flag

E.g

../bin/nsd -t sample-config.tcl -b<ip address/hostname>:<port> -u nobody
-g nobody

*note the : between the ip and port

P



Stephan Kulka wrote:

>Hello
>
>I am new to webservers and I compiled the AOLserver as I was told that
>it is an excellent webserver.
>However, I cannot connect to the webserver and try it out. I just don't
>know how to do it, it seems. The configuration file seems to be correct,
>but I cannot parse any of the apd files given on the homepage.
>I have to admit that I am also not able to find anything which helps me
>in the documentation.
>
>I am very grateful for any hints (including RTFM where I can find the
>information needed).
>
>Stephan
>
>
>--
>AOLserver - http://www.aolserver.com/
>
>To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
>body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
>
>
>




--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Dossy Shiobara

2006-01-05, 5:45 pm

On 2006.01.05, Stephan Kulka <stephan.kulka@GMX.AT> wrote:
> I am new to webservers and I compiled the AOLserver as I was told that
> it is an excellent webserver.
> However, I cannot connect to the webserver and try it out. I just don't
> know how to do it, it seems. The configuration file seems to be correct,
> but I cannot parse any of the apd files given on the homepage.
> I have to admit that I am also not able to find anything which helps me
> in the documentation.
>
> I am very grateful for any hints (including RTFM where I can find the
> information needed).


The sample configuration by default binds to port 8000, so try accessing
in your browser:

http://your-host-name:8000/

Replace "your-host-name" with the name of your server or its IP address
if you haven't set up DNS for it yet.

Certainly, AOLserver is one of the less ... um ... newbie-friendly web
server choices available. We'd love to remedy that, and I'd be glad to
help you get started.

-- Dossy

--
Dossy Shiobara | dossy@panoptic.com | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)


Stephan Kulka

2006-01-05, 5:45 pm

Hello

> So check to see if the web server is running, ps -ef |grep nsd
> Check the server log file
> less <aolserver dir>/log/server.log


I don't have a log file there. There was only a pid file when the server
was running.

> you might want to grep -i listen <aolserver dir>/log/server.log
> to see what IP your listening on.

This obviously didn't work either.

However, the hint from Dossy helped. I finally could parse the adp file.
Will play around more tomorrow. The problem was that I tried
http://localhost:8000 and only got the reply that the connection was
resetted.

To Dossy: I grew up in Linux using Debian, so "less newbie-friendly" is
ok, if the quality of the software is better.


Thanks a lot for you help and probably speak to you soon again.


Stephan


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com