I hate to be the guy to revive an old thread, but since this is the first result on Google when searching for the error message I felt the need to post a fix for one of the most common mistakes one might make to trigger this error:
When running the server under a different user than root on Linux, forgetting to give that user write permissions to the root folder of the gameserver triggers this exact error, so remember to do:
PHP Code:
chown -R steam:steam /opt/server-root-directory
Again, sorry to bump this thread, but it took me quite some time to realize my mistake and I'm sure it will help at least some people who are searching for a fix.