Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] web interface refused to connect

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] web interface refused to connect


Chronological Thread 
  • From: Andrew Lake <>
  • To: Hao Bai <>
  • Cc: perfsonar-user <>, Antoine Delvaux <>
  • Subject: Re: [perfsonar-user] web interface refused to connect
  • Date: Thu, 30 Jun 2016 12:54:54 -0500

Hi,

Yep, that’s the wrong version. Try the following:

yum remove centos-release-scl centos-release-scl-rh
yum clean all
yum downgrade python27-mod_wsgi

If the second command lists “Internet2” as the repo you are downloading from, then you are in good shape. Restart httpd after it completes the downgrade.

Thanks,
Andy



On June 30, 2016 at 1:45:07 PM, Hao Bai () wrote:

Hi Andrew:

The info shows:

Loaded plugins: fastestmirror, presto
Determining fastest mirrors
epel/metalink                                                                                                                                                                                                         |  12 kB     00:00
 * Internet2: mirror.net.cen.ct.gov
 * updates: mirror.cogentco.com
Internet2                                                                                                                                                                                                             | 2.9 kB     00:00
Internet2-web100_kernel                                                                                                                                                                                               | 2.9 kB     00:00
base                                                                                                                                                                                                                  | 3.7 kB     00:00
centos-sclo-rh                                                                                                                                                                                                        | 2.9 kB     00:00
centos-sclo-sclo                                                                                                                                                                                                      | 2.9 kB     00:00
extras                                                                                                                                                                                                                | 3.4 kB     00:00
updates                                                                                                                                                                                                               | 3.4 kB     00:00
Installed Packages
Name        : python27-mod_wsgi
Arch          : x86_64
Version      : 3.4
Release     : 12.sc1.el6
Size          : 199 k
Repo         : installed
From repo  : centos-sclo-rh
Summary   : A WSGI interface for Python web applications in Apache
URL           : http://modwsgi.org
License      : ASL 2.0
Description : The mod_wsgi adapter is an Apache module that provides a WSGI compliant
                  : interface for hosting Python based web applications within Apache. The
                  : adapter is written completely in C code against the Apache C runtime and
                  : for hosting WSGI applications within Apache has a lower overhead than using
                  : existing WSGI adapters for mod_python or CGI.


I did add the internet-2 repo rpm following CentOS bundle installation. Is the above info implies the wrong version of python27-mod_wsgi?

Thanks.

--Hao

On Thu, Jun 30, 2016 at 1:37 PM, Andrew Lake <> wrote:
Hi,

What’s “yum info python27-mod_wsgi” show?

My guess would be that you have the wrong version of the above package. You need the version from the Internet2 repo. If you are also pointing at the SCL repos you may have gotten the version they provide. If that’s the case, you should disable the SCL repos (yum remove centos-release-scl) and try a “yum downgrade python27-mod_wsgi” or you may need to reinstall python27-mod_wsgi.

Thanks,
Andy


On June 30, 2016 at 1:01:21 PM, Hao Bai () wrote:

Hello Antoine:

Thank you for your reply.

The log messages in the original email is the last updated log file. Both access_log and error_log was last updated June 22nd.
I found out the toolkit is down on June 21st. The error message in my browser is 
"206.196.179.148 refused to connect. Try: Reloading the page; Checking the connection; Checking the proxy and firewall"

I just checked the access_log. The last updated entries is:
127.0.0.1 - - [22/Jun/2016:07:29:06 +0000] "PUT /esmond/perfsonar/archive/be1a23133e284a059e5b238ad1bc74ab/ HTTP/1.1" 201 2 "-" "libwww-perl/5.833"
127.0.0.1 - - [22/Jun/2016:07:29:19 +0000] "POST /esmond/perfsonar/archive/ HTTP/1.1" 201 3916 "-" "libwww-perl/5.833"
127.0.0.1 - - [22/Jun/2016:07:29:19 +0000] "PUT /esmond/perfsonar/archive/2bc60315c1b842459489909f6e2864f6/ HTTP/1.1" 201 2 "-" "libwww-perl/5.833"
127.0.0.1 - - [22/Jun/2016:07:30:06 +0000] "POST /esmond/perfsonar/archive/ HTTP/1.1" 201 3916 "-" "libwww-perl/5.833"
127.0.0.1 - - [22/Jun/2016:07:30:06 +0000] "PUT /esmond/perfsonar/archive/be1a23133e284a059e5b238ad1bc74ab/ HTTP/1.1" 201 2 "-" "libwww-perl/5.833"
127.0.0.1 - - [22/Jun/2016:07:30:24 +0000] "POST /esmond/perfsonar/archive/ HTTP/1.1" 201 3916 "-" "libwww-perl/5.833"
127.0.0.1 - - [22/Jun/2016:07:30:24 +0000] "PUT /esmond/perfsonar/archive/2bc60315c1b842459489909f6e2864f6/ HTTP/1.1" 201 2 "-" "libwww-perl/5.833"

I checked the apache status, it shows not running (/etc/init.d/httpd status). I tried to restart it, it shows:
Starting httpd: Syntax error on line 1 of /etc/httpd/conf.d/apache-esmond.conf:
Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configuration

The /etc/httpd/conf.d/apache-esmond.conf file is like this:

WSGIScriptAlias /esmond /usr/lib/esmond/esmond/wsgi.py
WSGIPythonPath /usr/lib/esmond/esmond:/usr/lib/esmond/lib/python2.7:/usr/lib/esmond/lib/python2.7/site-packages
WSGIPythonHome /usr/lib/esmond
WSGIPassAuthorization On
WSGISocketPrefix run/wsgi

WSGIDaemonProcess apache python-path=/usr/lib/esmond/esmond:/usr/lib/esmond/lib/python2.7:/usr/lib/esmond/lib/python2.7/site-packages home=/usr/lib/esmond processes=10 threads=5
WSGIProcessGroup apache

<Directory /usr/lib/esmond/esmond>
<Files wsgi.py>
SetEnv ESMOND_ROOT /usr/lib/esmond
SetEnv ESMOND_CONF /etc/esmond/esmond.conf
AuthType None
Order deny,allow
Allow from all
</Files>
</Directory>

Alias /esmond-static /usr/lib/esmond/staticfiles
<Directory "/usr/lib/esmond/staticfiles">
AllowOverride None
Order allow,deny
Allow from all
</Directory>


What is the problem of this?

Thanks.

--Hao

On Thu, Jun 30, 2016 at 7:34 AM, Antoine Delvaux <> wrote:
Hi Hao,

The log messages you’re sending us is old, probably older then your web interface issue.  Do you see anything else?  Is there any recent entries in /var/log/httpd/access-log ?

Can you see the apache processes running?

When you say the the web interface cannot be opened, what is the error message you get in your browser?

Thanks,

--                                                                --
Antoine Delvaux                                     Systems Engineer
Poznań Supercomputing & Network Center                 Skype: toninb
GÉANT project                                    Tel: +221.703368313
http://www.geant.net                  XMPP:
PGP fingerprint:  DC65 0D8B 6938 9229 33C3  18CA 4EB6 09D3 A333 3378

> Le 30 juin 2016 à 06:08, <> <> a écrit :
>
> Hi All:
>
> The web interface of my perfsonar toolkit cannot be opened from last week. I
> did not change any settings, just suddenly I cannot open the web interface.
>
> I tried restarting the VM all the services, not working. What could be the
> problem of this and what can I do to fix this? Any suggestions are welcome.
>
> Below is the error messages in /var/log/httpd/error-log
>
> [Tue Jun 21 02:07:20 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Tue Jun 21 02:07:23 2016] [error] [client 75.102.140.67] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:07:23 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:07:23 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:39:57 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Tue Jun 21 02:39:59 2016] [error] [client 75.102.140.67] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:39:59 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:39:59 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:39:59 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:41:47 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Tue Jun 21 02:41:48 2016] [error] [client 75.102.140.67] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:41:48 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:41:48 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:43:41 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Tue Jun 21 02:43:43 2016] [error] [client 75.102.140.67] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:43:43 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:43:43 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:59:44 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Tue Jun 21 02:59:46 2016] [error] [client 75.102.140.67] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:59:46 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 02:59:46 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 03:15:58 2016] [error] [client 68.200.131.240] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 03:15:58 2016] [error] [client 68.200.131.240] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 03:15:58 2016] [error] [client 68.200.131.240] Cannot get link
> status: Operation not permitted, referer: http://206.196.179.148/toolkit/
> [Tue Jun 21 03:36:10 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Tue Jun 21 03:36:12 2016] [error] [client 75.102.140.67] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 03:36:12 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 03:36:12 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 03:40:53 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Tue Jun 21 03:40:55 2016] [error] [client 75.102.140.67] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 03:40:55 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 03:40:55 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 03:42:34 2016] [error] [client 68.200.131.240] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 03:42:34 2016] [error] [client 68.200.131.240] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 03:42:34 2016] [error] [client 68.200.131.240] Cannot get link
> status: Operation not permitted, referer: http://206.196.179.148/toolkit/
> [Tue Jun 21 03:45:18 2016] [error] [client 68.200.131.240] cat: , referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 03:45:18 2016] [error] [client 68.200.131.240]
> /sys/class/net/eth0/speed, referer: http://206.196.179.148/toolkit/
> [Tue Jun 21 03:45:18 2016] [error] [client 68.200.131.240] : Invalid argument,
> referer: http://206.196.179.148/toolkit/
> [Tue Jun 21 03:45:18 2016] [error] [client 68.200.131.240] , referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 03:45:18 2016] [error] [client 68.200.131.240] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 03:45:18 2016] [error] [client 68.200.131.240] Cannot get link
> status: Operation not permitted, referer: http://206.196.179.148/toolkit/
> [Tue Jun 21 04:11:10 2016] [warn] [client 54.81.171.53] incomplete redirection
> target of '/toolkit/' for URI '/' modified to
> 'http://206.196.179.148/toolkit/'
> [Tue Jun 21 04:37:13 2016] [error] [client 68.200.131.240] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 04:37:13 2016] [error] [client 68.200.131.240] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://206.196.179.148/toolkit/
> [Tue Jun 21 04:37:13 2016] [error] [client 68.200.131.240] Cannot get link
> status: Operation not permitted, referer: http://206.196.179.148/toolkit/
> [Tue Jun 21 04:42:24 2016] [error] [client 75.102.140.67] cat: , referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 04:42:24 2016] [error] [client 75.102.140.67]
> /sys/class/net/eth0/speed, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 04:42:24 2016] [error] [client 75.102.140.67] : Invalid argument,
> referer: http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 04:42:24 2016] [error] [client 75.102.140.67] , referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 04:42:24 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 04:42:24 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Tue Jun 21 07:45:01 2016] [warn] [client 123.59.59.52] incomplete redirection
> target of '/toolkit/' for URI '/' modified to 'http://www.qyer.com/toolkit/'
> [Tue Jun 21 08:54:17 2016] [warn] [client 185.103.109.226] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://206.196.179.148/toolkit/'
> [Tue Jun 21 17:01:12 2016] [warn] [client 120.132.50.135] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://www.qyer.com/toolkit/'
> [Tue Jun 21 19:46:03 2016] [warn] [client 54.187.22.201] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://206.196.179.148/toolkit/'
> [Wed Jun 22 01:10:57 2016] [warn] [client 23.20.238.183] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://206.196.179.148/toolkit/'
> [Wed Jun 22 06:00:32 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Wed Jun 22 06:00:34 2016] [error] [client 75.102.140.67] cat:
> /sys/class/net/eth0/speed: Invalid argument, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:00:34 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:00:34 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:01:50 2016] [warn] [client 75.102.140.67] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://179-148.research.maxgigapop.net/toolkit/'
> [Wed Jun 22 06:01:51 2016] [error] [client 75.102.140.67] cat: , referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:01:51 2016] [error] [client 75.102.140.67]
> /sys/class/net/eth0/speed, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:01:51 2016] [error] [client 75.102.140.67] : Invalid argument,
> referer: http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:01:51 2016] [error] [client 75.102.140.67] , referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:01:51 2016] [error] [client 75.102.140.67] Cannot get
> wake-on-lan settings: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:01:51 2016] [error] [client 75.102.140.67] Cannot get link
> status: Operation not permitted, referer:
> http://179-148.research.maxgigapop.net/toolkit/
> [Wed Jun 22 06:41:16 2016] [warn] [client 131.162.130.180] incomplete
> redirection target of '/toolkit/' for URI '/' modified to
> 'http://206.196.179.148/toolkit/'
> [Wed Jun 22 07:30:32 2016] [notice] caught SIGTERM, shutting down
>
> Thanks in advance.
>
> --Hao






Archive powered by MHonArc 2.6.16.

Top of Page