Bug 275 - /etc/httpd/conf/mime.types is missing and server doesn't start
/etc/httpd/conf/mime.types is missing and server doesn't start
Product: Red Hat Linux
Classification: Retired
Component: apache (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1998-12-03 10:43 EST by simon.mudd
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1998-12-03 11:53:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description simon.mudd 1998-12-03 10:43:41 EST
Installing apache-1.3.3-1 doesn't startup.

I have no file /etc/httpd/conf/mime.types

/var/log/httpd/error_log says:

[date] [error] (2)No such file or directory: httpd: could
not open mime types log file /etc/httpd/conf/mime.types

I copied the file after installing the source rpm, and
copying the mime.types file into the conf directory.

My config files are the same as rh5.1's apache config files,
with a few minor changes. Maybe there is some command in
the previous apache config options which is causing this
problem? (I'm not very familiar with apache)
Comment 1 David Lawrence 1998-12-03 11:53:59 EST
the file mime.types is located now in /etc and is provided by the
mailcap rpm package. You are right it that it will not run if this
file is missing in /etc. If you do a rpm -qR of the apache rpm, it
will show that /etc/mime.types is required for installation and should
state so when installing apache.
Comment 2 simon.mudd 1998-12-03 12:53:59 EST
dkl,  I understand your comments.

My problem has come from piecemeal
upgrading to 5.2.  It is not easy to upgrade the server in one go
and I'd prefer to catch small problems like this early, upgrading the
packages one be one, finally performing an upgrade which has little
few kinks to iron out.  I've been caught once by upgrading in one go
especially when using non-redhat rpms (not this case) which stopped
working on the upgrade.

Thus I'm installing the 5.2 apache on 5.1 redhat.
I have mailcap-1.0-7 and this does has /etc/mime.types.
Nevertheless I can only start apache if I have mime.types in
/etc/httpd/conf/ (as stated in my previous messages).

There is obviously some other dependency missing somewhere which
doesn't catch my situation, and must be related to mixing 5.1 and
5.2 rpms. (something which I guess isn't that uncommon).

For the time being I'm not sure which dependency I'm missing and I'll
put a symbolic link in place to fix my situation.  Upgrading
"properly" should resolve the problem.


Note You need to log in before you can comment on or make changes to this bug.