PDA

View Full Version : Anyone know how to fix this error? Race condition


bfdzio
04-25-2017, 12:14 PM
Ok so last night I got reports from users with 1 particular thread causing problems giving them a 500 error. I checked the logs and this is what I got:

[Tue Apr 25 08:05:30.088781 2017] [core:error] [pid 27436:tid 139842581161728] [client 198.47.254.41:59955] Caught race condition abuser. attacker: 500, victim: 99 open file owner: 99, open file: /home/nciu/public_html/forum/clientscript/vbulletin_css/style00032l/dbtech_thanks.css, referer:

Now, I have tried all the maintaince stuff and also turned off storing stylesheets as files. Not sure what else to do? It seems to be an issue with permissions but it all goes back to the css files. I have made sure the permissions are good on all of them but also have turned off storing as files and still get the same result.

Any ideas?

Dave
04-25-2017, 12:24 PM
Did you only change the chmod permission or also the chown permission? In this case I'm pretty sure it's the chown permission you have to change.

bfdzio
04-25-2017, 03:02 PM
Did you only change the chmod permission or also the chown permission? In this case I'm pretty sure it's the chown permission you have to change.

Just now changed CHOWN to the account I host that site on and still having the issue. Blah. Some were set to nobody for the owners.

Any other clue by chance? Weird this only didn't start til yesterday as well. Nothing had changed.

Dave
04-25-2017, 04:18 PM
Did you execute chown recursively in the root folder of the website?

bfdzio
04-25-2017, 04:40 PM
Did you execute chown recursively in the root folder of the website?

Naw just the folder....good point. Seems obvious I should have done that. I'll do that in a bit.

--------------- Added 1493153264 at 1493153264 ---------------

Welp, I killed my site doing that. BRB now.

--------------- Added 1493153906 at 1493153906 ---------------

NVM, fixed it. I accidentally changed the public_html permissions at the same time. Still can't access that one thread though :-/