[prev in list] [next in list] [prev in thread] [next in thread] 

List:       omd-users
Subject:    [omd-users] Rename/Move OMD site - Check_MK error
From:       Darren.Gibbard () galacoral ! com (Gibbard, Darren)
Date:       2012-07-10 12:25:09
Message-ID: 6B5C10F958EA784AA44C01EE0D7228E93FFE107A () WKSEPMBX02 ! ecommdir ! com
[Download RAW message or body]

Hi all,
I've just renamed our monitoring site from "coral" to "prod" (sudo omd mv coral prod) \
and am now getting the following when trying to access \
http://<ourserverip>/prod/check_mk/ :

"
Tue Jul 10 13:11:08 2012 notice  mod_python: Creating 8 session mutexes based on 128 \
max processes and 0 max threads. Tue Jul 10 13:11:08 2012 notice  mod_python: using \
mutex_directory /tmp Tue Jul 10 13:11:08 2012 notice  Apache/2.2.15 (Unix) \
mod_python/3.3.1 Python/2.6.6 mod_fcgid/2.3.6 configured -- resuming normal \
operations Tue Jul 10 13:11:12 2012 error   [client 127.0.0.1] mod_python (pid=30334, \
interpreter='prod', phase='PythonHandler', handler='index'): Application error, \
referer: http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1] ServerName: '10.31.171.10', referer: http://10.31.171.10/prod/check_mk/ \
Tue Jul 10 13:11:12 2012 error   [client 127.0.0.1] DocumentRoot: \
'/omd/sites/prod/var/www', referer: http://10.31.171.10/prod/check_mk/ Tue Jul 10 \
13:11:12 2012 error   [client 127.0.0.1] URI: '/prod/check_mk/index.py', referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1] Location: None, referer: http://10.31.171.10/prod/check_mk/ Tue Jul 10 \
13:11:12 2012 error   [client 127.0.0.1] Directory: \
'/omd/sites/prod/share/check_mk/web/htdocs/', referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1] Filename: '/omd/sites/prod/share/check_mk/web/htdocs/index.py', referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1] PathInfo: '', referer: http://10.31.171.10/prod/check_mk/ Tue Jul 10 \
13:11:12 2012 error   [client 127.0.0.1] Traceback (most recent call last):, referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1]   File "/omd/versions/0.55.20120623/lib/python/mod_python/importer.py", \
line 1540, in HandlerDispatch\n    default=default_handler, arg=req, \
silent=hlist.silent), referer: http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 \
2012 error   [client 127.0.0.1]   File \
"/omd/versions/0.55.20120623/lib/python/mod_python/importer.py", line 1232, in \
_process_target\n    result = _execute_target(config, req, object, arg), referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1]   File "/omd/versions/0.55.20120623/lib/python/mod_python/importer.py", \
line 1131, in _execute_target\n    result = object(arg), referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1]   File "/omd/sites/prod/share/check_mk/web/htdocs/index.py", line 390, in \
handler\n    html.header(_("Internal error")), referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1]   File "/omd/sites/prod/share/check_mk/web/htdocs/htmllib.py", line 799, \
in header\n    self.top_heading(title), referer: http://10.31.171.10/prod/check_mk/ \
Tue Jul 10 13:11:12 2012 error   [client 127.0.0.1]   File \
"/omd/sites/prod/share/check_mk/web/htdocs/htmllib.py", line 816, in top_heading\n    \
self.help_visible = config.load_user_file("help", False)  # cache for later usage, \
referer: http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1]   File "/omd/sites/prod/share/check_mk/web/htdocs/config.py", line 325, in \
load_user_file\n    path = user_confdir + "/" + name + ".mk", referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 error   [client \
127.0.0.1] NameError: global name 'user_confdir' is not defined, referer: \
http://10.31.171.10/prod/check_mk/ Tue Jul 10 13:11:12 2012 notice  mod_python \
(pid=30334, interpreter='prod'): Importing module \
'/omd/sites/prod/share/omd/htdocs/index.py' "

That's a little beyond me... any ideas on where to start looking?

Thanks in advance,
Darren.

This email has been sent from Gala Coral Group Limited ("GCG") or a subsidiary or \
associated company. GCG is registered in England with company number 07254686.   \
Registered office address: 71 Queensway, London W2 4QH, United Kingdom; website: \
www.galacoral.com.

This e-mail message (and any attachments) is confidential and may contain privileged \
and/or proprietorial information protected by legal rules.  It is for use by the \
intended addressee only. If you believe you are not the intended recipient or that \
the sender is not authorised to send you the email, please return it to the sender \
(and please copy it to hq at galacoral.com) and then delete it from your computer.  \
You should not otherwise copy or disclose its contents to anyone.

Except where this email is sent in the usual course of business, the views expressed \
are those of the sender and not necessarily ours.  We reserve the right to monitor \
all emails sent to and from our businesses, to protect the businesses and to ensure \
compliance with internal policies.

Emails are not secure and cannot be guaranteed to be error-free, as they can be \
intercepted, amended, lost or destroyed, and may contain viruses; anyone who \
communicates with us by email is taken to accept these risks.  GCG accepts no \
liability for any loss or damage which may be caused by software viruses.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic