Giter Site home page Giter Site logo

Permision denied about iysql HOT 10 CLOSED

influx-code avatar influx-code commented on May 31, 2024
Permision denied

from iysql.

Comments (10)

Ilcyb avatar Ilcyb commented on May 31, 2024

@zhangchangwei
你直接用用soar执行的时候用的机器和你安装iysql的机器是同一台吗?

from iysql.

zhangchangwei avatar zhangchangwei commented on May 31, 2024

@Ilcyb 是同一台机器

from iysql.

90wukai avatar 90wukai commented on May 31, 2024

@zhangchangwei 你直接使用soar执行的时候参数跟iysql不一样,permision denied是soar需要对数据库有建库(临时库)的权限

from iysql.

zhangchangwei avatar zhangchangwei commented on May 31, 2024

@90wukai 单独使用soar执行是没有报错的,在iysql才报的,而且用户也都是使用root管理员用户

from iysql.

ty4z2008 avatar ty4z2008 commented on May 31, 2024

这个是因为Linux下面无执行的权限。iysql是以什么权限运行的?

  1. ls -al 检查soar是什么权限
  2. iysql的权限需要与soar的权限一致,因为是内部调用soar执行程序

from iysql.

zhangchangwei avatar zhangchangwei commented on May 31, 2024

@ty4z2008 全部授予了777权限,以root最高权限运行

from iysql.

zhangchangwei avatar zhangchangwei commented on May 31, 2024

@ty4z2008 我似乎知道什么原因了,iysql调soar命令路径没有找对,但系统环境变量我设置过了,soar可以直接调用,为啥iysql要去找绝对路径嘞?

from iysql.

zhangchangwei avatar zhangchangwei commented on May 31, 2024

想知道为什么iysql调用soar命令没有直接使用系统设置的环境变量soar而是找的绝对路径,但绝对路径只到了soar命令的上级目录,导致找不到

from iysql.

zhangchangwei avatar zhangchangwei commented on May 31, 2024

可以了,感谢各位,由于环境变量问题

from iysql.

ty4z2008 avatar ty4z2008 commented on May 31, 2024

想知道为什么iysql调用soar命令没有直接使用系统设置的环境变量soar而是找的绝对路径,但绝对路径只到了soar命令的上级目录,导致找不到

命令查找的方式是遵循Linux的命令查找方式的,首先会检查环境变量,然后查找/usr/bin/或/usr/sbin等目录。如果无法找到就会提示。iysql内部也是通过执行soar的命令

from iysql.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.