LINUX.ORG.RU

Сообщения fred23

 

Установка pgadmin4 для postgreSQL fedora32

Форум — Admin

Здравствуйте всем! Пытался установить pgadmin4 на fedora 32, все делал по инструкции. Когда пытаюсь запустить выдает ошибку:

[root@localhost fred]# sudo python3 /usr/lib/python3.8/site-packages/pgadmin4-web/setup.py                    Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pgadmin4-web/setup.py", line 413, in <module>
    setup_db()
  File "/usr/lib/python3.8/site-packages/pgadmin4-web/setup.py", line 347, in setup_db
    app = create_app()
  File "/usr/lib/python3.8/site-packages/pgadmin4-web/pgadmin/__init__.py", line 400, in create_app
    driver.init_app(app)
  File "/usr/lib/python3.8/site-packages/pgadmin4-web/pgadmin/utils/driver/__init__.py", line 40, in init_app
    DriverRegistry.load_drivers()
  File "/usr/lib/python3.8/site-packages/pgadmin4-web/pgadmin/utils/driver/registry.py", line 88, in load_drivers
    module = import_module(module_name)
  File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/pgadmin4-web/pgadmin/utils/driver/psycopg2/__init__.py", line 19, in <module>
    import psycopg2
  File "/usr/lib64/python3.8/site-packages/psycopg2/__init__.py", line 51, in <module>
    from psycopg2._psycopg import (                     # noqa
ImportError: /usr/lib64/python3.8/site-packages/psycopg2/_psycopg.cpython-38-x86_64-linux-gnu.so: undefined symbol: PQencryptPasswordConn

psycopg2 вроде установлен.

 , ,

fred23
()

Разрешение экрана в Virtual Box

Форум — Linux-install

Всем доброго времени! Поставил fedora на virtual box, разрешение экрана только 800x600…

При попытке изменить разрешение экран гостя растягивается и сразу возвращается как был.

Пробовал установить vbox guest additions при установке имеем:

[root@localhost VBox_GAs_6.1.6]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.1.6 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.1.6 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
5.6.12-300.fc32.x86_64.
ValueError: File context for /opt/VBoxGuestAdditions-6.1.6/other/mount.vboxsf already defined
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
[root@localhost VBox_GAs_6.1.6]#

После установки все по прежнему…

 ,

fred23
()

RSS подписка на новые темы