Giter Site home page Giter Site logo

Comments (7)

adityatoshniwal avatar adityatoshniwal commented on September 27, 2024

@blueguy23 please share the screenshot and pgadmin logs.

from pgadmin4.

blueguy23 avatar blueguy23 commented on September 27, 2024

~$ cd /usr/pgadmin4/bin
/usr/pgadmin4/bin$ ./pgadmin4
./pgadmin4: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

I checked the pgadmin logs and it is empty. I just installed pgadmin4 today.

PGadmin4 webgui

from pgadmin4.

adityatoshniwal avatar adityatoshniwal commented on September 27, 2024

Try this sudo apt-get install libasound2 and start pgAdmin.

from pgadmin4.

blueguy23 avatar blueguy23 commented on September 27, 2024

Hmm, after installing libasound2 successfully, I've run into this error. I'm confused as to why it is trying to display when I want to access the Web GUI. I'm running pgadmin4 on a separate machine and trying to access the web gui from my laptop

./pgadmin4 --server
[2136:2136:0509/055318.816016:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY
[2136:2136:0509/055318.816386:ERROR:env.cc(255)] The platform failed to initialize. Exiting.

from pgadmin4.

qasimtahir91 avatar qasimtahir91 commented on September 27, 2024

If you are unable to access pgadmin using web url http://127.0.0.1/pgadmin4, below are the steps to find the root cause

  1. Try to access url in browser. if it fails
  2. share the logs at below location.
    /var/log/apache2/error.log
    These are apache2 logs. It might track error message when http request hits.

Probably when some library or .so file is missing, an error gets recorded at this log file (/var/log/apache2/error.log) showing the cause of error

from pgadmin4.

khushboovashi avatar khushboovashi commented on September 27, 2024

Hmm, after installing libasound2 successfully, I've run into this error. I'm confused as to why it is trying to display when I want to access the Web GUI. I'm running pgadmin4 on a separate machine and trying to access the web gui from my laptop

./pgadmin4 --server [2136:2136:0509/055318.816016:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY [2136:2136:0509/055318.816386:ERROR:env.cc(255)] The platform failed to initialize. Exiting.

You don't need to run ./pgadmin4 server separately, it is already running behind Apache. Just try to access the url from browser directly.

from pgadmin4.

yogeshmahajan-1903 avatar yogeshmahajan-1903 commented on September 27, 2024

No response from author, hence closing issue.

from pgadmin4.

Related Issues (20)

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.