Forum OpenACS Q&A: No pages getting served
AOLServer installed and it works when I use the default nsd.tcl file.
When I switch to my customized version of version of the nsd.tcl file,
the server.log file in the log directory of my aolserver installation
does not show any errors, but I fail to get served a page.... when I
browse to my site. I just get an endless wait... No errors, it just
Postgresql is working and has all the tables loaded. I have
reinstalled everything (Postgresql and ACS) serveral times. I'm even
using the new version - 3.2.4... still nothing.
Can someone please help me? This is the 3rd weekend I am spending on
from a shell prompt? Also, are you sure your customized nsd.tcl
file logs errors to the same server.log as the standard nsd.tcl?
You can also post your nsd.tcl file for us to look at (or make it
available at some URL).
Endless waits, here, too. I took out everything from nsd.tcl that could cause problems... (ssl, java) (I am a bit desperate, trying over and over again for days now... (Well not for weeks as John Menke did...) Ok, I am clearly a beginner... could anybody help me?
The (modified) testfile from the Aolserver distribution that does make the server at least serve one page is here (test.tcl, renamed test.txt), the not-working nsd.tcl file (renamed nsd.txt) is here. Thank you!!
Having looked at your previous post I assume that you did succeed in serving the AOLserver welcome page.
Why not start by changing the address in nsd.tcl to 127.0.0.1 until you get things going. It's also quite convenient to start AOLserver in the foreground: /home/aolserver/bin/nsd -ft /home/aolserver/nsd.tcl during this phase. Post relevant parts of the screen dump here so we can have a look (inside PRE tags please).
Did you read and follow the installation guide? What versions of everyting have you got?
Yes, the Aolserver welcoming page is served (using "test.tcl" as mentioned above).
I have OpenAcs 3.2.5, Pgdriver 2.0, PostgreSQL 7.1.2, Aolserver-3.4 running on an AMD 1Ghz box with 400 MB ram, RH 7.1. The output of the screen only shows 'notices', except: Warning: sched: excessive time taken by proc 5 (5 seconds).
Changing to 127.0.0.1 doesn't seem to be of much help, as I am permanently connected to the internet. The mentioned IP address is the permanent IP address of Eth0. www.timedesk.net is a domain name with a redirection to the IP 188.8.131.52. Starting AOLserver in the foreground is indeed helpful, but I was watching the logs closely anyway...
A log can be found : here. Thanks for your support!
Test.tcl is provided by Oalserver, and with some editing it does serve the welcoming page so there is no problem with that file or the server.
It is when I use nsd.tcl (which sets up Aolserver for OpenAcs) that the problems begin (and NO pages whatsoever are served).
I am now thinking that the problem is located in the .tcl file in /web/timedesk/parameters (timedesk.tcl). I may have edited too much in it...
You mean hostname when say servername, right? Setting both the hostname and the address to the ip-address isn't considered the way to go (but can be a workaround when DNS isn't properly configured).
As of now your ip-address appears in my browser's address field because you have the hostname set to the ip...
Actually (as you may have noticed in the thread you found) I had a similar problem myself some time ago. I am behind a IP-Masquerading firewall and, with kernel 2.2.x, hosts on one network segment cannot connect to other hosts on the same segment unless you fool around a lot. Adding entries in /etc/hosts also does the trick.
It was to avoid this kind of network jungle that I suggested that you get things started on localhost first, following the book...
No, David, I did not set the servername "www.timedesk.net" , but that does not make any differece for the operation of AOLserver, I think.