All Apps and Add-ons

Splunk DB Connect Error: Access Denied

ShaneNewman
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

ShaneNewman
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

ShaneNewman
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...

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...