Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] perfSonar - Internal Server Error

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] perfSonar - Internal Server Error


Chronological Thread 
  • From: Shawn McKee <>
  • To: "Garnizov, Ivan (RRZE)" <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] perfSonar - Internal Server Error
  • Date: Fri, 10 Jul 2015 10:31:08 -0400

Hi Ivan,

There was a problem we have seen in 3.4.1 where old test results weren't cleaned up.

What does this command show?

du -hs /var/lib/perfsonar/regular_testing

(How much is there?)

If there is more than about 15 MB you may want to clean it up and reboot:

rm -rf /var/lib/perfsonar/regular_testing/*
reboot

Shawn

On Fri, Jul 10, 2015 at 10:25 AM, Garnizov, Ivan (RRZE) <> wrote:

Dear perfSONAR developers,

 

I have a strange case where a system that had been upgraded from 3.4.1 to 3.4.2 started experiencing errors on scheduled tests (regular_testing).

 

I have tried restarting the service, stopping /starting the service with killing all the powstream and bwctl processes, finally I restarted the server…but the problem persists.

 

ERROR> CmdRunner.pm:148 perfSONAR_PS::RegularTesting::Utils::CmdRunner::run - Command exited, will restart in 278 seconds : /usr/bin/powstream -4 -p -d /var/lib/perfsonar/regular_testing/owamp_sKeW0 -c 300 -i 0.01 -S psmp-tst-02.dub.ie.geant.net -t ma-dev2.bldc.grnoc.iu.edu

 

I am applying logs, current state of folder permissions and regular_testing.conf

 

There are logs from previous state when it was OK and the state after the upgrade.

 

Manual tests after the upgrade are successful:

[dfn.garnizov@test-rhps02 ~]$ owping -c 300 -i 0.01 -S psmp-tst-02.dub.ie.geant.net -t ps-test.ctc.grnoc.iu.edu

Approximately 6.8 seconds until results available

 

--- owping statistics from [psmp-tst-02.dub.ie.geant.net]:8847 to [ps-test.ctc.grnoc.iu.edu]:9334 ---

SID:    8cb62c5cd94a3e09053202dc3daf03e1

first:  2015-07-10T12:50:18.423

last:   2015-07-10T12:50:21.388

300 sent, 0 lost (0.000%), 0 duplicates

one-way delay min/median/max = 51.6/51.9/52.2 ms, (err=11.9 ms)

one-way jitter = 0.2 ms (P95-P50)

Hops = 9 (consistently)

no reordering

 

 

Best regards,

Ivan

 

 

 

 

From: [mailto:] On Behalf Of Szymon Trocha
Sent: Freitag, 10. Juli 2015 08:21
To: Manglos, Andrew P (173E)
Cc:
Subject: Re: [perfsonar-user] perfSonar - Internal Server Error

 

W dniu 2015-07-10 o 01:29, Manglos, Andrew P (173E) pisze:

Hello,

 

I’m getting an Internal Server Error 500 when trying to web to a perfSonar box. I looked at the error log and see:

 

[Thu Jul 09 19:25:03 2015] [error] [client 137.78.171.89] (13)Permission denied: exec of '/opt/perfsonar_ps/toolkit/web/root/index.cgi' failed

[Thu Jul 09 19:25:03 2015] [error] [client 137.78.171.89] Premature end of script headers: index.cgi

 

I check permissions on the file:

 

lrwxrwxrwx. 1 perfsonar perfsonar 22 Jul  9 19:10 /opt/perfsonar_ps/toolkit/web/root/index.cgi -> gui/services/index.cgi

 

and the file that points to:

 

 

-rwxr-xr-x. 1 perfsonar perfsonar 9892 Jun 22 15:06 /opt/perfsonar_ps/toolkit/web/root/gui/services/index.cgi

 

 

Can anyone tell me what is wrong? Or lead me in the correct direction?


Hi Andrew,

Is your behaviour similar to http://www.perfsonar.net/about/faq/#Q82 ?
If yes, check the SELinux settings in /etc/sysconfig/selinux. If it is set to enforcing, consider setting to permissive and rebooting.
If not helping let us know with more details from Apache log.

Regards,


-- 
Szymon Trocha
 
Poznań Supercomputing & Netw. Center ::: NETWORK OPERATION CENTER
Tel. +48 618582022 ::: http://noc.man.poznan.pl




Archive powered by MHonArc 2.6.16.

Top of Page