Admintool V0.2.0 Blank Pages
list Dan Guertin
Hi, Any Ideas why this is happening? Running Hobbit 4.2 on Solaris 9 X86, I added the Admintools V0.2.6 and Apache log is showing the following errors: /export/home/hobbit/cgi-secure/adminscripts_viewlogs.sh: syntax error at line 455: e_temp=$' unexpected /export/home/hobbit/cgi-secure/adminscripts_testalarm.sh: syntax error at line 455:`date_temp=$' unexpected /export/home/hobbit/cgi-secure/adminscripts_edit_files.sh: syntax error at line 28:`FILEX=' unexpected /export/home/hobbit/cgi-secure/adminscripts_chhostservice.sh: syntax error at line 455: `date_temp=$' unexpected /export/home/hobbit/cgi-bin/adminscripts_view_graph.sh: syntax error at line 455: `date_temp=$' unexpected Thanks Dan Guertin Senior Lab Engineer Team Lead Time Warner Cable user-3418606d2d41@xymon.invalid <mailto:user-3418606d2d41@xymon.invalid> XXX-XXX-XXXX Desk XXX-XXX-XXXX Cell This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
list Stefan Freisler
Hi, do you have installed perl? I think you don't have gnu date and my script normaly use it to convert dates. But if you don't use it you can use perl instead you must switch this_usePerl="false" to this_usePerl="true" in all scripts in Configuration Part. I hope this solve your problems if not email me. best regards Stefan Freisler EDV-Abteilung aspect online AG Beim Glaspalast 1 86153 Augsburg Fon: +49(0)821-247 47 085 user-75055581652a@xymon.invalid www.aspect-online.de Vorstand: Reinhold Berger, Helmut Paesler, Wolfgang Schütz Aufsichtsrat: Stephan Gabriel (Vors.), Helmut Kühl, Joachim Bähre Amtsgericht Augsburg HRB 2024 Sitz der Gesellschaft: Augsburg Ust-ID:DE 204754384 "Guertin, Dan" <user-3418606d2d41@xymon.invalid> schrieb am 08.02.2007 16:34:20:
Hi, Any Ideas why this is happening? Running Hobbit 4.2 on Solaris 9 X86, I added the Admintools V0.2. 6 and Apache log is showing the following errors:
▸
/export/home/hobbit/cgi-secure/adminscripts_viewlogs.sh: syntax
error at line 455: e_temp=$' unexpected
/export/home/hobbit/cgi-secure/adminscripts_testalarm.sh: syntax
error at line 455:`date_temp=$' unexpected
/export/home/hobbit/cgi-secure/adminscripts_edit_files.sh: syntax
error at line 28:`FILEX=' unexpected
/export/home/hobbit/cgi-secure/adminscripts_chhostservice.sh: syntax
error at line 455: `date_temp=$' unexpected
/export/home/hobbit/cgi-bin/adminscripts_view_graph.sh: syntax error
at line 455: `date_temp=$' unexpected
Thanks
Dan Guertin
Senior Lab Engineer
Team Lead
Time Warner Cable
user-3418606d2d41@xymon.invalid
XXX-XXX-XXXX Desk
XXX-XXX-XXXX Cell
This E-mail and any of its attachments may contain Time Warner
Cable proprietary information, which is privileged, confidential,
or subject to copyright belonging to Time Warner Cable. This E-mail
is intended solely for the use of the individual or entity to which
it is addressed. If you are not the intended recipient of this
E-mail, you are hereby notified that any dissemination,
distribution, copying, or action taken in relation to the contents
of and attachments to this E-mail is strictly prohibited and may be
unlawful. If you have received this E-mail in error, please notify
the sender immediately and permanently delete the original and any
copy of this E-mail and any printout.To unsubscribe from the hobbit
list, send an e-mail to
user-095ef1c764a2@xymon.invalidlist Dan Guertin
Hello. I am still unable to get anything.. (Blank Screen) here is the Apache logs: with this_usePerl="true" [Fri Feb 9 18:09:01 2007] [notice] caught SIGTERM, shutting down [Fri Feb 9 18:12:05 2007] [notice] Apache/1.3.31 (Unix) mod_perl/1.25 configured -- resuming normal operations [Fri Feb 9 18:12:05 2007] [notice] Accept mutex: fcntl (Default: fcntl)
▸
/export/home/hobbit/cgi-bin/adminscripts_view_graph.sh: syntax error at
line 455: `date_temp=$' unexpected
/export/home/hobbit/cgi-secure/adminscripts_viewlogs.sh: syntax error at
line 455: `date_temp=$' unexpected
/export/home/hobbit/cgi-bin/adminscripts_view_graph.sh: syntax error at
line 455: `date_temp=$' unexpected
[Fri Feb 9 18:24:48 2007] [error] [client 10.157.70.150] Premature end
of script headers: /export/home/hobbit/cgi-secure/hobbit-enadis.sh
[Fri Feb 9 18:24:58 2007] [error] [client 10.157.70.150] Premature end
of script headers: /export/home/hobbit/cgi-secure/hobbit-enadis.sh
[Fri Feb 9 18:30:50 2007] [error] [client 10.157.70.150] Premature end
of script headers: /export/home/hobbit/cgi-secure/hobbit-enadis.sh
▸
/export/home/hobbit/cgi-secure/adminscripts_viewlogs.sh: syntax error at
line 455: `date_temp=$' unexpected
/export/home/hobbit/cgi-bin/adminscripts_view_graph.sh: syntax error at
line 455: `date_temp=$' unexpected
/export/home/hobbit/cgi-secure/adminscripts_viewlogs.sh: syntax error at
line 455: `date_temp=$' unexpected
/export/home/hobbit/cgi-secure/adminscripts_testalarm.sh: syntax error
at line 455: `date_temp=$' unexpected
/export/home/hobbit/cgi-secure/adminscripts_edit_files.sh: syntax error
at line 28: `FILEX=' unexpected
/export/home/hobbit/cgi-secure/adminscripts_chhostservice.sh: syntax
error at line 455: `date_temp=$' unexpected
with this_usePerl="false"
[Tue Jan 9 12:28:21 2007] [notice] caught SIGTERM, shutting down
[Tue Jan 9 12:31:38 2007] [notice] Apache/1.3.31 (Unix) mod_perl/1.25
configure
d -- resuming normal operations
[Tue Jan 9 12:31:38 2007] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Jan 10 13:44:55 2007] [error] [client 10.155.37.149] File does not
exist: /
var/apache/htdocs/favicon.ico
[Wed Jan 10 16:58:34 2007] [error] [client 10.155.37.149] File does not
exist: /
var/apache/htdocs/favicon.ico
@
"error_log" [Read only] 189 lines, 20200 characters
[tUE Jan 2 09:54:06 2007] [error] [client 10.155.39.57] (13)Permission
denied: access to /bb/ failed because search permissions are miss
ing on a component of the path
[Tue Jan 2 09:56:41 2007] [error] [client 10.155.39.57] (13)Permission
denied: access to /bb/ failed because search permissions are miss
ing on a component of the path
[Fri Jan 5 11:16:44 2007] [error] [client 10.155.39.113] File does not
exist: /var/apache/htdocs/hobbit
[Sun Jan 7 22:26:09 2007] [error] [client 10.157.223.22] File does not
exist: /var/apache/htdocs/favicon.ico
[Mon Jan 8 09:25:32 2007] [error] [client 10.155.37.149] File does not
exist: /var/apache/htdocs/favicon.ico
[Tue Jan 9 09:54:32 2007] [error] [client 10.155.39.113] File does not
exist: /var/apache/htdocs/hobbit
[Tue Jan 9 12:28:21 2007] [notice] caught SIGTERM, shutting down
[Tue Jan 9 12:31:38 2007] [notice] Apache/1.3.31 (Unix) mod_perl/1.25
configured -- resuming normal operations
[Tue Jan 9 12:31:38 2007] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Jan 10 13:44:55 2007] [error] [client 10.155.37.149] File does not
exist: /var/apache/htdocs/favicon.ico
[Wed Jan 10 16:58:34 2007] [error] [client 10.155.37.149] File does not
exist: /var/apache/htdocs/favicon.ico
[Wed Jan 10 17:09:35 2007] [error] [client 10.155.37.149] File does not
exist: /var/apache/htdocs/favicon.ico
[Thu Jan 11 14:37:56 2007] [error] [client 10.155.39.52] File does not
exist: /var/apache/htdocs/favicon.ico
[Thu Jan 11 14:37:56 2007] [error] [client 10.155.39.52] File does not
exist: /var/apache/htdocs/favicon.ico
[Thu Jan 11 14:38:03 2007] [error] [client 10.155.39.52] File does not
exist: /var/apache/htdocs/favicon.ico
[Thu Jan 11 14:39:14 2007] [error] [client 10.155.39.52] File does not
exist: /var/apache/htdocs/var/www
[Thu Jan 11 14:39:17 2007] [error] [client 10.155.39.52] File does not
exist: /var/apache/htdocs/var/
[Thu Jan 11 14:40:12 2007] [error] [client 10.155.39.52] File does not
exist: /var/apache/htdocs/var/
[Thu Jan 11 14:40:15 2007] [error] [client 10.155.39.52] File does not
exist: /var/apache/htdocs/hobbit
[Thu Jan 11 14:40:19 2007] [error] [client 10.155.39.52] File does not
exist: /var/apache/htdocs/hobbitt
[Mon Feb 5 08:09:04 2007] [error] [client 10.155.39.43] File does not
exist: /var/apache/htdocs/hobbit
I Have Perl Installed:
bash-2.05$ pkginfo -l | grep perl
PKGINST: SMCperl
NAME: perl
and also GNU Packages:
system SUNWa2psr a2ps - GNU Any to
PostScript filter (root)
system SUNWa2psu a2ps - GNU Any to
PostScript filter (user)
system SUNWbash GNU Bourne-Again shell
(bash)
system SUNWgcmn gcmn - Common GNU package
system SUNWggrp ggrep - GNU grep utilities
system SUNWgpch The GNU Patch utility
system SUNWgscr GNU Ghostscript
system SUNWgsfot GNU Ghostscript Fonts
(Other)
system SUNWgsfst GNU Ghostscript Fonts
(Standard)
system SUNWgtar gtar - GNU tar
system SUNWgzip The GNU Zip (gzip)
compression utility
system SUNWless The GNU pager (less)
system SUNWpppg GNU utilities for PPP
system SUNWsfdoc GNU and open source
documentation
system SUNWsfinf GNU and open source info
pages
system SUNWsfman GNU and open source man
pages
system SUNWtexi GNU texinfo - Texinfo
utilities (texinfo)
system SUNWwgetr GNU wget - utility to
retrieve files from the World Wide Web (root)
system SUNWwgetu wget - GNU wget
Do you Have any other ideas?
▸
Thanks
Dan Guertin
Senior Lab Engineer
Team Lead
Time Warner Cable
user-3418606d2d41@xymon.invalid <mailto:user-3418606d2d41@xymon.invalid>
XXX-XXX-XXXX Desk
XXX-XXX-XXXX Cell
This E-mail and any of its attachments may contain Time Warner
Cable proprietary information, which is privileged, confidential,
or subject to copyright belonging to Time Warner Cable. This E-mail
is intended solely for the use of the individual or entity to which
it is addressed. If you are not the intended recipient of this
E-mail, you are hereby notified that any dissemination,
distribution, copying, or action taken in relation to the contents
of and attachments to this E-mail is strictly prohibited and may be
unlawful. If you have received this E-mail in error, please notify
the sender immediately and permanently delete the original and any
copy of this E-mail and any printout.
list Stewart Larsen
▸
"error_log" [Read only] 189 lines, 20200 characters [tUE Jan 2 09:54:06 2007] [error] [client 10.155.39.57]
(13)Permission denied: access to /bb/ failed because search permissions are miss
ing on a component of the path [Tue Jan 2 09:56:41 2007] [error] [client 10.155.39.57]
(13)Permission denied: access to /bb/ failed because search permissions are miss
ing on a component of the path
These appear to be issues with selinux. disable this if you are not
sure what it is. It can be cumbersome to set up correctly if you don't
know what you are doing.
on a redhat system, check the file /etc/sysconfig/selinux.
Stewart
list Dan Guertin
▸
Hello. I am still unable to get anything.. (Blank Screen) here is the Apache logs: with this_usePerl="true" /export/home/hobbit/cgi-secure/adminscripts_viewlogs.sh: syntax error at line 455: `date_temp=$' unexpected /export/home/hobbit/cgi-bin/adminscripts_view_graph.sh: syntax error at line 455: `date_temp=$' unexpected /export/home/hobbit/cgi-secure/adminscripts_viewlogs.sh: syntax error at line 455: `date_temp=$' unexpected /export/home/hobbit/cgi-secure/adminscripts_testalarm.sh: syntax error at line 455: `date_temp=$' unexpected /export/home/hobbit/cgi-secure/adminscripts_edit_files.sh: syntax error at line 28: `FILEX=' unexpected /export/home/hobbit/cgi-secure/adminscripts_chhostservice.sh: syntax error at line 455: `date_temp=$' unexpected with this_usePerl="false"
the apache log displays the Same errors.
▸
Running Hobbit 4.2 on Solaris 9 X86, I added the Admintools V0.2.6 I Have Perl Installed:
bash-2.05$ pkginfo -l | grep perl
PKGINST: SMCperl
NAME: perl
and also GNU Packages:
system SUNWa2psr a2ps - GNU Any to PostScript filter (root)
system SUNWa2psu a2ps - GNU Any to PostScript filter (user)
system SUNWbash GNU Bourne-Again shell (bash)
system SUNWgcmn gcmn - Common GNU package
system SUNWggrp ggrep - GNU grep utilities
system SUNWgpch The GNU Patch utility
system SUNWgscr GNU Ghostscript
system SUNWgsfot GNU Ghostscript Fonts (Other)
system SUNWgsfst GNU Ghostscript Fonts (Standard)
system SUNWgtar gtar - GNU tar
system SUNWgzip The GNU Zip (gzip) compression utility
system SUNWless The GNU pager (less)
system SUNWpppg GNU utilities for PPP
system SUNWsfdoc GNU and open source documentation
system SUNWsfinf GNU and open source info pages
system SUNWsfman GNU and open source man pages
system SUNWtexi GNU texinfo - Texinfo utilities (texinfo)
system SUNWwgetr GNU wget - utility to retrieve files from the World Wide Web (root)
system SUNWwgetu wget - GNU wget
Do you Have any other ideas? Thanks
Dan Guertin
Senior Lab Engineer
Team Lead
Time Warner Cable
user-3418606d2d41@xymon.invalid <mailto:user-3418606d2d41@xymon.invalid> XXX-XXX-XXXX Desk
XXX-XXX-XXXX Cell
From: user-75055581652a@xymon.invalid [mailto:user-75055581652a@xymon.invalid] Sent: Friday, February 09, 2007 2:13 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Antwort: [hobbit] Admintool V0.2.0 Blank Pages
Hi, do you have installed perl? I think you don't have gnu date and my script normaly use it to convert dates. But if you don't use it you can use perl instead
you must switch this_usePerl="false" to this_usePerl="true"
in all scripts in Configuration Part.
I hope this solve your problems if not email me.
best regards
Stefan Freisler
EDV-Abteilung
aspect online AG
Beim Glaspalast 1
86153 Augsburg
Fon: +49(0)821-247 47 085
user-75055581652a@xymon.invalid
www.aspect-online.de
Vorstand: Reinhold Berger, Helmut Paesler, Wolfgang Schütz
Aufsichtsrat: Stephan Gabriel (Vors.), Helmut Kühl, Joachim Bähre
Amtsgericht Augsburg HRB 2024
Sitz der Gesellschaft: Augsburg
Ust-ID:DE 204754384
"Guertin, Dan" <user-3418606d2d41@xymon.invalid> schrieb am 08.02.2007 16:34:20:
Hi, Any Ideas why this is happening? Running Hobbit 4.2 on Solaris 9 X86, I added the Admintools V0.2. 6 and Apache log is showing the following errors: /export/home/hobbit/cgi-secure/adminscripts_viewlogs.sh: syntax error at line 455: e_temp=$' unexpected /export/home/hobbit/cgi-secure/adminscripts_testalarm.sh: syntax error at line 455:`date_temp=$' unexpected /export/home/hobbit/cgi-secure/adminscripts_edit_files.sh: syntax error at line 28:`FILEX=' unexpected /export/home/hobbit/cgi-secure/adminscripts_chhostservice.sh: syntax error at line 455: `date_temp=$' unexpected /export/home/hobbit/cgi-bin/adminscripts_view_graph.sh: syntax error at line 455: `date_temp=$' unexpected Thanks Dan Guertin Senior Lab Engineer Team Lead Time Warner Cable user-3418606d2d41@xymon.invalid XXX-XXX-XXXX Desk XXX-XXX-XXXX Cell This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.To unsubscribe from the hobbit list, send an e-mail to user-095ef1c764a2@xymon.invalid
list Stefan Freisler
Hi,
Do you Have any other ideas?
Can you please check, if you have $DATE defined in your hobbitserver.cfg? In my it is DATE="/bin/date" but you did not need this if you using Solaris with perl. you can put DATE="" in hobbitserver.cfg or in the config part of all your scripts. Please let me know if it works. cu
▸
Stefan Freisler
EDV-Abteilung
aspect online AG
Beim Glaspalast 1
86153 Augsburg
Fon: +49(0)821-247 47 085
user-75055581652a@xymon.invalid
www.aspect-online.de
Vorstand: Reinhold Berger, Helmut Paesler, Wolfgang Schütz
Aufsichtsrat: Stephan Gabriel (Vors.), Helmut Kühl, Joachim Bähre
Amtsgericht Augsburg HRB 2024
Sitz der Gesellschaft: Augsburg
Ust-ID:DE 204754384