System : **
Operating System: openSUSE Tumbleweed 20190403
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.5-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-5500U CPU @ 2.40GHz
Memory: 7,7 Gio
**
Applications :
pgadmin4
(and apache2, postgresql)
**Issue :
**
Hi everybody,
in order to configure a users database for a website in development, I installed pgadmin4 after Apache2 and Postgresql (LAPP), both of them were running fine. After installing pgadmin4 yesterday, it ran a couple hours and I could begin to configure my database.
This morning, I could not start apache2, it returned the error :
httpd-prefork: Syntax error on line 227 of /etc/apache2/httpd.conf: Syntax error on line 32 of /etc/apache2/vhosts.d/00_default.conf: Syntax error on line 1 of /etc/apache2/conf.d/pgadmin4.conf: Cannot load modules/mod_wsgi.so into server: /srv/www/modules/mod_wsgi.so: cannot open shared object file: No such file or directory
default vhost and default-server.conf have an include instruction for /etc/apache2/*.conf, and pgadmin4.conf begins with :
LoadModule wsgi_module modules/mod_wsgi.so
But there is no directory named ‘module’ in ‘/srv/www’, and beyond, no mod_wsgi.so on my system. So apache2 startup aborts.
As a workaround, I just renamed pgadmin4.conf to pgadmin4.conf.bak (instead of simply deleting it), which at least allows me to run apache2.
The weird thing is that pgadmin4 seems to still work well in my browser ! :\ I can browse the tables and make SQL queries.
So does it mean that **pgadmin4.conf (in /etc/apache2/conf.d) is useless ? **And since it tries to load module wsgi, is this one useless too ? If so, why was it added during installation ?
I’m afraid my workaround is awkward and could cause some issues.
Thanks for your hints.