MimeTypes::readFile(): Unable to open

mjokiel

Verified User
Joined
Nov 18, 2009
Messages
31
Hello,

Our directadmin has issue with rewrite of httpd.conf files for the user:

MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wozniak/domains/robotyziemne.com.handlers for reading
MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wpi/domains/wpi.pl.mime.types for reading
MimeTypes::readFile(): Unable to open /usr/local/directadmin/data/users/wpi/domains/wpi.pl.handlers
for reading
MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wtrer/domains/wtrer.pvt.pl.mime.types for reading
MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wtrer/domains/wtrer.pvt.pl.handlers for reading
MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wykopy4you/domains/wykopy4you.pl.mime.types for reading
MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wykopy4you/domains/wykopy4you.pl.handlers for reading
MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wykopy4you/domains/wykopy4you.com.mime.types for reading
MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wykopy4you/domains/wykopy4you.com.handlers for reading
MimeTypes::readFile(): Unable to open
/usr/local/directadmin/data/users/wykopy4you/domains/wykopy4you.com.pl.mime.types for reading
------------------
This error can be regenerated as follows ,
----------------
echo "action=rewrite&value=ips" >> /usr/local/directadmin/data/task.queue
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d200

Could you please help us how to resolve the problem?
 
that should not be a problem, i mean, doesnt mean that httpd dont work without those files, i had same issue, just touched each file manually and this error disappeared

Regards
 
Directadmin support told me also that it shouldn't be problem, but yesterday we tried to install danginx on the server and after implementation on all domains we had only page 'Apache is functioning normally' instead of pages. We contacte danginx support and they asked us to resolve this problem which i mentioned in my post.
 
so do as i did, touch each file :)

example:

Code:
touch /usr/local/directadmin/data/users/wpi/domains/wpi.pl.mime.types

Regards
 
Danginx Support team probably mis-understood your problem. That's no way influence on NGINX. You might want to post here or send me a nginx config and I will probably help you.
 
I'm not sure about structure of danginx configs. Bu traditionally they are located in /etc/nginx/ or /usr/local/etc/nginx/. Let's start with nginx.conf.
 
Back
Top