All Apps and Add-ons

Splunk DB Connect Error: Access Denied

Motivator

I am getting a access is denied error, everything was working fine until yesterday. No changes were made in the environment that I am aware of, other than updating the dbx app to the new version. Any insight on how to correct this would be greatly appreciated!

2013-06-11 23:04:14.380 dbx4876:ERROR:TailDatabaseMonitor - Error while executing database monitor: com.splunk.env.SplunkEnvironmentException: IO Error while handing spool directory event outupt: java.io.IOException: Access is denied
com.splunk.env.SplunkEnvironmentException: IO Error while handing spool directory event outupt: java.io.IOException: Access is denied
at com.splunk.output.impl.SpoolOutputChannel.createFile(SpoolOutputChannel.java:91)
at com.splunk.output.impl.SpoolOutputChannel.checkBufferSizeAndTime(SpoolOutputChannel.java:138)
at com.splunk.output.impl.SpoolOutputChannel.send(SpoolOutputChannel.java:159)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.sendEvent(DatabaseMonitorExecutor.java:76)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.sendEvent(DatabaseMonitorExecutor.java:72)
at com.splunk.dbx.monitor.impl.TailDatabaseMonitor.performMonitoring(TailDatabaseMonitor.java:128)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.executeMonitor(DatabaseMonitorExecutor.java:126)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:102)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:37)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(Unknown Source)
at com.splunk.output.impl.SpoolOutputChannel.createFile(SpoolOutputChannel.java:83)
... 19 more

0 Karma
1 Solution

Motivator

Turned out that our service account did not have the proper permissions to the Splunk directory.

The bad news is that this Windows issue required us to completely refresh the OS because the connection to AD had become corrupted and the server itself was isolated off of the domain.

If only there wasn't a 6 month delay for Linux builds...

View solution in original post

0 Karma

Motivator

Turned out that our service account did not have the proper permissions to the Splunk directory.

The bad news is that this Windows issue required us to completely refresh the OS because the connection to AD had become corrupted and the server itself was isolated off of the domain.

If only there wasn't a 6 month delay for Linux builds...

View solution in original post

0 Karma