Bug 275 - /etc/httpd/conf/mime.types is missing and server doesn't start
Summary: /etc/httpd/conf/mime.types is missing and server doesn't start
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apache
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1998-12-03 15:43 UTC by simon.mudd
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1998-12-03 16:53:53 UTC
Embargoed:


Attachments (Terms of Use)

Description simon.mudd 1998-12-03 15:43:41 UTC
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 16:53:59 UTC
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 17:53:59 UTC
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.

Simon


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