Connection refused when trying to connect

Aram Hazarian ahazarian at omnilogic.ro
Thu Jan 20 19:23:39 UTC 2005


That's what I've done:
[bobo at bobo sbin]$ ./service httpd start
httpd: unrecognized service
It seemed there were no "httpd" service.

I reinstalled the Apache, then:
[root at bobo sbin]# ps auxw | grep http | grep root
root      1982  0.0  0.1  3536  628 pts/0    S    21:14   0:00 grep http

When I entered agian the command ... nothing

Then, I started the httpd and:
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
                                                           [  OK  ]
IT WORKED !
Everything OK with this step !
Now, I have to check what's wrong (I get the same message) when trying to go to SWAT or printing (http://127.0.0.1:901 or :631) ...
But I think it's better to start a new thread, right?!?

Anyhow, until now, thanks to everybody.

Bobo

>>> Jay Berryman <jay.berryman at sitel.com> 01/20/05 19:55 PM >>>
Your grep statement shows up because you are grepping for httpd.  It is not
running.  Run the following command:  service httpd start

-----Original Message-----
From: redhat-list-bounces at redhat.com
To: redhat-list at redhat.com; manuel at todo-linux.com
Sent: 1/20/2005 11:45 AM
Subject: Re: Connection refused when trying to connect

This is it:
[bobo at bobo temp]$ ps aux | grep httpd
bobo      1334  0.0  0.1  3536  628 pts/0    S    19:44   0:00 grep
httpd
It appears to be up and runing.
But the message is the same ...

>>> Manuel Arostegui Ramirez <manuel at todo-linux.com> 01/20/05 18:00 PM
>>>
El Jueves 20 Enero 2005 16:50, Aram Hazarian escribió:
> Hi,
>
> The issue I have is on a RedHat 8.0 system.
> Whenever I try to access http://127.0.0.1/ or http://192.168.0.1/ (my
> machine's IP), the only answer I get is the alert with "The connection
was
> refused when trying to connect to ...". I read a lot about this issue
on
> the net, but I didn't manage to solve it. Now I don't have any
firewall or
> proxy.
> Both addresses are in /etc/hosts.
>
> I'll be glad to hear some good news about this.
>
> Thank you,
>
> Bobo

ps aux | grep httpd
Can you see it?

If you can't, try running /etc/init.d/httpd start

Cheers

-- 
Manuel Arostegui Ramirez #Linux Registered User 200896
Socio de Hispalinux 1813
Red Hat Linux 9, Kernel 2.6.2 ReiserFS
Firma  cifrada
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+3O1MqfmPcHTj+twRAm
yDAJ9P6ezepIMg06vOet/YPKxVoB+Z/ACfWVhh
---END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list