Orca on Solaris 10
Ok, that is not big deal, but for future reference is good concentrate things here…
If you don’t know what is orca, you can go here.
I will list here just the components we need to setup this usefull tool on solaris 10, take a look:
First, two Solaris packages ready to be installed. Just unzip and pkgadd -d.
1) freetype-2.3.1-sol10-x86-local.gz (need by SEtoolkit)
I did install the packages Digest-MD5, Math-Interpolate, and Storable, but i think is not a necessary step, because orca can compile them for you. You will need the pod2man and pod2html perl scripts too.
ps.: perl is in “/usr/bin” on Solaris 10, so you will need to change the first line in both scripts…
The compilation of orca is very simple, and you just need to pass too args: –prefix and –with-html-dir, with the location where the orca software will be installed, and where the html files (for viewing), will be. If you do not compile the perl modules like i did, you will need to execute “make”, and “make test_modules”, to be sure that the modules were compiled ok. After that, you can run “make install”, and “make install_modules”.
One important point, that i did to google a lot to discover the answer, was the editing of the orcallator.se file. The orca was exiting with a seg fault every time… so you need to comment the line:
#define USE_RAWDISK 1
/* #define USE_RAWDISK 1 */
I did just one change in the file orcallator.cfg, to put my email address and receive an alert if something goes wrong. After that, you can execute the script start_orcallator.
Solaris 10 has apache version 1 and 2, i think you should use the version 2, and for that you just need copy the /etc/apache2/httpd.conf-example to /etc/apache2/httpd.conf, change the ServerName, and point the DocumentRoot for the path you have used in the orca configure phase. Create the directories, and svadm enable apache2…
The orca software has the scripts to start/stop the application at boot time, but the scripts are for legacy (SYSV) initialization. So, i recommend you to use this easy howto for integrate orca with SMF. Just remember to fix the line that has tservice_bundle to be service_bundle.