Errors please help

Phantium

Verified User
Joined
Jul 8, 2004
Messages
72
Location
Netherlands
Please help, I'm getting these DirectAdmin errors since the 27th of march.

2007:04:01-04:21:02: Unable to delete bytes log: ./data/users/admin/DAdminUsage.bytes : <b>Write access to the directory containing ./data/users/admin/DAdminUsage.bytes is not allowed for the process's effective uid, or one of the directories in pathname did not allow search (execute) permission.</b><br>

2007:03:27-00:10:03: Unable to delete bytes log: /var/log/httpd/domains/domain.ext.bytes : Error truncating /var/log/httpd/domains/domain.ext.bytes : Permission denied<br>

And then these Dovecot errors which I have been getting for a while as well:

Apr 3 19:04:28 server dovecot[12020]: auth(default): passwd-file(username,217.*.*.*): no passwd file: /etc/virtual//passwd
Apr 3 19:04:28 server dovecot[12020]: auth(default): passwd-file(username,217.*.*.*): no passwd file: /etc/virtual//passwd

Thanks!
 
Please help, I'm getting these DirectAdmin errors since the 27th of march.

2007:04:01-04:21:02: Unable to delete bytes log: ./data/users/admin/DAdminUsage.bytes : <b>Write access to the directory containing ./data/users/admin/DAdminUsage.bytes is not allowed for the process's effective uid, or one of the directories in pathname did not allow search (execute) permission.</b><br>

2007:03:27-00:10:03: Unable to delete bytes log: /var/log/httpd/domains/domain.ext.bytes : Error truncating /var/log/httpd/domains/domain.ext.bytes : Permission denied<br>

And then these Dovecot errors which I have been getting for a while as well:

Apr 3 19:04:28 server dovecot[12020]: auth(default): passwd-file(username,217.*.*.*): no passwd file: /etc/virtual//passwd
Apr 3 19:04:28 server dovecot[12020]: auth(default): passwd-file(username,217.*.*.*): no passwd file: /etc/virtual//passwd

Thanks!

I am having similar issues with the second part about /etc/virtual//passwd

It only happens for user accounts and not virtual email accounts.

Freebsd 6.2
 
It should be /etc/virtual/domain/passwd, that's the problem. I guess you're using dovecot, you should want to take a look at /etc/dovecot.conf. More accurate at
Code:
args = /etc/virtual/%d/passwd
 
It should be /etc/virtual/domain/passwd, that's the problem. I guess you're using dovecot, you should want to take a look at /etc/dovecot.conf. More accurate at
Code:
args = /etc/virtual/%d/passwd

Thanks smtalk, this means that by default when you upgrade to dovecot with DirectAdmin the config file is inaccurate and points to the wrong directory!
 
Hey what the heck... my config file already has

args = /etc/virtual/%d/passwd

but it doesn't recognize the %d string! what can I do to fix this?
 
Try this:
Code:
cd /usr/local/directadmin/customapache
rm -rf dovecot-1.0.rc30.tar.gz
wget http://dovecot.org/releases/dovecot-1.0.rc30.tar.gz
tar xzf dovecot-1.0.rc30.tar.gz
cd dovecot-1.0.rc30
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --without-gssapi --with-passwd-file
make
make install

After all restart the dovecot service.
 
May I check your server? If yes - contact me via instant messenger.
 
jlasman, no he hasn't ;) I've just looked through it, he has tried to use just user instead of user@domain, that's why %d wasn't working.
 
Hello,

I believe it was a change made about a month ago to the dovecot.conf. I changed it back today. A user suggested we put the virtual user password checks first (for system accounts) to speed up access, as the main account user doesn't login very much. The problem with that was that the system user doesn't have a domain, so a non-existant file is checked. I've returned it to it's previous state.

To get the new dovecot.conf type:
Code:
wget -O /etc/dovecot.conf http://files.directadmin.com/services/customapache/dovecot.conf
John
 
Yep, it has solved my problem for sure. Thanks again John!

That user made a bad suggestion that's all I can say :p
 
Hmmm.

I still have this problem. I tried everything above but none of it worked for me :(

Could someone please help me?
 
Back
Top