Coder Social home page Coder Social logo

greenbone-gmp-scripts's Introduction

ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ ā›µ

greenbone-gmp-scripts's People

Contributors

martinboller avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

greenbone-gmp-scripts's Issues

Pgsql errors encountered in install-gse

Hi,
When running the install-gse.sh(as root) on Debian Bookworm, I get these errors:

prepare_postgresql()                                                                                   
...create postgres user gvm                        
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
...create postgres user root     
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
...create database                                 
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
...setting postgres permissions                                                                        
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
CREATE ROLE           
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
GRANT ROLE                                         
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
GRANT ROLE
...create postgres extensions
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
CREATE EXTENSION
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
CREATE EXTENSION
could not change directory to "/opt/gvm/src/greenbone/greenbone-feed-sync": Permission denied
ERROR:  could not load library "/usr/lib/postgresql/15/lib/libpg-gvm.so": libgvm_base.so.22: cannot ope
n shared object file: No such file or directory
prepare_postgresql() finished

However, the permissions seems to be fine:

root@d12h-greenbone:/var/log# ls -ld /opt/gvm/src/greenbone/greenbone-feed-sync
drwxrwxr-x 6 gvm gvm 4096 Oct 23 12:15 /opt/gvm/src/greenbone/greenbone-feed-sync
root@d12h-greenbone:/var/log# ls -l /usr/lib/postgresql/15/lib/libpg-gvm.so
-rw-r--r-- 1 root root 72488 Jan  8 13:58 /usr/lib/postgresql/15/lib/libpg-gvm.so
root@d12h-greenbone:/var/log#

What could cause this?

The OS is hardened, but I'm not sure that matters. We don't usually have issues installing applications.

Thanks,

/tony

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.