|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Apache hostname problem
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>> Make sure you have a ServerName directive in your httpd.conf file
> Ouch. I'm sure you're right, but now all I get is:
> Starting httpd: [FAILED]
Check your error_log: it should tell you why the server is
not starting properly. (Usually a permission issue of some
sort.) Use "httpd -t" for a detailed breakdown of problems
in your configuration file. (The httpd executable is usually
located in /usr/local/sbin).
> Dumb question: does it need to nslookup bonsaisoftware.com?
No, only if you do not supply it a name with the ServerName
directive. Make sure that the main ServerName setting appears
outside of a <VirtualHost> section. I recommend it actually
be the first line of the file, followed by the Port, User,
Group, DocumentRoot, and BindAddress, to make all the
important stuff easy to find. :)
> Another point: sometimes after I start httpd, and it uses
> 127.0.0.1, when I do /etc/rc.d/init.d/httpd status, it says:
> httpd dead but subsys locked
Hopefully this will not happen now that ServerName is set,
but it generally indicates that Apache has dies nastily.
Check for a file in /var/lock/subsys, and clear it out
once you kill any current httpd sessions.
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200202111050
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html
iQA/AwUBPGiUkrybkGcUlkrIEQLntQCeO+pXjRUMV3dWc26y32tDttAtW/sAoOUe
cMQVBEggy/8payksNmWf+tK+
=Frql
-----END PGP SIGNATURE-----
______________________________________________________________________
Philadelphia Linux Users Group - http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|