Hi, some years ago I installed various Orca in SOlaris 10 without any problem. I found some notes I kept about it:
REF: http://www.sun.com/bigadmin/features/articles/orca.html Install previously (goes to /usr/local) perl-5.8.8-sol10-sparc-local rrdtool-1.2.19-sol10-sparc-local GCC is also requiered (at least it worked with GCC for me) and it has to be in the path, as well as RRDTool (maybe it is what you missed) (oonly needed for compilation, no need to place it in .profile): Create user "orca", and su - orca: $ export PATH=/usr/local/bin/:/usr/local/rrdtool-1.2.19/bin:$PATH $ mkdir -p /opt/orca/stock $ cd /opt/orca/stock download and uncompress orca tarball in /opt/orca/stock $ ./configure --prefix=/opt/orca --with-html-dir=/opt/orca/var/apache/htdocs/orca --with-ncsa-log=/opt/orca/var/apache/logs/access_log $ make $ make test_modules $ make install_modules # make install # as root! # make orcallator_run_at_boot (not sure about the path from where to run this though) $ mkdir -p /opt/orca/var/apache/htdocs/orca/orcallator (In my notes appears also this line, but I'm confused about why. Anyway I give it to you, just in case you would need something similar: cd rrdtool-1.0.50 && ./configure --prefix=/opt/orca --with-html-dir=/opt/orca/var/apache/htdocs/orca --with-ncsa-log=/opt/orca/var/apache/logs/access_log --cache-file=../../config.cache ) To use Orca with Solaris zones, I had to comment (with double slash: "//" ) these two lines in /opt/orca/lib/orcallator.se : // #define USE_RAWDISK 1 y // #define WATCH_DISK 1 (Orca support in zones is quite limited, for example, CPU usage seen from Orca is global CPU usage, not the zone CPU usage) In the case you get a segmentation fault, comment with double slash: "//" the line #define USE_RAWDISK in /admunix/orca/lib/orcallator.se . You might also need to apply this patch to /opt/RICHPse/include/diskinfo.se --- diskinfo.se 2006-09-25 10:37:16.192880000 +0200 +++ diskinfo.se.patch 2006-09-25 10:34:52.570554000 +0200 @@ -212,6 +212,10 @@ GLOBAL_diskinfo_size += 4; GLOBAL_disk_info = renew GLOBAL_disk_info[GLOBAL_diskinfo_size]; } + + if( ld != 0 ) { + break; + } dp = *((dirent_t *) ld); // skip . and .. Sorry if these notes are a bit messy, but hopefully you may find something you need. Regards, -- Alex http://adumont.serveblog.net/ On Thu, Sep 3, 2009 at 7:15 PM, Tucker <usenix1 at yahoo.com> wrote: > ./usr/local/bin/orca ?(root at si-unixmon01): ./orca -v -this is to start > orca-failed > > Can't locate loadable object for module RRDs in @INC (@INC contains: > /usr/local/lib /usr/perl5/5.8.4/lib/sun4-solaris-64int > /usr/perl5/5.8.4/lib > /usr/perl5/site_perl/5.8.4/sun4-solaris-64int > /usr/perl5/site_perl/5.8.4 > /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int > /usr/perl5/vendor_perl/5.8.4 > /usr/perl5/vendor_perl .) at ./orca line 33 > Compilation failed in require at ./orca line 33. > Can't locate loadable object for module RRDs in @INC (@INC contains > BEGIN failed--compilation aborted at ./orca line 33 > VI-ED INTO ORCA AND LINE 33 STATES: use RRDs 1.000401; > > I tried changing line 33 and placing the current rrdtool-1.2.19 level in > but it will still come back with the same information. > Has anyone out there had this issue with Installing orca/sar deployment for > cluster monitoring? God bless you in advance for your suggestions. > > Oh and i already went back through trying to install everything again and > had some major error's. > > (root at si-unixmon01): cd orca-0.27b3 > (root at si-unixmon01): ls > CHANGES INSTALL README config.log contrib > packages > COMMITTERS Makefile TODO config.status docs > patches > FAQ Makefile.in config configure lib > src > HACKING NEWS config.cache configure.in orcallator > (root at si-unixmon01): make CFLAGS=-O > cd packages > make CFLAGS=-O3 || exit 1 > cd TimeDate-1.14 && make OPTIMIZE="-O3" > cd Math-Interpolate-1.05 && make OPTIMIZE="-O3" > cd rrdtool-1.0.40 && make CFLAGS="-O3" > Making all in cgilib-0.4 > Making all in config > Making all in gd1.3 > Making all in zlib-1.1.4 > Making all in libpng-1.0.9 > Making all in src > Making all in doc > Making all in examples > Making all in contrib > Making all in trytime > Making all in tcl > test -d perl-piped \ > || sh -c "P_DIR='perl-piped'; P_FILES='Makefile.PL RRDp.pm' ; mkdir > \${P_DIR} && cd \${P_DIR} && for _perlfile_ > in \${P_FILES} ; do ln -s > .././\${P_DIR}/\${_perlfile_} . ; done" > cd perl-piped && make > make: Fatal error: Don't know how to make target > `/usr/perl5/5.8.4/lib/sun4-solaris-64int/Config.pm' > Current working directory > /var/tmp/orca/orca-0.27b3/packages/rrdtool-1.0.40/perl-piped > *** Error code 1 > make: Fatal error: Command failed for target `perl_piped' > Current working directory /var/tmp/orca/orca-0.27b3/packages/rrdtool-1.0.40 > *** Error code 1 > The following command caused the error: > set fnord ; amf=$2; \ > dot_seen=no; \ > target=`echo all-recursive | sed s/-recursive//`; \ > list='cgilib-0.4 config gd1.3 zlib-1.1.4 libpng-1.0.9 src doc > examples contrib tcl'; for subdir in $list; do \ > echo "Making $target in $subdir"; \ > if test "$subdir" = "."; then \ > dot_seen=yes; \ > local_target="$target-am"; \ > else \ > local_target="$target"; \ > fi; \ > (cd $subdir && make $local_target) \ > || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ > done; \ > if test "$dot_seen" = "no"; then \ > make "$target-am" || exit 1; \ > fi; test -z "$fail" > make: Fatal error: Command failed for target `all-recursive' > Current working directory /var/tmp/orca/orca-0.27b3/packages/rrdtool-1.0.40 > *** Error code 1 > make: Fatal error: Command failed for target `make_rrdtool' > Current working directory /var/tmp/orca/orca-0.27b3/packages > *** Error code 1 > The following command caused the error: > for dir in packages lib src orcallator docs contrib; do > \ > if test -d $dir; then \ > echo "cd $dir"; \ > cd $dir || exit 1; \ > echo "make CFLAGS=-O3 || exit 1"; \ > make CFLAGS="-O3" || exit 1; \ > echo "cd .."; \ > cd ..; \ > else \ > exit 1; \ > fi \ > done > make: Fatal error: Command failed for target `all' > (root at si-unixmon01): make test_modules > cd packages && make CFLAGS="-g -O2" test_modules > cd TimeDate-1.14 && make OPTIMIZE="-g -O2" test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/date.......ok > t/format.....ok > t/getdate....ok > t/lang.......ok > All tests successful. > Files=4, Tests=405, 1 wallclock secs ( 0.40 cusr + 0.04 csys = 0.44 CPU) > cd Math-Interpolate-1.05 && make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01interval....ok > t/02interp......ok > All tests successful. > Files=2, Tests=11038, 2 wallclock secs ( 0.75 cusr + 0.05 csys = 0.80 > CPU) > cd rrdtool-1.0.40 && make CFLAGS="-g -O2" > Making all in cgilib-0.4 > Making all in config > Making all in gd1.3 > Making all in zlib-1.1.4 > Making all in libpng-1.0.9 > Making all in src > Making all in doc > Making all in examples > Making all in contrib > Making all in trytime > Making all in tcl > test -d perl-piped \ > || sh -c "P_DIR='perl-piped'; P_FILES='Makefile.PL RRDp.pm' ; mkdir > \${P_DIR} && cd \${P_DIR} && for _perlfile_ > in \${P_FILES} ; do ln -s > .././\${P_DIR}/\${_perlfile_} . ; done" > cd perl-piped && make > make: Fatal error: Don't know how to make target > `/usr/perl5/5.8.4/lib/sun4-solaris-64int/Config.pm' > Current working directory > /var/tmp/orca/orca-0.27b3/packages/rrdtool-1.0.40/perl-piped > *** Error code 1 > make: Fatal error: Command failed for target `perl_piped' > Current working directory /var/tmp/orca/orca-0.27b3/packages/rrdtool-1.0.40 > *** Error code 1 > The following command caused the error: > set fnord ; amf=$2; \ > dot_seen=no; \ > target=`echo all-recursive | sed s/-recursive//`; \ > list='cgilib-0.4 config gd1.3 zlib-1.1.4 libpng-1.0.9 src doc > examples contrib tcl'; for subdir in $list; do \ > echo "Making $target in $subdir"; \ > if test "$subdir" = "."; then \ > dot_seen=yes; \ > local_target="$target-am"; \ > else \ > local_target="$target"; \ > fi; \ > (cd $subdir && make $local_target) \ > || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ > done; \ > if test "$dot_seen" = "no"; then \ > make "$target-am" || exit 1; \ > fi; test -z "$fail" > make: Fatal error: Command failed for target `all-recursive' > Current working directory /var/tmp/orca/orca-0.27b3/packages/rrdtool-1.0.40 > *** Error code 1 > make: Fatal error: Command failed for target `make_rrdtool' > Current working directory /var/tmp/orca/orca-0.27b3/packages > *** Error code 1 > make: Fatal error: Command failed for target `test_modules' > (root at si-unixmon01): > (tuckers at si-unixmon01): make install_modules > cd packages && make CFLAGS="-g -O2" install_modules > cd TimeDate-1.14 && make OPTIMIZE="-g -O2" install > Warning: You do not have permissions to install into > /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris at > /usr/local/lib/perl5/5.8.8/ExtUtils/Install.pm line 114. > mkdir /usr/local/lib/perl5/site_perl/5.8.8/Date: Permission denied at > /usr/local/lib/perl5/5.8.8/ExtUtils/Install.pm line 176 > *** Error code 13 > The following command caused the error: > /usr/local/bin/perl -MExtUtils::Install -e 'install({...@argv}, '\''0'\'', 0, > '\''0'\'');' \ > read > /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/TimeDate/.packlist \ > write > /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/TimeDate/.packlist \ > blib/lib /usr/local/lib/perl5/site_perl/5.8.8 \ > blib/arch /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris \ > blib/bin /usr/local/bin \ > blib/script /usr/local/bin \ > blib/man1 /usr/local/man/man1 \ > blib/man3 /usr/local/man/man3 > make: Fatal error: Command failed for target `pure_site_install' > Current working directory /var/tmp/orca/orca-0.27b3/packages/TimeDate-1.14 > *** Error code 1 > make: Fatal error: Command failed for target `install_perl_date_parse' > Current working directory /var/tmp/orca/orca-0.27b3/packages > *** Error code 1 > make: Fatal error: Command failed for target `install_modules' > -- > This message posted from opensolaris.org > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20090903/24d1bc2d/attachment-0001.html>