Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] httpd update last night, perfsonar borken badly!

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] httpd update last night, perfsonar borken badly!


Chronological Thread 
  • From: "Andrew Lake" <>
  • To: "" <>
  • Cc:
  • Subject: Re: [perfsonar-user] httpd update last night, perfsonar borken badly!
  • Date: Tue, 25 Aug 2015 05:36:49 -0700 (PDT)

Hi Winnie,

It looks like the problem is that permissions are wrong on your /var/log/perfsonar directory. I do not think the httpd update should have done this and I was unable to recreate it on my host. If other people are reading this email though and have seen this crop-up in the last day or so, then it would be very good to know. 

My guess though would be more along the lines that someone did an rm-rf /var/lib/perfsonar or similar recently in an attempt to clean out logs? Whatever the cause, you should be able to fix it with the following:

mkdir -p /var/log/perfsonar/web_admin
chown -R perfsonar:perfsonar /var/log/perfsonar
chown -R apache:apache /var/log/perfsonar/web_admin

The web page should come back right away after those commands. You may just want to reboot to make sure any other services affected bounce back. 

Thanks,
Nady




On Tue, Aug 25, 2015 at 3:48 AM, Winnie Lacesso <> wrote:


Good morning!

RHEL6/CentOS6 released an httpd update last night:

Aug 25 04:05:35 Updated: httpd-tools-2.2.15-47.el6.centos.i686
Aug 25 04:05:40 Updated: httpd-2.2.15-47.el6.centos.i686
Aug 25 04:05:41 Updated: 1:mod_ssl-2.2.15-47.el6.centos.i686

This morning both our bw & lat boxen httpd logs (which I check for badness
= malicious poking) are FULL of errors eg

/var/log/httpd/ssl_error_log:[Tue Aug 25 08:33:55 2015] [error] [client
128.142.136.248] Premature end of script headers: index.cgi
/var/log/httpd/ssl_error_log:[Tue Aug 25 08:34:55 2015] [error] [client
128.142.136.248] Premature end of script headers: index.cgi
/var/log/httpd/ssl_error_log:[Tue Aug 25 08:35:55 2015] [error] [client
128.142.136.248] Premature end of script headers: index.cgi

Trying to get to the toolkit url ends up at error
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, root@localhost and inform them of
the time the error occurred, and anything you might have done that may
have caused the error.
More information about this error may be available in the server error log.

/var/log/httpd/error_log contains lots of

[Tue Aug 25 08:41:35 2015] [error] [client 192.41.231.110] Cannot write to
'/var/log/perfsonar/web_admin/web_admin.log': Permission denied at
/usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 96.
[Tue Aug 25 08:41:35 2015] [error] [client 192.41.231.110] Premature end
of script headers: index.cgi

And in fact /var/log/perfsonar/web_admin DOES NOT EXIST! (presume: it used
to! - I could be wrong about that?)

root@lcgnetmon> ll /var/log/perfsonar/web_admin/web_admin.log
/bin/ls: cannot access /var/log/perfsonar/web_admin/web_admin.log: No such
file or directory
root@lcgnetmon> ll /var/log/perfsonar/web_admin/
/bin/ls: cannot access /var/log/perfsonar/web_admin/: No such file or
directory
root@lcgnetmon> ll /var/log/perfsonar
total 29976
-rw-r--r-- 1 root root 2168 Aug 25 02:31 clean_esmond_db.log
-rw-r--r-- 1 root root 0 Aug 24 16:00 config_daemon.log
-rw------- 1 root root 30680902 Aug 25 08:42 owamp_bwctl.log
-rw-r--r-- 1 root root 0 Aug 25 08:00 service_watcher_error.log
-rw-r--r-- 1 root root 203 Aug 25 01:05 service_watcher.log

Has anyone else seen this? Help! Advice most welcome!





Archive powered by MHonArc 2.6.16.

Top of Page