Re: apache
Eric Koldeweij <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <[email protected]> |
HL wrote: >Eric, > >Thanks. I will direct further questions over there you recommended. The >server is RedHat Linux with apache. > >I changed all files and directory, after restarted apache, I got error > >apachectl restart >/usr/sbin/apachectl restart: httpd not running, trying to start > > This is not an error. It just tells you apache wasn't running before so it's doing a start instead of a restart. >[Sat Mar 15 06:59:35 2003] [alert] httpd: Could not determine the server's >fully qualified domain name, using 127.0.0.1 for ServerName >/usr/sbin/apachectl restart: httpd started > >Any idea? > > This not an apache issue either. It tells you it cannot find your server's hostname or resolve your hostname into an IP address (either one of the 2, dunno exactly which one) You can fix it by setting the ServerName directive (it's in the httpd.conf file already, commented out) Don't just fill something in of course, the name you enter there must be resolvable to your IP address. Note, this is not a fatal error. As you can see in the last log line, apache is up & running and accessible from the local machine by surfing to http://127.0.0.1 Have fun, Eric.