SVN Commit Error (couldn't perform atomic operation)

31.8k Views Asked by At

Everything was working fine, when all of a sudden, I am getting a

svn: Commit failed (details follow):
svn: Couldn't perform atomic initialization

What could the problem be ?

I am using "projectlocker" (http://projectlocker.com/)

OS: Ubuntu10.04

8

There are 8 best solutions below

5
On BEST ANSWER

Weird, it started working fine, after about 15 mins.

I did not do anything.

0
On

In my case I missed the space between 'create' and 'repo path'. I had the error message writing:

svnadmin create/repo_path

instead of

svnadmin create /repo_path
4
On

In my case, it was because the partition that svn had been installed in, was full.

0
On

Same issue.

Had 'PROPPATCH' and 'atomic initialization' issues.

Filesystem was okay..

FIX: restart the apache daemon.

0
On

I came across the same issue but mine was because of insufficient access privilege to /tmp folder which will be used by svn when creating a commit.

When I exam apache error log /var/log/apache2/error.log I saw [Thu Aug 16 13:46:39.498037 2018] [:error] [pid 78] [client 172.16.50.6:60010] Couldn't perform atomic initialization [500, #200029] [Thu Aug 16 13:46:39.498043 2018] [:error] [pid 78] [client 172.16.50.6:60010] Can't find a temporary directory: Internal error [500, #20014] So if anyone see these logs in your apache server's error log it might be the same reason as mine. After changing my /tmp access right to 777 the problem disappears.

1
On

I have faced the similar issue.

Cause - file system became read only. fix - reboot the server

1
On

Make sure there is space on your SVN Server's hard drive partition!

I noticed the same behavior. Wait a couple minutes then it worked. But that didn't always fix the problem. After looking at our SVN server we found that one of the partitions (the one that the server was on) was chalk full.

I had our IT guy clean up some of the space and everything worked nice and slick after that.

0
On

In my case this was caused by the fact that apache was loading libphp5 module before mod_dav_svn and mod_authz_svn. The problem is that Apache is loading the implementation of libsqlite included in libphp5. So basically put LoadModule dav_svn_module and LoadModule authz_svn_module before LoadModule php5_module in your httpd.conf. This worked for me.