I had exactly the same problem installing the 'perfect setup' for debian sarge. I was using a 64 bit system though, and I think this problem have something to do with the the 64 bit system.
I'm pretty sure the error is an OS problem - not a permissions issue. After lots of futzing around, I found this:
Which explains that this error:
[Tue Feb 28 17:41:35 2006] [crit] [client xx.xx.xx.xx] (24)Too many open files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Is caused by more files being open on the system than are set as allowable in /proc/sys/fs/file-max.
you can tell how many files you're allowed to open by doing
# cat /proc/sys/fs/file-max
The obvious fix is to make it so you can open more files.
I tried almost doubling how many I allowed to open:
# echo 200072 > /proc/sys/fs/file-max
That seemed to sort out the problem, the trouble is, being a bad admin, I don't really know how many files I *should* allow to be open at any time.
This works, but am I introducing security flaws? I wish I was a better admin.
Anyway - from my experience so far, I would not
recommend running ispconfig under a 64 bit debian system - too fiddly, but workable so far.
Hope this helps someone one day. I was bewildered about this for a good few hours..