During adding a new file server, I've came across this problem where my XFSConfig.pm file was blank.
I thought I might have uploaded the file blank on accident (no idea how it would be blank in the first place) so I updated the XFSConfig.pm file and filled out the information and everything was working correctly.
A few hours later, I'm notified via email about an error with the file server again.
I checked my XFSConfig.pm file and it was blank again. For some reason, something is automatically wiping the file clean. blank clean...
Any idea what the issue could be?
thanks for all the help and feedback.
XFileSharing Pro - Issue with XFSConfig.pm being erased automatically
if your server is full it overwrites XFSConfig.pm
you can solve it by giving the file XFSConfig.pm rights 444 instead of 666
but when you want to make changes through script you always have to give rights back to 666 and then 444 again after you made the settings!
otherwise it will always be overwritten!
the best is you reduce the available space for uploads that your temp will always have e.g. 200 GB
let's say you have 4x2TB in raid 10. just allow 3000GB instead of 3200
you can solve it by giving the file XFSConfig.pm rights 444 instead of 666
but when you want to make changes through script you always have to give rights back to 666 and then 444 again after you made the settings!
otherwise it will always be overwritten!
the best is you reduce the available space for uploads that your temp will always have e.g. 200 GB
let's say you have 4x2TB in raid 10. just allow 3000GB instead of 3200
admin wrote:Looks like your server is out of disk space.
randy wrote:if your server is full it overwrites XFSConfig.pm
you can solve it by giving the file XFSConfig.pm rights 444 instead of 666
but when you want to make changes through script you always have to give rights back to 666 and then 444 again after you made the settings!
otherwise it will always be overwritten!
the best is you reduce the available space for uploads that your temp will always have e.g. 200 GB
let's say you have 4x2TB in raid 10. just allow 3000GB instead of 3200
Awesome,
thanks a lot for the help guys!
this really made much sense and It turns out the issue began with the hoster who issued me my file server.
I checked the disk space via putty with this command "df -h"
Code: Select all
[root@XXXXXX~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md2 9.7G 9.3G 0 100% /
/dev/md/4 2.7T 202M 2.6T 1% /home
tmpfs 12G 0 12G 0% /dev/shm
thanks again guys!
/)_-
Actually... I just realized something....
I used my cgi-bin/html directory in /var/.../....
so considering the information i mentioned earlier.....
I was supposed to put it in /home/.../....
but yea..
thanks again for the help! I got everything fixed ^_^
Actually... I just realized something....
I used my cgi-bin/html directory in /var/.../....
so considering the information i mentioned earlier.....
Code: Select all
[root@XXXXXX~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md2 9.7G 9.3G 0 100% /
/dev/md/4 2.7T 202M 2.6T 1% /home
tmpfs 12G 0 12G 0% /dev/shm
I was supposed to put it in /home/.../....
but yea..
thanks again for the help! I got everything fixed ^_^