Raised This Month: $ Target: $400
 0% 

readonly database?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 08-21-2013 , 17:26   readonly database?
Reply With Quote #1

I've just recently switched to a new dedicated machine and have noticed this popping up in my error logs since.
PHP Code:
L 08/21/2013 20:41:37: [CLIENTPREFSFailed SQL QueryError"attempt to write a readonly database" (Query id 0 serial 0)
L 08/21/2013 20:41:37: [CLIENTPREFSFailed SQL QueryError"attempt to write a readonly database" (Query id 0 serial 0)
L 08/21/2013 20:41:43: [CLIENTPREFSFailed SQL QueryError"attempt to write a readonly database" (Query id 0 serial 0
And also from a plugin I'm running
PHP Code:
L 08/21/2013 20:42:35: [itemserver.smxProblem with queryattempt to write a readonly database
L 08
/21/2013 20:42:44: [itemserver.smxProblem with queryattempt to write a readonly database
L 08
/21/2013 20:42:49: [itemserver.smxProblem with queryattempt to write a readonly database 
And lastly, this is popping up at the start of the log.
PHP Code:
L 08/21/2013 20:41:36: [SMUnable to load extension "curl.ext"The application has failed to start because its side-by-side configuration is incorrectPlease see the application event log or use the command-line sxstrace.exe tool for more detail
Any ideas what could be causing it?

PHP Code:
SourceMod Version Information:
             
SourceMod Version1.5.0-dev+3890
             SourcePawn Engine
SourcePawn 1.1jit-x86 (build 1.5.0-dev+3890)
             
SourcePawn APIv1 4v2 4
             Compiled on
Aug 16 2013 09:33:34
             Build ID
3890:fcf43c2589a2
             http
://www.sourcemod.net/ 

Last edited by Snaggle; 08-21-2013 at 17:27.
Snaggle is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-21-2013 , 18:00   Re: readonly database?
Reply With Quote #2

Check the permissions to the files in addons/sourcemod/data/. The 2nd error with cURL is due to missing the correct version of the VC++ redistributables, see the extension's thread for details.
__________________

Last edited by asherkin; 08-21-2013 at 18:02.
asherkin is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 08-21-2013 , 18:20   Re: readonly database?
Reply With Quote #3

Thanks, I've downloaded the VC++ package.

As for the readonly error yes it seems the /data folder has been set to Read-Only. I untick it, but it just restores the Read-Only flag. I'll get in touch with our provider tomorrow and see what we can do.
Snaggle is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-21-2013 , 18:51   Re: readonly database?
Reply With Quote #4

Quote:
Originally Posted by Snaggle View Post
As for the readonly error yes it seems the /data folder has been set to Read-Only. I untick it, but it just restores the Read-Only flag. I'll get in touch with our provider tomorrow and see what we can do.
As far as I know, in Windows, the read-only flag only applies to files not folders, so you might be seeing the state of the contents rather than the data folder itself.
Try unsetting the flag on a file in the folder.
__________________
asherkin is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-21-2013 , 19:52   Re: readonly database?
Reply With Quote #5

Quote:
Originally Posted by asherkin View Post
As far as I know, in Windows, the read-only flag only applies to files not folders, so you might be seeing the state of the contents rather than the data folder itself.
Try unsetting the flag on a file in the folder.
Last I checked, folders can be read-only in NTFS.

And incidentally, unless otherwise specified, in NTFS folders inherit permissions from their parents.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-21-2013 at 19:57.
Powerlord is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 08-21-2013 , 21:00   Re: readonly database?
Reply With Quote #6

Quote:
Originally Posted by asherkin View Post
As far as I know, in Windows, the read-only flag only applies to files not folders, so you might be seeing the state of the contents rather than the data folder itself.
Try unsetting the flag on a file in the folder.
It appears every folder is like that, with the files inside normal. There is no Read-Only flag on any file inside the Sourcemod directory.

D:\Server1tf\addons\Sourcemod

The entire structure is that way. The host recently put our services on their webpanel so perhaps when they set that up they did something.
Snaggle is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode