[Orca-users] plesae help: warning: cannot put data starting a
Dagobert Michelsen
dam at baltic-online.de
Mon Apr 20 02:31:28 PDT 2009
Hi Saoping,
Am 18.04.2009 um 17:19 schrieb Shaoping Xie:
> Unfortunately, Yahoo email does not take the MS word format.
> Otherwise, the document will look much better.
Thank you for your thorough writeup. I have a minor correction, though.
> ORCA implementation on Solaris 10
>
> Preparation
>
> 1. Web host and orca diagram location
> (e.g. /usr/local/apache2/htdocs/orca/orcallator)
>
> 2. NFS for raw data: The NFS file system must be accessed by all
> the orca clients.
> (e.g. /net/NFS/orca/orcallator)
>
> 3. orca installation home
> (e.g. /var/orca)
>
> Apache Installation
>
> 1. Get apache from www.sunfreeware.com.
> 2. Make sure that you have installed all the dependent packages.
> 3. Install apache by default.
> 4. Edit httpd.conf to fit your environment.
> 5. Start httpd.
>
> SETOOL Installation
>
> 1. Download the software from the following site:
> http://www.opencsw.org/packages/setoolkit
You cannot download the package from there directly as it is meant to
be used
with pkg-get or pkgutil. For manual download please select a mirror from
<http://www.canoedissent.org.uk/mirror/status/>
> 2. Install the package:
> pkgadd -d ./RICHPse-3.5.0.pkg
> (The default location: /opt/ RICHPse)
This package is from
<http://sourceforge.net/projects/setoolkit>
The main difference between the OpenCSW and the SourceForge-package
is that the SourceForge package contains binaries for sparc and x86
where
there are two separate OpenCSW packages. Additionally, the directory
structure differs slightly: RICHPse is in the traditional style as it
has been for
the last 10 years, OpenCSW is in the usual /opt/csw directory structure.
Usually you are fine with RICHPse. However, there will hopefully be
an OpenCSW package of Orca in the future which allows installation with
pkg-get -i orca for the client
pkg-get -i orca_web for the webserver
and be done with it.
> 3. Use the scripts of start_orcallation and stop_orcallator from
> orca 0.27.
>
>
> ORCA Installation
>
> 1. Good reference sites:
> http://www.orcaware.com/
> http://www.sun.com/bigadmin/features/articles/orca.html
> http://www.unix.com/sun-solaris/92467-orcallator-solaris-
> servers-2.html
>
> 2. Download orca 0.27 from the following site:
> http://www.orcaware.com/orca/pub/orca-0.27.tar.gz
>
> 3. gunzip and untar orca-0.27.tar.gz
>
> 4. List perl modules on your system
> instmodsh
> ( alternatively: perldoc perllocal )
>
> 5. Edit root .profile. Please export the parameters properly.
>
> A. Make sure PATH include the following directories:
> a. /usr/local/bin:/usr/local/sbin
> b. /usr/sfw/bin:/usr/sfw/sbin
> c. /opt/RICHPse/bin
> d. $ORCAHOME/bin
> e. $RRDTOOLHOME/bin
>
> B. Make sure CC is set properly
> (CC=/usr/sfw/bin/gcc)
>
> C. Set PERL5LIB properly
> PERL5LIB=$RRDTOOLHOME/lib/perl:$ PERL5LIB
>
> D. Set PKG_CONFIG_PATH and LDFLAGS
> (I am not quite sure how important for rrdtool1.0.40
> although they are important for the latest versions of rrdtool)
>
> LDFLAGS=-lintl
>
> PKG_CONFIG_PATH=/usr/sfw/lib/pkgconfig:/usr/lib/pkgconfig:/usr/lib/
> sparcv9/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/apache2/lib/
> pkgconfig:/usr/local/ssl/lib/pkgconfig
>
> E. Set LD_LIBRARY_PATH
>
> LD_LIBRARY_PATH=/usr/sfw/lib:/usr/local/lib:/usr/lib:/usr/openwin/
> lib:/usr/dt/lib:/usr/sfw/lib:/usr/local/lib:/usr/lib:/usr/openwin/
> lib:/usr/dt/lib: $ORCAHOME/lib:$RRDTOOLHOME/lib
>
>
> 6. download and install PERL modules
>
> Orca 0.27 needs the following perl modules according to configure
> file:
>
> COMPRESS_ZLIB_DIR=Compress-Zlib-1.05
> COMPRESS_ZLIB_VER=1.05
> DATA_DUMPER_DIR=Data-Dumper-2.101
> DATA_DUMPER_VER=2.101
> DATE_PARSE_DIR=TimeDate-1.14
> DATE_PARSE_VER=2.24
> DIGEST_MD5_DIR=Digest-MD5-2.20
> DIGEST_MD5_VER=2.19
> MATH_INTERPOLATE_DIR=Math-Interpolate-1.05
> MATH_INTERPOLATE_VER=1.05
> RRDTOOL_DIR=rrdtool-1.0.40
> RRDTOOL_VER=1.000401
> STORABLE_DIR=Storable-2.05
> STORABLE_VER=2.05
> TIME_HIRES_DIR=Time-HiRes-1.38
> TIME_HIRES_VER=1.38
>
>
> Here is the list I have actually used:
>
> COMPRESS_ZLIB_DIR=Compress-Zlib-1.23
> COMPRESS_ZLIB_VER=1.23
> (www.sunfreeware.com)
>
> DATA_DUMPER_DIR=Data-Dumper-2.121
> DATA_DUMPER_VER=2.121
> (standard installation)
>
> DATE_PARSE_DIR=TimeDate-1.16
> DATE_PARSE_VER=1.16
> (standard installation)
>
> DIGEST_MD5_DIR=Digest-MD5-2.38
> DIGEST_MD5_VER=2.38
> (standard installation)
>
> MATH_INTERPOLATE_DIR=Math-Interpolate-1.05
> MATH_INTERPOLATE_VER=1.05
> (standard installation)
>
> RRDTOOL_DIR=rrdtool-1.0.40
> RRDTOOL_VER=1.000401
> (See separate instruction)
>
> STORABLE_DIR=Storable-2.18
> STORABLE_VER=2.18
> (standard installation)
>
> TIME_HIRES_DIR=Time-HiRes-1.9719
> TIME_HIRES_VER=1.9719
> (standard installation)
>
> Standard installation of PERL module
> perl Makefile.pl
> make
> make test
> make install
>
> 7. modern rrdtool databases are incompatible with ancient orca
>
> I have tried rrdtool versions of 1.0.50, 1.2.19, 1.2.29, 1.2.30,
> 1.3.5, 1.3.6, 1.3.7. None of them has worked out with orca. Here are
> two common errors:
>
> a. /var/orca/bin/orca: warning: cannot create `/usr/local/apache2/
> htdocs/orca/orcallator/maerapp01/o_maerapp01_gauge_1024_X_8_X_bge0
> InKB_per_s-monthly.png': Garbage ':10:00 2009.' after command:
>
> b. /var/orca/bin/orca: warning: cannot create `/usr/local/apache2/
> htdocs/orca/orcallator/maerapp01/o_maerapp01_gauge_1024_X_8_X_bge0
> InKB_per_s-monthly.png': I don’t understand ':10:00 2009.' after
> command:
>
> It seems that orca can not read the information from modern RRD
> database.
>
> 8. Installation of rrdtool 1.0.40
>
> Please install all the dependent packages as required for
> rrdtool-1.2.19.
> (please see www.sunfreeware.com)
>
> There is a bug in rrdtool 1.0.40:
> https://lists.oetiker.ch/pipermail/rrd-users/2002-December/005678.html
>
> Please fix the bug according to the author’s suggestion. In case you
> can not access the site, please replace the lines 948-955 of
> configure file with the following text:
>
> *** 948,955 ****
> echo "$ac_t""$SO_EXT" 1>&6
> echo $ac_n "checking for the C compiler perl wants to use
> to build its modules""... $ac_c" 1>&6
> echo "configure:951: checking for the C compiler perl wants to use
> to build its modules" >&5
> PROBLEMCC=`$PERL -e 'use Config; ($cc = $Config{cc}) =~ s/
> \s.*//; exit 0 if -x "$cc"; map {if (-x "$_/$cc"){exit 0}}
> split /:/, $ENV{PATH};print $Config{cc}'`
> if test "x$PROBLEMCC" != "x"; then
> echo "$ac_t""no" 1>&6
> echo Could not find the Compiler: '"'$PROBLEMCC'"'
> echo which has been used to build perl. You may
> have to compile
>
>
>
> Then, start the installation:
> In the directory of rrdtool 1.0.40 (/tmp/orca/opco/packages/
> rrdtool-1.0.40), run the following commands:
>
> ./configure –prefix=$RRDTOOLHOME (/var/orca/rrdtool-1.0.40)
> make
> make install
>
> 9. Installation of orca
>
> Please edit configure file to reflect the packages you have chosen
> and installed.
>
> Then run the following commands:
>
> ./configure --with-html-dir=/usr/local/apache2/htdocs/orca \
> --with-orcallator-dir=/net/NFS/orca/orcallator \
> --with-var-dir=/var/orca \
> --with-rrd-dir=/var/orca/rrd
>
> Please make sure that configure file has detected all the PERL
> modules including rrdtool which are required for orca.
>
> Then complete the installation:
> make
> make install
>
> 10. Postinstallation change
>
> a. Copy start_orcallation and stop_orcallation from $ORCAHOME/bin
> to /opt/RICHPse.
> b. Edit start_orcallation to reflect the raw data directory.
> c. Run start_orcallator to collect the performance data.
> d. Edit $ORCAHOME/lib/orcallator.cfg as desired.
> (only edit what you understand well.)
> e. Edit $ORCA/bin/orca as desired.
> (Again, only edit what you understand well.)
> f. Save /usr/local/etc/fonts/fonts.conf
> Copy /etc/fonts/fonts.conf over /usr/local/etc/fonts/fonts.conf.
>
> 11. Test orca with following command:
>
> $ORCAHOME/bin/orca –o –v $ORCAHOME/lib/orcallator.cfg
>
> If everything goes with expectation, then start orca
> $ORCAHOME/bin/orca $ORCAHOME/lib/orcallator.cfg
>
> 12. Treat yourself with tea, coffee or meal, then come back to
> enjoy what orca can bring to you.
>
>
> Post note: Whenever I encounter problems, I search the web for
> clues, tips and even answers. I hope that this document will be
> helpful to you. However, there is no guarantee since systems and
> environments may be different.
>
> Shaoping Xie
> (shaoping.xie at yahoo.com)
> April 18, 2009
>
>
>
> _______________________________________________
> Orca-users mailing list
> Orca-users at orcaware.com
> http://www.orcaware.com/mailman/listinfo/orca-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20090420/99053df1/attachment-0002.html>
More information about the Orca-users
mailing list