Doesn't work after a fresh install

Dear Community,

after the installation of a new and up-to-date operating system (Debian) and after the installation of the latest version of checkmk available, when I go to my checkmk site in http, I get the login window in which I enter my login and password freshly generated by the installation, after a few seconds I get a “408 Request Timeout” with the following message,

Request Timeout
Server timeout waiting for the HTTP request from the client.

Here the /var/log/apache2/error.log :

[Thu Dec 12 10:12:11.411399 2019] [proxy_http:error] [pid 29060] (70007)The timeout specified has expired: [client MY-CLIENT-IP:50550] AH01095: prefetch request body failed to 127.0.0.1:5000 (127.0.0.1) from MY-CLIENT-IP (), referer: http://SERVER-IP/site/check_mk/login.py

Any idea ?

Thanks for helping.
F

Hi, please confirm that your site that you want to access is running.
You can do that with the following command as the site user:

omd status

You can find more info here -> https://checkmk.com/cms_omd_basics.html

1 Like

Yes, everything is running :

omd status

Doing ‘status’ on site site:
mkeventd: running
liveproxyd: running
mknotifyd: running
rrdcached: running
cmc: running
apache: running
dcd: running
crontab: running

Overall state: running

Hi,
what’s about selinux? Did you check the settings? You can set in /etc/selinux/config:
SELINUX=disabled

Regards,
Christian

Hello,

by default selinux is not installed/enabled under Debian 10!

Thanks
F

Hallo,
plain system for check-mk only or are other services etc. are running too.
Ralf

Hello,

sadly I can’t access http://IP/site, how to check if other services are running ?

Danke
F

Login from remote via ssh?
Ralf

I know how to manage a linux server… but, what do you mean by “other services” ?

My OS is freshly installed, and no changes has been made, except of installing gdebi.

Thanks
F

After some investigations, the backend is not answering behind the modproxy which is listening the tcp/80.

I’ve change the listen from 127.0.0.1: to 0.0.0.0:5000 in order to be able to make some tests from my browser. 110 secondes later I’m getting the following Internal Error :

Thu Dec 12 16:19:53.803857 2019 :error  [pid 31261] [client my-client-ip:60302] mod_python (pid=31261, interpreter='mysite', phase='PythonHandler', handler='index'): Application error, referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.803978 2019 :error  [pid 31261] [client my-client-ip:60302] ServerName: 'server-ip', referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.803992 2019 :error  [pid 31261] [client my-client-ip:60302] DocumentRoot: '/omd/sites/mysite/var/www', referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.804008 2019 :error  [pid 31261] [client my-client-ip:60302] URI: '/mysite/check_mk/login.py', referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.804016 2019 :error  [pid 31261] [client my-client-ip:60302] Location: None, referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.804026 2019 :error  [pid 31261] [client my-client-ip:60302] Directory: '/omd/sites/mysite/share/check_mk/web/htdocs/', referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.804041 2019 :error  [pid 31261] [client my-client-ip:60302] Filename: '/omd/sites/mysite/share/check_mk/web/htdocs/login.py', referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.804053 2019 :error  [pid 31261] [client my-client-ip:60302] PathInfo: '', referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.806175 2019 :error  [pid 31261] [client my-client-ip:60302] Traceback (most recent call last):, referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.806202 2019 :error  [pid 31261] [client my-client-ip:60302]   File "/omd/sites/mysite/lib/python/mod_python/importer.py", line <b class=line>1544</b>, in HandlerDispatch\n    default=default_handler, arg=req, silent=hlist.silent), referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.806212 2019 :error  [pid 31261] [client my-client-ip:60302]   File "/omd/sites/mysite/lib/python/mod_python/importer.py", line <b class=line>1236</b>, in _process_target\n    result = _execute_target(config, req, object, arg), referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.806249 2019 :error  [pid 31261] [client my-client-ip:60302]   File "/omd/sites/mysite/lib/python/mod_python/importer.py", line <b class=line>1135</b>, in _execute_target\n    result = object(arg), referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.806258 2019 :error  [pid 31261] [client my-client-ip:60302]   File "/omd/sites/mysite/share/check_mk/web/htdocs/index.py", line <b class=line>51</b>, in handler\n    __builtin__.html = html_mod_python(mod_python_req, fields), referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.806266 2019 :error  [pid 31261] [client my-client-ip:60302]   File "/omd/sites/mysite/share/check_mk/web/htdocs/htmllib.py", line <b class=line>1122</b>, in handle_request_timeout\n    self.request_timeout()), referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.806275 2019 :error  [pid 31261] [client my-client-ip:60302] RequestTimeout: Your request timed out after 110 seconds. This issue may be related to a local configuration problem or a request which works with a too large number of objects. But if you think this issue is a bug, please send a crash report., referer: server-ip:5000/mysite/check_mk/login.py?_origtarget=index.py
Thu Dec 12 16:19:53.807056 2019 :notice [pid 31261] mod_python (pid=31261, interpreter='mysite'): Importing module '/omd/sites/mysite/share/omd/htdocs/index.py'

Any idea ?

Thanks
F

ok,
fresh setup without any other web-applications erc…
Ralf

Anything, only gdebi package which is not installed by default.

Thanks
F

Which debian version exact?
Iso from debian.org?
Ralf

ISO from Debian.org :

# cat /etc/debian_version 
10.2

# uname -a
Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux