Good point.
Actually I think I found the problem. I had to also specify the
ServerName myHostName in the /etc/httpd/conf/httpd.conf file. I did
so by the following:
ServerName /bin/hostname
That seemed to correct the problem and upon reboot, httpd seems to
have started correctly.
Rick
On Sat, 15 Jan 2000 23:14:26 -0500, you wrote:
>localhost is just the name for your loopback interface 127.0.0.1. Your machine uses it to talk to itself. I don't know what good can come from changing it. You can change your hostname by editing the etc/HOSTNAME file and call your machine whatever you like... not need to kill the loopback.
>
>-Robert Hoffman
>
>
>---------- Original Message ----------------------------------
>From: ">rick.barter@mindspring.com (Rick Barter)
>Reply-To: ">rick.barter@mindspring.com
>Date: Sat, 15 Jan 2000 22:36:59 GMT
>
>>/**
>> * Linux Distribution
>> */
>>
>>RedHat 5.2
>>
>>
>>/**
>> * Background information
>> */
>>
>>I set my hostname to something other than localhost. I made the
>>change in my /etc/hosts, and /etc/sysconfig/network files.
>>
>>After this I started getting email to root@localhost.localdomain
>>telling me that there were errors rotating httpd/access_log log files.
>>
>>
>>Some helpful folks from this list helped me with different remedies,
>>but it turned out that httpd was not running. The reason for this was
>>that it couldn't determine the hostname when it tried to start during
>>reboot.
>>
>>/**
>> * Questions
>> */
>>
>>I obviously didn't do something correctly when changing the hostname.
>>What files do I need to change in order to successfully change my
>>hostname to something other than localhost.localdomain?
>>
>>Thanks for any help you can give,
>>
>>Rick Barter
>>
>>--
>>
>>/**
>> * Rick Barter
>> *
>> * Atlanta, Georgia, USA
>> */
>>
>>-----BEGIN PGP PUBLIC KEY BLOCK-----
>>Version: PGPfreeware 6.0.2 for non-commercial use http://www.pgp.com>
>>
>>mQGiBDdrrOsRBADanC3zO68I8aJgqrbr7fodGJQD9P5NyCNrbyH9XsKW4LMQPq3g
>>VY0tJXc77k2w9BVaZLC9XmptT4ZMQc2fxUF1XnY9p69zM/Lh7C299zO2jEdVZesi
>>zOgkD9dAgsjpm/zVzcU6F7Pj6oR9e29XsmlDNy6GRJPRNlAiZYlcVegK7QCg/2Py
>>G0estKEhw3p+fkJao9v/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1k5vpfz8Hg7ub7thBcecMuABjHDEU98pfuGOXnc5
>>xWxkvBBBFyt2o6uGe7DFohMOxTswnuz+agmXyCWtw7YrJZBN4PcsUGu0qSN3g3Qp
>>3DEY3eZ66Ij0nJ0IlUBXVqjhu6gk2fR0J9hyTFX8ZNTcMO3o6i4RWO86roZaNa5w
>>jKm65Xixs8724E2Hg4kARgQYEQIABgUCN2us6wAKCRBK8B4TyoEJjTqCAJ0R8KLf
>>gmlA8hdy1Rl21oTONP7zNACgkeElLQyDNB8zZyoQ9AyElrb1tiU=
>>=3v2P
>>-----END PGP PUBLIC KEY BLOCK-----
>>--
>>To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
>>
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.