Thanks very much to all who responded to my question here. All of the
responses were needed. I put them all together with some study, made
changes to my /etc/rc.d/init.d/httpd and my /etc/hosts files ...and now things
work as they should. And I learned a bit about Linux configuration and the
startup process in the process :-)
By the way, a big chunk of my problem seems to have been that I have compiled
an Apache binary in an unusual directory (in order to emulate the directory
structure at my ISP). I therefore pointed explicitly to that binary in
/etc/rc.d/init.d/httpd, and set httpd to start with the -f option to point to
the correct (for my setup) configuration files. This leads to a couple of
questions:
1) Is there someplace else where I could just change the path instructions so
that the system would know to look for all of the httpd stuff in the directory
where I have them?
2) I'd like to get rid of the other instance(s) of httpd, to save disk space
-- if nothing else. What is the cleanest way to do this? I would suspect that
there may be other associated files that should go, too. And from what
knowledge I have of Apache I could probably do a fair job of hunting them
down one by one. But is there a better way?
Thanks again to all who have helped ... and, in advance, to all who will.
Cheers!
Mike Green
On Wed, 26 Jan 2000, Arni Raghu wrote:
> The default apache has the httpd.conf at /usr/local/apache/conf/httpd.conf
>
> The redhat version has it at : /etc/httpd/conf/httpd.conf...
>
> so make sure u are changing the right files for the right apache versions..
>
> hth,
> Arni
>
> ---- Original Message -----
> From: Mike Green <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 25, 2000 4:00 PM
> Subject: httpd cannot determine local host name on startup
>
>
> > I'm having a strange problem on startup:
> >
> > When the machine gets to the line output to the screen which says
> "Starting
> > sendmail:" it sits and grinds for a verrry long time. Then it moves on
> with
> > the remark "httpd cannot determine local host name, use ServerName
> directive."
> >
> > I've tried without success to figure out what the "ServerName directive"
> is.
> > Neither man ServerName or apropos ServerName comes up with anything.
> >
> > Once the machine is fully booted, I (as su) go to the directory where I've
> > installed Apache (my own installation in a directory which emulates that
> at my
> > ISP, not the Redhat default) and use ./apachectl start httpd to start
> Apache
> > without any difficulty.
> >
> > By the way, sendmail seems to work just fine.
> >
> > Suggested solutions?
> >
> > Cheers!
> >
> > Mike Green
> >
> > P.S. I have Redhat 6.2 installed on a Pentium 90. This is an upgrade
> > installation done over a Redhat 5.1 installation. I'm only able to use
> this
> > system sporadically, not having had time to devote to really
> > learning it well enough to make it an effective tool for me. I've done
> quite a
> > bit of hacking about trying to make this or that work; and I know I've
> messed up
> > a number of bits of the configuration, without knowing which, or how to
> fix
> > them.
> >
> >
> > --
> > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > as the Subject.
> >
> >
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
Mike Green
SaeSolved::
http://www.saesolved.com
http://www.widgetchuck.com
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.