|
From: wayne <inf...@ve...> - 2001-10-15 18:51:32
|
Hi Robert, You hit the nail right on the head. After doing the strace, and getting the results you expected, I then check my httpd.conf file. sure enought the directive "Port" had 8080. I change it to 80 and things are looking up. I want to thank everyone for there input. later. Wayne "Robert A. Mackie" wrote: Sure. This looks to me like either your httpd daemon isn't running or > it's configured to run on some port other than port 80. > > Here are some ideas. Become root and execute strace -p <pid> where pid > is the process number of one of your httpd processes (use ps to get a > pid). It should give you something like: > > strace -p 23774 > accept(16, <unfinished ...> > > You'll need to: > ctrl-c > to exit > > This tells you that you do indeed have httpd that's waiting to accept a > connection. > Next, look in /etc/httpd/conf/httpd.conf for a line like: > # Port: The port to which the standalone server listens. For > # ports < 1023, you will need httpd to be run as root initially. > # > Port 80 > > If it is some other number then you need to use > http://localhost:othernumber/ > or change it to 80. *80* requires that that the httpd be launched by > root, as per the comment.) > > Rob. > PS: I'd probably do these things in reverse order. The strace just > makes you feel good. It doesn't diagnose much. > > wayne wrote: > > >Hi Dieter, > >I use to have "ServerName localhost.localdomain", but > >I still got the error from Netscape. Should I change it > >back to this or leave it as "ServerName localhost"? > >My /etc/hosts file has the enter for 127.0.0.1 as > >127.0.0.1 localhost.localdomain localhost > > > >I also tried to use this as a url > >http://localhost.localdomain/sql-ledger/admin.pl, but > >I still get the error > >"Netscape is unable to locate the server locallhost.localdomain". > >Another way I tried keying in the url was- > >"http://127.0.0.1/sql-ledger/admin.pl". > >The return error on this was slightly different. > >"Netscape's network connection was refuse by the server 127.0.0.1 > >The server may not be accepting connection or may be busy." > >This seems to me that 127.0.0.1 is up and is configured ok. > >Can someone give me some reason why it wouldn't be > >accepting a connection? > >Wayne > > > >Dieter Simader wrote: > > > >>Use the full name. > >> > >>ServerName yourhost.domain.name > >> > >>Dieter Simader http://www.sql-ledger.org (780) 472-8161 > >>DWS Systems Inc. Accounting Software Fax: 478-5281 > >>=========== On a clear disk you can seek forever =========== > >> > >>On Mon, 15 Oct 2001, wayne wrote: > >> > >>>Hi, > >>>If this message is not appropriate to the group let know. > >>>If anyone can point me to a group that deals with questions > >>>about apache I will be grateful. I thought I had my problem > >>>solved, but I don't. > >>>When I key in the url, http://localhost/sql-ledger/admin.pl, > >>>I still get the rror "Netscape is unable to locate the server > >>>localhost". > >>>In my httpd.conf I have the directive "ServerName localhost". > >>>I restarted my server and still get the same error. By-the-way, > >>>my httpd.conf file is stock except for the changes I made for > >>>sql-ledger. > >>>Wayne > >>> > > > > > > > > -- > Quoting Steven in Illinois: > "On the side of the software box, in the 'System Requirements' section, > it said 'Requires Windows 95 or better'. So I installed Linux." > "Let the source be with you" -Tux |