BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} Reinstalling- new server - new to me error ( Prematureen d of scri pt) (Complete error messa
Thanks for the reply, yep "FollowSymLinks" is enabled and I am running cgi's
outta /var/www/cgi-bin.. I made lil progress, the perl path in the
beginning of larrd-grapher.cgi was incorrect.. sloppy i know :) This has
taken me to a whole new set of errors.
I have chmod 777 /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm
and /usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so just to make sure its not
a permissions issue. Below is my new nightmare of errors:
==> /var/log/messages <==
Mar 23 11:43:20 BBProd kernel: audit(1111596200.454:0): avc: denied {
search } for pid=27966 exe=/usr/bin/perl
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_kernel_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.454:0): avc: denied {
search } for pid=27966 exe=/usr/bin/perl name=sys dev=proc ino=-268435431
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.461:0): avc: denied {
search } for pid=27967 exe=/usr/bin/perl
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_kernel_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.461:0): avc: denied {
search } for pid=27967 exe=/usr/bin/perl name=sys dev=proc ino=-268435431
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.509:0): avc: denied { read
} for pid=27967 exe=/usr/bin/perl name=tmp dev=dm-0 ino=3276934
scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:tmp_t
tclass=lnk_file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.529:0): avc: denied {
execute } for pid=27967
path=/usr/local/rrdtool-1.0.48/lib/perl/auto/RRDs/RRDs.so dev=dm-0
ino=3655424 scontext=root:system_r:httpd_sys_script_t
tcontext=root:object_r:usr_t tclass=file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.547:0): avc: denied { read
} for pid=27966 exe=/usr/bin/perl name=tmp dev=dm-0 ino=3276934
scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:tmp_t
tclass=lnk_file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.567:0): avc: denied {
execute } for pid=27966
path=/usr/local/rrdtool-1.0.48/lib/perl/auto/RRDs/RRDs.so dev=dm-0
ino=3655424 scontext=root:system_r:httpd_sys_script_t
tcontext=root:object_r:usr_t tclass=file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.596:0): avc: denied {
search } for pid=27968 exe=/usr/bin/perl
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_kernel_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.596:0): avc: denied {
search } for pid=27968 exe=/usr/bin/perl name=sys dev=proc ino=-268435431
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.602:0): avc: denied {
search } for pid=27969 exe=/usr/bin/perl
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_kernel_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.602:0): avc: denied {
search } for pid=27969 exe=/usr/bin/perl name=sys dev=proc ino=-268435431
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.659:0): avc: denied { read
} for pid=27968 exe=/usr/bin/perl name=tmp dev=dm-0 ino=3276934
scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:tmp_t
tclass=lnk_file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.669:0): avc: denied { read
} for pid=27969 exe=/usr/bin/perl name=tmp dev=dm-0 ino=3276934
scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:tmp_t
tclass=lnk_file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.699:0): avc: denied {
execute } for pid=27968
path=/usr/local/rrdtool-1.0.48/lib/perl/auto/RRDs/RRDs.so dev=dm-0
ino=3655424 scontext=root:system_r:httpd_sys_script_t
tcontext=root:object_r:usr_t tclass=file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.707:0): avc: denied {
execute } for pid=27969
path=/usr/local/rrdtool-1.0.48/lib/perl/auto/RRDs/RRDs.so dev=dm-0
ino=3655424 scontext=root:system_r:httpd_sys_script_t
tcontext=root:object_r:usr_t tclass=file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.752:0): avc: denied {
search } for pid=27970 exe=/usr/bin/perl
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_kernel_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.752:0): avc: denied {
search } for pid=27970 exe=/usr/bin/perl name=sys dev=proc ino=-268435431
scontext=root:system_r:httpd_sys_script_t
tcontext=system_u:object_r:sysctl_t tclass=dir
Mar 23 11:43:20 BBProd kernel: audit(1111596200.783:0): avc: denied { read
} for pid=27970 exe=/usr/bin/perl name=tmp dev=dm-0 ino=3276934
scontext=root:system_r:httpd_sys_script_t tcontext=system_u:object_r:tmp_t
tclass=lnk_file
Mar 23 11:43:20 BBProd kernel: audit(1111596200.805:0): avc: denied {
execute } for pid=27970
path=/usr/local/rrdtool-1.0.48/lib/perl/auto/RRDs/RRDs.so dev=dm-0
ino=3655424 scontext=root:system_r:httpd_sys_script_t
tcontext=root:object_r:usr_t tclass=file
==> /var/log/httpd/error_log <==
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Can't load
'/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so' for module RRDs:
/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so: failed to map segment from
shared object: Permission denied at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: at /var/www/cgi-bin/larrd-grapher.cgi line 47,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Compilation failed in require at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: BEGIN failed--compilation aborted at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Can't load
'/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so' for module RRDs:
/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so: failed to map segment from
shared object: Permission denied at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: at /var/www/cgi-bin/larrd-grapher.cgi line 47,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Compilation failed in require at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: BEGIN failed--compilation aborted at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Can't load
'/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so' for module RRDs:
/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so: failed to map segment from
shared object: Permission denied at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: at /var/www/cgi-bin/larrd-grapher.cgi line 47,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Compilation failed in require at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: BEGIN failed--compilation aborted at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Can't load
'/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so' for module RRDs:
/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so: failed to map segment from
shared object: Permission denied at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: at /var/www/cgi-bin/larrd-grapher.cgi line 47,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Compilation failed in require at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: BEGIN failed--compilation aborted at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Can't load
'/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so' for module RRDs:
/usr/local/rrdtool/lib/perl/auto/RRDs/RRDs.so: failed to map segment from
shared object: Permission denied at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: at /var/www/cgi-bin/larrd-grapher.cgi line 47,
referer: http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: Compilation failed in require at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] [Wed Mar 23 11:43:20
2005] larrd-grapher.cgi: BEGIN failed--compilation aborted at
/var/www/cgi-bin/larrd-grapher.cgi line 47., referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Wed Mar 23 11:43:20 2005] [error] [client 10.30.1.1] File does not exist:
/var/www/html/favicon.ico
-----Original Message-----
From: PAUL WILLIAMSON [mailto:pwilliamson@mandtbank.com]
Sent: Wednesday, March 23, 2005 11:28 AM
To: AaronS@atl.fundtech.com; bb@bb4.com
Subject: RE: {bb} Reinstalling- new server - new to me error (
Prematureen d of scri pt) (Complete error messa
Have you looked in the Apache config to make sure the
"FollowSymLinks" is enabled? I'm not sure if this would have
an effect on your problem, but it might.
Is your larrd-grapher.cgi in /var/www/cgi-bin? I
can't remember what OS you have, but do a locate,
find or which to identify exact where that cgi is on
your system. Is it the actual file or a symlink to
the real deal?
Paul
>>> AaronS@atl.fundtech.com 03/23/05 10:37 AM >>>
I realized after posting this that I had not included all of the
errors.
I am following errors with this command "tail -F /var/log/messages
/usr/local/bb/LARRDOUT /usr/local/bb/BBOUT /var/log/httpd/error_log"
which i
think captures all of the potential log points for my problem.
Starting from when the trends dot is clicked here are the resulting
log
messages. I have gone so far as to chmod 777 lard-grapher.cgi and
lard-graphs.cgi, and i have pulled the files over to this server from
the
original one, which has the same result + and rrd error. The results
below
are from the new cgi's on the new server.
[Wed Mar 23 10:25:48 2005] [error] [client 10.30.1.1] File does not
exist:
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] (2)No such file
or
directory: exec of '/var/www/cgi-bin/larrd-grapher.cgi' failed,
referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] Premature end of
script headers: larrd-grapher.cgi, referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] (2)No such file
or
directory: exec of '/var/www/cgi-bin/larrd-grapher.cgi' failed,
referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] Premature end of
script headers: larrd-grapher.cgi, referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] (2)No such file
or
directory: exec of '/var/www/cgi-bin/larrd-grapher.cgi' failed,
referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] Premature end of
script headers: larrd-grapher.cgi, referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] (2)No such file
or
directory: exec of '/var/www/cgi-bin/larrd-grapher.cgi' failed,
referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] Premature end of
script headers: larrd-grapher.cgi, referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] (2)No such file
or
directory: exec of '/var/www/cgi-bin/larrd-grapher.cgi' failed,
referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] Premature end of
script headers: larrd-grapher.cgi, referer:
http://10.30.1.10/bb/html/BANPPTS.trends.html
[Wed Mar 23 10:35:39 2005] [error] [client 10.30.1.1] File does not
exist:
/var/www/html/favicon.ico
Thanks again for any pointers.
-Aaron
-----Original Message-----
From: Aaron Stranberg [mailto:AaronS@atl.fundtech.com]
Sent: Tuesday, March 22, 2005 6:08 PM
To: 'bb@bb4.com'
Subject: {bb} Reinstalling- new server - new to me error (Premature
end
of scri pt)
Hello all,
I am attempting to redeploy BB on a new and more deserving
server..
I am working with Larrd, it continually says accumulating data, and
when I
click on the link I get an Internal Server Error, also in
/var/log/messages
I am seeing the following:
[Tue Mar 22 18:03:55 2005] [error] [client 10.30.1.1] (2)No such file
or
directory: exec of '/var/www/cgi-bin/larrd-grapher.cgi' failed,
referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
[Tue Mar 22 18:03:55 2005] [error] [client 10.30.1.1] Premature end of
script headers: larrd-grapher.cgi, referer:
http://10.30.1.10/bb/html/BANPPDC.trends.html
I found an earlier thread about this and some one had asked anyone
getting
this to run the following:
[bb@BBProd cgi-bin]$ perl -cw larrd-grapher.cgi
[Tue Mar 22 18:05:12 2005] larrd-grapher.cgi: Unrecognized escape \B
passed
through at larrd-grapher.cgi line 1199.
[Tue Mar 22 18:05:12 2005] larrd-grapher.cgi: Unrecognized escape \B
passed
through at larrd-grapher.cgi line 1199.
larrd-grapher.cgi syntax OK
This is on Fedora Core 3, BB-1.9e, larrd-0.43c, and rrdtool-1.0.48..
Thanks for any pointers on this.
-Aaron
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index