httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul O'Donnell <odonne...@rogers.com>
Subject Re: [users@httpd] "The connection was refused when attempting to contact localhost" error message
Date Sat, 04 Jan 2003 22:42:33 GMT
Terra Novum wrote:

> Yeah, probably hasn't even started up yet. What do you see when you 
> type "service httpd start" from the cmd (Xterm) prompt as root. Oh 
> yeah, you need to do sysadmin stuff as root (administrator). If you 
> are logged in as someone else type "su" and then enter the admin 
> password you chose at installation. What RH dist are you using?
> Tom
>
> Paul O'Donnell wrote:
>
>> Thanks Tom,
>>
>> Thank you for taking the time to give me so much useful information.
>>
>> There are no files at all in /var/log/httpd/  does that give me a 
>> clue as to what my problem is?
>>
>> Paul
>>
>>
>> Terra Novum wrote:
>>
>>> You maybe in over your head but probably not. Go to Red Hat's site 
>>> and see the getting started guide 
>>> (http://www.redhat.com/docs/manuals/linux/) for your version and 
>>> start there. They are filled with most things that you will need to 
>>> work in and administer most popular services on linux.
>>> For your questions right now:
>>> All logs in RH are located in /var/log/ where the apache logs are in 
>>> /var/log/httpd/ (ie; httpd = webserver = apache)
>>> access_log is a log of all sucessful requests made to the web server 
>>> and error_log is a list of all failed requests (that actually made 
>>> it to the web server), errors associated with all requests and 
>>> errors encountered on startup of the web server daemon. Daemon is an 
>>> "Old English" term that means demon and, why this was used as a term 
>>> for service is up for debate (Some figure Mary Shelly's 
>>> Frankenstein), it is the d in httpd. You will see that a lot as in 
>>> "ftpd" where it is the FTP server etc.
>>>
>>> For future reference:
>>> /etc has configuration files
>>> /home are all of your users home directories (although root's home 
>>> is /root)
>>> /bin are all of the user binaries. and generally this is actually 
>>> redirected to /usr/bin
>>> /usr generally has shared usr files
>>> /usr/lib has the Linux equivalent of windows dlls in there (among 
>>> other things)
>>> /sbin are mostly system binaries
>>> /boot is your kernel (the core OS and what makes Linux linux)
>>> /mnt is where your cdrom and floppy are mounted so you can get 
>>> access to the files on them (RH auto mounts cds so no need to there 
>>> on your own)
>>> /proc and /dev are hardware related and something you should avoid
>>> /opt is generally there for legacy reasons
>>> some of the other root folders /lib etc are usually just linked to 
>>> (or functionally similar) /usr/lib same as /bin above. Outside of 
>>> individual commands the above is a lot of what you will need to know 
>>> about linux/unix.
>>> Happy Trails.
>>> Tom
>>>
>>> paul wrote:
>>>
>>>> Hi and thanks for your time,
>>>>
>>>> Where are these log messages? As you can see I am quite lost. Maybe 
>>>> I am in over my head.
>>>>
>>>> Paul
>>>>
>>>> Renato Salles wrote:
>>>>
>>>>> Connection refused could be a signal to:
>>>>> Your server is not listening at that port, or
>>>>> Apache is down, or
>>>>> you're firewalling the port Apache is listening to.
>>>>>
>>>>> Send us some log messages. It is not the case of firewall filter 
>>>>> from your ISP, cause localhost is
>>>>> always behind the firewall.And probably not a firewall problem at 
>>>>> all.
>>>>> Loopback address is never filtered.
>>>>>
>>>>>
>>>>> On Sat, 2003-01-04 at 02:40, paul wrote:
>>>>>  
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I really am at a loss about how to solve my problem. I am 
>>>>>> completely new to the Linux world. I just instatlled Red Hat 
>>>>>> Version 8.0. I am trying to get apache up and running, but when I

>>>>>> try to go to http://localhost I get the following error message,
>>>>>>
>>>>>> "The connection was refused when attempting to contact localhost"
>>>>>>
>>>>>> I've been searching all over the Internet for answers to this 
>>>>>> question. I found plenty of posts to various forms about this 
>>>>>> error message, but no solutions, at least not any solutions that

>>>>>> I understand. First I accepted the default settings for the 
>>>>>> apache http server, got that message, and started to muck around

>>>>>> with it for a few hours, only to keep getting the same error 
>>>>>> message over and over again. Any suggestions would be greatly 
>>>>>> appreciated. I really don't know what I am doing. I was able to 
>>>>>> install and play around the the Windows Personal Web Server to 
>>>>>> allow me to experiment with Active Server Pages a couple years 
>>>>>> ago without any trouble at all. Maybe I got lucky then.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Paul O'Donnell
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------

>>>>>>
>>>>>> The official User-To-User support forum of the Apache HTTP Server

>>>>>> Project.
>>>>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>>>
>>>>>>   
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> The official User-To-User support forum of the Apache HTTP Server 
>>>>> Project.
>>>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> The official User-To-User support forum of the Apache HTTP Server 
>>>> Project.
>>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> The official User-To-User support forum of the Apache HTTP Server 
>>> Project.
>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message