"[Errno 13] Permission denied " while using dbt - cmd

I am new to using dbt. I am trying to set up dbt on my windows 10 machine for local development purposes which later I will send the changes to the production environment. When I run dbt debug. The connection to Bigquery is not successful. If I check the logs am getting the following error
BigQuery adapter: Got an error when attempting to create a bigquery client: '[Errno 13] Permission denied: 'C:\\Users\\path\\to\\my dbt installation''
I have tried to run cmd as administartor as suggested on some other post but am still getting this error.
Please assit.Thanks

Related

Ping-Connection-Pool throws Access Denied to DB although user exist and credentials are OK

I'm trying to create a jdbc-connection-pool using payara on the console. Using ./asadmin on Payara_Server/bin/
It is Running on Linux and the credentials for the database are user=jc and password=hola123 (dummies), It is for sure this credentials work. I tried them on Mariadb.
I create a connection pool using ./asadmin on Payara, it looks like this:
./asadmin create-jdbc-connection-pool --datasourceclassname org.mariadb.jdbc.MariaDbDataSource
--restype javax.sql.DataSource --property user=jc:password=hola123:DatabaseName=​cinev2:ServerName=localhost:port=3306 cinePool
Now, when I try:
./asadmin ping-connection-pool
I get an error like this:
remote failure: Ping Connection Pool failed for cinePool.
Connection could not be allocated because:
Access denied for user 'jc'#'localhost' to database '​cinev2' Please check the server.log for more details.
Command ping-connection-pool failed.
What would be the causes of this Issue other than Credentials? I have checked if the credentials are right and they are, So I've no clue on the issue.
Since it works when locally connecting to the DB it probably really is an access issue.
Please check if you did all steps outlined here: Access denied for user 'root'#'localhost' (using password: YES) after new installation on Ubuntu

greenplum initialization failed

When I tried to initialize Greenplum I got the following error
20180408:23:21:02:017614 gpstop:datanode3:root-[INFO]:-Starting gpstop with args:
20180408:23:21:02:017614 gpstop:datanode3:root-[INFO]:-Gathering information and validating the environment...
20180408:23:21:02:017614 gpstop:datanode3:root-[ERROR]:-gpstop error: postmaster.pid file does not exist. is Greenplum instance already stopped?
also when i tried to check gpstate command i got the following error
20180408:23:21:48:017711 gpstate:datanode3:root-[INFO]:-Starting gpstate with args:
20180408:23:21:48:017711 gpstate:datanode3:root-[INFO]:-local Greenplum Version: 'postgres (Greenplum Database) 5.7.0 build f7c6eb5-oss'
20180408:23:21:48:017711 gpstate:datanode3:root-[CRITICAL]:-gpstate failed. (Reason='could not connect to server: Connection refused
I also did the configuration an add a permission on PostgreSQL.conf, but the same issue
You have pasted the output of gpstop.
gpstop error: postmaster.pid file does not exist. is Greenplum
instance already stopped?
Which means that the database is not running.

Oracle Endeca (Commerce) forge error : Failed to create the directory C:: Permission denied at -e line 1

When trying to run baseline update in Oracle Commerce 11.3.0 I get the following error :
Failed to create the directory C:: Permission denied at -e line 1.
in the mkpath_repository log in endeca Platform services.The component Forge fails without any logs in the directory .\logs\forges\Forge . I have run by both endeca user as well as administrator which are both the owner of [appdir]. How do I fix this?
Thanks in advance.
If you haven't solved this yet, from your error message it sounds like it's trying to create the C directory. When the error message presents itself it should print out the path of the directory it's trying to create.
Example from Oracle Support: "Failed to remove directory D:\Endeca\apps\\config\script.....\data\complete_index_config: Permission denied at -e line 1."
Sounds like you might have a variable configured incorrectly somewhere.

Appfog "af update" Permisson denied Error

I'm using appfog that is application server service with a cloud.
When it comes to my problem, I'm create new app (node.js project) and trying to upload my project files with Af CLI Tool (on Ruby) but get an error (Permisson denied) also if running Google Chrome, I get the error:
Permission denied - ./AppData/Local/Google/Chrome/User Data/Default/Cache/data_0
If turn off Google Chrome I get the error "Permission denied - Read". Please help me.
You must enter the path of the project because by default updater you try to project your filepath: //C:/Users/userName.

Derby connection error: ERROR XBM0H: Directory /usr/opt/derby/db-derby-10.12.1.1-bin/bin/MyDbTest cannot be created

I am trying to setup Derby on my Mac following these instructions... Tutorial
When I try to run connect 'jdbc:derby:MyDbTest;create=true'; in ij I get the following error
ERROR XJ041: Failed to create database 'MyDbTest', see the next exception for details.
ERROR XBM0H: Directory /usr/opt/derby/db-derby-10.12.1.1-bin/bin/MyDbTest cannot be created.
I have tried googling this error a bit now with no success...
I also get a thread "main" java.lang.NoClassDefFoundError: org/apache/derby/tools/ij when trying to run as super user.
This should be a Permissions issue, try running all these commands throught a directory you have full permissions to such as ~/Documents/Derby.

Resources