![]() |
Installation Instructions:
For binary distros:
-Untar the distro package and change to the gomnilist directory.
> tar -zxvf gomnilist-x.xx-linux-intel.tar.gz
-Set OMNIHOME environment variable, if unset (usually /opt/Omnibus)
> cd gomnilist
-Set SYBASE environment variable to $OMNIHOME/platform/linux2x86 (on
Linux)
-Set SYBASE environment variable to $OMNIHOME/platform/solaris2 (on
Solaris)
-Set LD_LIBRARY_PATH
> OMNIHOME=/opt/Omnibus; export OMNIHOME
Type "./evlist" and rock on.
Note: You may have to edit the first line of testsyb.pl to
reflect the path of your perl interpreter.
Common problems with binary distros: For source distros:
(Note: Follow these instructions carefully. If you've built the
perl modules before, you'll have to rebuild them here for GOmnilist to
work)
-Download the package (and libglade if you don't have it)
> SYBASE=$OMNIHOME/platform/linux2x86; export SYBASE
> LD_LIBRARY_PATH=$SYBASE/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
- Segmentation fault on startup: You need to download the Helix-Gnome (now Ximian) distro.
- Library not found errors: Make sure the library components of Netcool are installed on the machine.
- To test connectivity to netcool you can use the test mentioned below for the source distros.
-Switch to root
> su -
-Untar the distro package and change to the gomnilist directory.
(enter password)
> tar -zxvf gomnilist-x.xx-linux-intel.tar.gz
-Set OMNIHOME environment variable, if unset (usually /opt/Omnibus)
> cd gomnilist
-On Linux Set SYBASE environment variable to $OMNIHOME/platform/linux2x86.
-On Solaris Set SYBASE environment variable to $OMNIHOME/platform/solaris2.
-Set LD_LIBRARY_PATH
>OMNIHOME=/opt/Omnibus; export OMNIHOME
-Create a new directory in $SYBASE called include
>SYBASE=$OMNIHOME/platform/linux2x86; export SYBASE
>LD_LIBRARY_PATH=$SYBASE/lib:LD_LIBRARY_PATH; export LD_LIBRARY_PATH
> mkdir $SYBASE/include
-Copy all the files from the local include directory to the $SYBASE/include
directory
> cp include/* $SYBASE/include
-Untar the two perl modules (the two .tar.gz files that are included)
> tar -zxvf DBI::xxx (whatever)
-First make the DBI module and then the DBD::Sybase. (cd to each subdir;
type "perl Makefile.pl"; type "make"; type "make install")
> tar -zxvf DBD::Sybase... (whatever)
> cd DBI...
(do the same for the other module)
-Make sure your interfaces file is correctly setup. (nco_xigen)
> perl Makefile.PL
> make
> make install
-Go back up to the gomnilist directory and build the distribution as
so:
> make clean
On Linux:
> make linux
On Solaris:
-If you get a file-not-found error for glibconfig.h or glib.h, use find to find
it on your machine and create a symbolic link to it in /usr/include
Run the following test (if you want):
ServerName
-If you get an error, figure it out (hey, it's the development version).
-Type "./evlist" and rock on.
Libglade notes
For source distros; if you installed libglade by hand, you may get an
error similar to 'libglade not found' during the build. I've noticed this
in Red-Hat 7. To fix this, you should copy the /usr/local/lib/libgladeConf.sh
script to /usr/lib. That worked for me.
> make solaris
-If you get a pragma error in the glade-xml.h file. Edit it and remove
the right brace in the #pragma line
-If you see errors along the line of: "gtk/gtk.h: not found"; you may be using a newer gnome
installation (Ximian maybe) and you have both versions of GTK+ installed on your system. In this case, create a symlink from /usr/lib/gtk-1.2/gtk to /usr/lib/gtk and /usr/lib/gtk-1.2/gdk to /usr/lib/gdk.
-If you get no errors, all is good.
-Change to the new directory and run ./testsyb.pl (make sure the #!
in the file points to your perl interpreter).
-Type the following info followed by newlines replacinig ServerName,
UserNAme and Password witht he relevant values:
Username
Password
select * from alerts.status
-If you get a segmentation fault, it's one of two possibilities:
-Check your $SYBASE environment variable.
-(Usually on linux) check the locales.dat file in the $SYBASE/locales dir. It should have an entry for "En_us" and "en_us" in the section for your platform.
-If you see results, all is good.