Bad file descriptor

6 posts / 0 new
Last post
#1 Fri, 02/26/2010 - 18:19
Ruriko

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?

Fri, 02/26/2010 - 18:23
andreychek

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"?

-Eric

Fri, 02/26/2010 - 19:27
Ruriko

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"

Fri, 02/26/2010 - 19:32
andreychek

Hrm, it sounds like something is awry there :-)

What do these two commands show:

df -h

mount

Fri, 02/26/2010 - 19:37
Ruriko
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs            150G  109G   42G  73% /
none                  3.9G  4.0K  3.9G   1% /dev

mount

/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)
Fri, 02/26/2010 - 23:27
Ruriko

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

Topic locked