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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...