Skip to main content
English contractions use apostrophes; 'WordPress' is the proper capitalization.
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

Recently my server started to behave weird and I have two issues which I believe to be related.

  • In Vi :
  • When I try to save a file I get :

         E509: Cannot create backup file
    

and I need to save using :x! - if I dontdon't force, it does not save.

  • When I open a file I get:

         E303: Unable to open swap file for "filename", recovery impossible
    
    • And any time I quit, I get:

        E138: Can't write viminfo file /root/.viminfo!
      
  • WordpressWordPress

It started to happen at the same time as the problem with Vi, all my installations of WordPress have a similar problem: every time I try to upload anything : image, theme, plugin, I get :

Missing a temporary folder. 

and I cannot upload the file.

  • Some element of solution:

I have tried to to fsck at reboot, it worked and the problem was fixed for a while, then it got corrupted again (a few hours later).

Any idea what's the problem? Any idea how to fix it?

I am running Ubuntu 12.04 on Amazon EC2

Recently my server started to behave weird and I have two issues which I believe to be related.

  • In Vi :
  • When I try to save a file I get :

         E509: Cannot create backup file
    

and I need to save using :x! - if I dont force, it does not save.

  • When I open a file I get:

         E303: Unable to open swap file for "filename", recovery impossible
    
    • And any time I quit, I get:

        E138: Can't write viminfo file /root/.viminfo!
      
  • Wordpress

It started to happen at the same time as the problem with Vi, all my installations of WordPress have a similar problem: every time I try to upload anything : image, theme, plugin, I get :

Missing a temporary folder. 

and I cannot upload the file.

  • Some element of solution:

I have tried to to fsck at reboot, it worked and the problem was fixed for a while, then it got corrupted again (a few hours later).

Any idea what's the problem? Any idea how to fix it?

I am running Ubuntu 12.04 on Amazon EC2

Recently my server started to behave weird and I have two issues which I believe to be related.

  • In Vi :
  • When I try to save a file I get :

         E509: Cannot create backup file
    

and I need to save using :x! - if I don't force, it does not save.

  • When I open a file I get:

         E303: Unable to open swap file for "filename", recovery impossible
    
    • And any time I quit, I get:

        E138: Can't write viminfo file /root/.viminfo!
      
  • WordPress

It started to happen at the same time as the problem with Vi, all my installations of WordPress have a similar problem: every time I try to upload anything : image, theme, plugin, I get :

Missing a temporary folder. 

and I cannot upload the file.

  • Some element of solution:

I have tried to to fsck at reboot, it worked and the problem was fixed for a while, then it got corrupted again (a few hours later).

Any idea what's the problem? Any idea how to fix it?

I am running Ubuntu 12.04 on Amazon EC2

Source Link

Temporary files problem

Recently my server started to behave weird and I have two issues which I believe to be related.

  • In Vi :
  • When I try to save a file I get :

         E509: Cannot create backup file
    

and I need to save using :x! - if I dont force, it does not save.

  • When I open a file I get:

         E303: Unable to open swap file for "filename", recovery impossible
    
    • And any time I quit, I get:

        E138: Can't write viminfo file /root/.viminfo!
      
  • Wordpress

It started to happen at the same time as the problem with Vi, all my installations of WordPress have a similar problem: every time I try to upload anything : image, theme, plugin, I get :

Missing a temporary folder. 

and I cannot upload the file.

  • Some element of solution:

I have tried to to fsck at reboot, it worked and the problem was fixed for a while, then it got corrupted again (a few hours later).

Any idea what's the problem? Any idea how to fix it?

I am running Ubuntu 12.04 on Amazon EC2