Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] PerfSONAR 3.5 RC2 - NDT Unable to Login

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] PerfSONAR 3.5 RC2 - NDT Unable to Login


Chronological Thread 
  • From: Michael Johnson <>
  • To: "Remsik,Robert" <>
  • Cc: Szymon Trocha <>, "" <>
  • Subject: Re: [perfsonar-user] PerfSONAR 3.5 RC2 - NDT Unable to Login
  • Date: Wed, 16 Sep 2015 16:06:35 -0400

Hi Robert,

In 3.5, there are changes to /etc/httpd/conf.d/apache-toolkit_web_gui.conf as
well as some other files.

I'm guessing that something in the 3.5 apache changes has your NDT page
running under a different virtualhost, or is conflicting in some other way.

In particular, it looks like the toolkit_root_redirect.conf is redirecting me
from
http://perfsonar1.research-lan.colostate.edu:7123/
to
http://perfsonar1.research-lan.colostate.edu:7123/toolkit/

Your first step might be disabling that redirect and seeing where that gets you. My guess is you have to change something else once you fix that, to get rid of the auth problem.
I don't have apache serving up my NDT, so I'm not sure exactly how your
apache is configured with respect to NDT. Can you share that, and a directory
listing?

$ ls -l /etc/httpd/conf.d/

Thanks,
Michael

On Wed, Sep 16, 2015 at 02:20:28PM +0000, Remsik,Robert wrote:
root@perfsonar1:/opt/perfsonar_ps/toolkit/scripts
$ service ndt status

web100srv (pid 18845) is running...

You have new mail in /var/spool/mail/root

root@perfsonar1:/opt/perfsonar_ps/toolkit/scripts
$ uname -a

Linux perfsonar1.research-lan.colostate.edu 2.6.32-573.3.1.el6.web100.i686 #1
SMP Fri Aug 14 08:34:43 PDT 2015 i686 i686 i386 GNU/Linux


root@perfsonar1:/opt/perfsonar_ps/toolkit/scripts
$ service ndt restart

Stopping web100srv: [ OK ]

fakewww is stopped

fakewww disabled, not running [ OK ]

Starting web100srv: [ OK ]

fakewww disabled - see /etc/sysconfig/ndt [WARNING]

The logs only say that the webserver process has been started - same as
before.
-rw-r--r-- 1 nobody nobody 0 Sep 16 08:15 fakewww_access.log
-rw-r--r-- 1 nobody nobody 0 Sep 16 08:15 fakewww_error.log
-rw-r--r-- 1 root root 0 Sep 15 03:34 httpd_access.log
-rw-r--r-- 1 root root 0 Sep 15 03:34 httpd_error.log
-rw-r--r-- 1 root root 7016 Sep 16 08:16 web100srv.log
root@perfsonar1:/var/log/ndt
$

$ cat web100srv.log
Web100srv (ver 3.7.0.2) process (19862) started Sep 16 08:11:49
Web100srv (ver 3.7.0.2) process (19955) started Sep 16 08:12:11

.... Removed excess entries for length ....

Thank you in advance,
Robert


Robert Remsik

ACNS

Cell: 970 213 7219




________________________________
From: Szymon Trocha
<>
Sent: Wednesday, September 16, 2015 1:40 AM
To: Remsik,Robert
Cc:

Subject: Re: [perfsonar-user] PerfSONAR 3.5 RC2 - NDT Unable to Login

W dniu 15.09.2015 o 23:32, Remsik,Robert pisze:

Hello!


I'm trying to get NDT to work on 3.5RC2 with consistent failure. I've turned off
all other services, so this is just an NDT box. When I go to
(https://perfsonar1.research-lan.colostate.edu/toolkit/) it appears that NDT
(Version: 3.7.0.2-1.el6) is not running under 'status', but the CLI (web100srv is
running) when I do service ndt status. When I go to
(http://perfsonar1.research-lan.colostate.edu:7123/) to try to run the test,
everyone is asked to login and are redirected to
(<http://perfsonar1.research-lan.colostate.edu:7123/toolkit>http://perfsonar1.research-lan.colostate.edu:7123/toolkit).
I can create a user with (/opt/perfsonar_ps/toolkit/scripts/manage_users) which
people can then log into the admin interface and change things. The log files in
(/var/log/ndt) are not recording any errors.


I'm trying to restore similar behavior as 3.4 - An unauthenticated open NDT
page which I can give to an end user so they can test their connection; and
an authenticated page to modify services.


This is an upgrade of a 3.4 install.



Hi Robert,

Just for clarification can you provide outputs of:

service ndt status
uname -a

NDT is not enabled in the system by default

What happens if you do service ndt restart? Any messages in log?

Regards,

--
Szymon Trocha

Poznan Supercomputing & Netw. Center ::: NETWORK OPERATION CENTER
Tel. +48 618582022 ::: http://noc.man.poznan.pl

--
Michael Johnson
GlobalNOC Software Engineering
Indiana University

812-856-2771

Attachment: pgpkGrlHIIbCP.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.16.

Top of Page