Bad file descriptor

I woke up this morning and I got this error in virtualmin & webmin saying “Failed to open /etc/webmin/apache/site for writing : Bad file descriptor” Now I can’t edit my database or do apply changes to my vps. How to fix this?

Does the file “/etc/webmin/apache/site” exist on your server?

That’s a file that should normally be there. If not, what about it’s parent directory, “/etc/webmin/apache”?


Yes I have the file /etc/webmin/apache/site. Also I get another error when viewing system information
“Failed to open /etc/webmin/webmin/oscache for writing”

Hrm, it sounds like something is awry there :slight_smile:

What do these two commands show:

df -h


Filesystem Size Used Avail Use% Mounted on
/dev/simfs 150G 109G 42G 73% /
none 3.9G 4.0K 3.9G 1% /dev

/dev/simfs on / type simfs (rw)
/proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

Oh i found the problem it was just a quota issue since I reached my max inode limit