Stuck At Initializing on CentOS 8

General discussions and questions.
Post Reply
Khiladi
Posts: 34
Joined: Mon Jul 06, 2020 6:49 am

Stuck At Initializing on CentOS 8

Post by Khiladi »

Hi,

Here is the error log in /var/log/httpd

Code: Select all

[Sun Oct 25 03:06:01.919634 2020] [lbmethod_heartbeat:notice] [pid 1518:tid 140129435580736] AH02282: No slotmem from mod_heartmonitor
[Sun Oct 25 03:06:01.920572 2020] [http2:warn] [pid 1518:tid 140129435580736] AH02951: mod_ssl does not seem to be enabled
[Sun Oct 25 03:06:01.921783 2020] [mpm_event:notice] [pid 1518:tid 140129435580736] AH00489: Apache/2.4.37 (centos) mod_wsgi/4.6.4 Python/3.6 configured -- resuming normal operations
[Sun Oct 25 03:06:01.921805 2020] [core:notice] [pid 1518:tid 140129435580736] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Oct 26 12:48:11.675745 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] 2020-10-26 12:48:11,674: ERROR\tflask.app:\t308 Permanent Redirect: None
[Mon Oct 26 12:48:11.675770 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] Traceback (most recent call last):
[Mon Oct 26 12:48:11.675775 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]   File "/usr/lib/python3.6/site-packages/pgadmin4-web/werkzeug/routing.py", line 1729, in match
[Mon Oct 26 12:48:11.675779 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]     rv = rule.match(path, method)
[Mon Oct 26 12:48:11.675784 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]   File "/usr/lib/python3.6/site-packages/pgadmin4-web/werkzeug/routing.py", line 834, in match
[Mon Oct 26 12:48:11.675788 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]     raise RequestSlash()
[Mon Oct 26 12:48:11.675792 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] werkzeug.routing.RequestSlash
[Mon Oct 26 12:48:11.675796 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] 
[Mon Oct 26 12:48:11.675800 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] During handling of the above exception, another exception occurred:
[Mon Oct 26 12:48:11.675803 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] 
[Mon Oct 26 12:48:11.675807 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] Traceback (most recent call last):
[Mon Oct 26 12:48:11.675811 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]   File "/usr/lib/python3.6/site-packages/pgadmin4-web/flask/app.py", line 1813, in full_dispatch_request
[Mon Oct 26 12:48:11.675815 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]     rv = self.dispatch_request()
[Mon Oct 26 12:48:11.675819 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]   File "/usr/lib/python3.6/site-packages/pgadmin4-web/flask/app.py", line 1791, in dispatch_request
[Mon Oct 26 12:48:11.675823 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]     self.raise_routing_exception(req)
[Mon Oct 26 12:48:11.675827 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]   File "/usr/lib/python3.6/site-packages/pgadmin4-web/flask/app.py", line 1774, in raise_routing_exception
[Mon Oct 26 12:48:11.675831 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]     raise request.routing_exception
[Mon Oct 26 12:48:11.675835 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]   File "/usr/lib/python3.6/site-packages/pgadmin4-web/flask/ctx.py", line 336, in match_request
[Mon Oct 26 12:48:11.675839 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]     self.url_adapter.match(return_rule=True)
[Mon Oct 26 12:48:11.675843 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]   File "/usr/lib/python3.6/site-packages/pgadmin4-web/werkzeug/routing.py", line 1734, in match
[Mon Oct 26 12:48:11.675847 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884]     query_args,
[Mon Oct 26 12:48:11.675853 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] werkzeug.routing.RequestRedirect: 308 Permanent Redirect: None
[Mon Oct 26 12:48:11.675867 2020] [wsgi:error] [pid 159152:tid 140129111381760] [remote 10.10.11.24:51884] 
[Mon Oct 26 14:15:10.273650 2020] [mpm_event:notice] [pid 1518:tid 140129435580736] AH00492: caught SIGWINCH, shutting down gracefully
[Mon Oct 26 14:15:11.725183 2020] [core:notice] [pid 199667:tid 140506622310720] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Oct 26 14:15:11.725987 2020] [suexec:notice] [pid 199667:tid 140506622310720] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 26 14:15:11.741645 2020] [so:warn] [pid 199667:tid 140506622310720] AH01574: module wsgi_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using cgru.redchillies.com. Set the 'ServerName' directive globally to suppress this message
[Mon Oct 26 14:15:11.743378 2020] [lbmethod_heartbeat:notice] [pid 199667:tid 140506622310720] AH02282: No slotmem from mod_heartmonitor
[Mon Oct 26 14:15:11.744127 2020] [http2:warn] [pid 199667:tid 140506622310720] AH02951: mod_ssl does not seem to be enabled
[Mon Oct 26 14:15:11.748087 2020] [mpm_event:notice] [pid 199667:tid 140506622310720] AH00489: Apache/2.4.37 (centos) mod_wsgi/4.6.4 Python/3.6 configured -- resuming normal operations
[Mon Oct 26 14:15:11.748116 2020] [core:notice] [pid 199667:tid 140506622310720] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Oct 26 14:18:42.341467 2020] [mpm_event:notice] [pid 199667:tid 140506622310720] AH00492: caught SIGWINCH, shutting down gracefully
[Mon Oct 26 14:18:43.458688 2020] [core:notice] [pid 199990:tid 140694522243392] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Oct 26 14:18:43.459444 2020] [suexec:notice] [pid 199990:tid 140694522243392] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 26 14:18:43.475077 2020] [so:warn] [pid 199990:tid 140694522243392] AH01574: module wsgi_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using cgru.redchillies.com. Set the 'ServerName' directive globally to suppress this message
[Mon Oct 26 14:18:43.476885 2020] [lbmethod_heartbeat:notice] [pid 199990:tid 140694522243392] AH02282: No slotmem from mod_heartmonitor
[Mon Oct 26 14:18:43.477576 2020] [http2:warn] [pid 199990:tid 140694522243392] AH02951: mod_ssl does not seem to be enabled
[Mon Oct 26 14:18:43.480844 2020] [mpm_event:notice] [pid 199990:tid 140694522243392] AH00489: Apache/2.4.37 (centos) mod_wsgi/4.6.4 Python/3.6 configured -- resuming normal operations
[Mon Oct 26 14:18:43.480872 2020] [core:notice] [pid 199990:tid 140694522243392] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Thanks
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Stuck At Initializing on CentOS 8

Post by timurhai »

Hi!
What is that?
You are trying to host Afanasy statistics site?
I do not see any cgru related messages in that log.
Statistics site does not use any Python at all.
It uses php and php-pgsql module to communicate database.
You can also try to look at web browser logs (console - ctrl+shift+k in firefox).
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Khiladi
Posts: 34
Joined: Mon Jul 06, 2020 6:49 am

Re: Stuck At Initializing on CentOS 8

Post by Khiladi »

Hi,

On Console I am getting this.

GET http://localhost/lib/styles.css net::ERR_ABORTED 404 (Not Found) localhost/:7
GET http://localhost/lib/js/cgru.js net::ERR_ABORTED 404 (Not Found) localhost/:9
POST http://localhost/server.php 500 (Internal Server Error) general.js:940
g_Request @ general.js:940
g_Init @ general.js:32
onload @ (index):13

Thanks
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Stuck At Initializing on CentOS 8

Post by timurhai »

```500 (Internal Server Error)```
In server logs i do not see any cgru related errors.
But i see lots of other errors.
Try to solve all other errors.
Try to test it all on a fresh (virtual) machine.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply