Thanks. I'm able to install php-devel package and configure and install php-oci8. Icinga new web is working now:)
On Aug 1, 2013, at 12:57 PM, Michael Friedrich <michael.friedr...@gmail.com> wrote: > On 01.08.2013 21:45, Dinesh wrote: >> >> Hi, >> >> I was able to configure oracle with Icinga Classic UI but not with >> Icinga - New Web UI. >> >> I'm getting Error code 500 in the browser when i click on >> http://IP-Address/icinga-web/. >> >> The below error in the /etc/httpd/logs/error_log >> >> PHP Notice: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed >> 'OCI_COMMIT_ON_SUCCESS' in >> /usr/local/icinga-web/lib/doctrine/lib/Doctrine/Connection.php on line 492 >> >> I'm using ocilib-3.12.1 >> >> Oracle Version: 12c >> >> I have added the following line in the php.ini, but no luck. >> >> extension=/usr/local/lib/libocilib.so >> >> PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) >> '/usr/local/lib/libocilib.so' in Unknown on line 0 > > that's the native database driver for the idoutils application. you need > php-oci8 to be compiled/installed for your php binaries and then load > that accordingly. > > what type of documentation are you following? > >> Please let me know how to proceed with this. >> >> >> On Jul 31, 2013, at 1:04 PM, Dinesh <dineshku...@gmail.com >> <mailto:dineshku...@gmail.com>> wrote: >> >>> >>> Hi, >>> >>> Thanks for your help. I was able to execute the configuration script >>> after setting the environment variables as a root user. >>> >>> >>> On Jul 29, 2013, at 9:34 AM, Christophe HAEN <christophe.h...@cern.ch >>> <mailto:christophe.h...@cern.ch>> wrote: >>> >>>> Another blind guess (but since you seem desperate ^^): the >>>> environment variables (LD_LIBRARY_PATH, ORACLE_HOME and so on) might >>>> disappear if the command is ran using "sudo"... >>>> However for your information, we tried running icinga with Oracle >>>> something like 2 years ago. It was a major bummer, we had to go >>>> through many problems (similar to yours), we hit deadlocks and >>>> things like this. We replaced it with a mysql server, and since then >>>> we run happily :-). But maybe things got better with newer versions. >>>> >>>> Chris >>>> >>>> >>>> 2013/7/29 Michael Friedrich <michael.friedr...@gmail.com >>>> <mailto:michael.friedr...@gmail.com>> >>>> >>>> On 29.07.2013 18:11, Dinesh wrote: >>>>> Any suggestions please. >>>> >>>> last guess - try setting --with-oracle-lib to the location of >>>> libocilib.so >>>> >>>> >>>>> >>>>> >>>>> On Jul 26, 2013, at 1:00 PM, Dinesh kumar N >>>> <dineshku...@gmail.com <mailto:dineshku...@gmail.com> >>>>> <mailto:dineshku...@gmail.com <mailto:dineshku...@gmail.com>>> >>>> wrote: >>>>> >>>>>> I have set the LD_LIBRARY_PATH as below >>>>>> >>>>>> echo $LD_LIBRARY_PATH >>>>>> >>>>>> /usr/local/lib:/opt/app/oracle/product/12.1.0/client_1/lib >>>>>> >>>>>> Also, here is the list of files in the /usr/local/lib directory >>>>>> >>>>>> $ pwd >>>>>> >>>>>> /usr/local/lib >>>>>> >>>>>> $ ls -ltr >>>>>> >>>>>> total 4704 >>>>>> >>>>>> -rwxr-xr-x 1 root root 1256986 Jul 26 12:28 libocilib.so.3.12.0 >>>>>> >>>>>> -rwxr-xr-x 1 root root 1257074 Jul 26 12:37 libocilib.so.3.12.1 >>>>>> >>>>>> lrwxrwxrwx 1 root root 19 Jul 26 12:37 libocilib.so.3 -> >>>>>> libocilib.so.3.12.1 >>>>>> >>>>>> lrwxrwxrwx 1 root root 19 Jul 26 12:37 libocilib.so -> >>>> libocilib.so.3.12.1 >>>>>> >>>>>> -rwxr-xr-x 1 root root 864 Jul 26 12:37 libocilib.la >>>> <http://libocilib.la> <http://libocilib.la> >>>>>> >>>>>> -rw-r--r-- 1 root root 2291740 Jul 26 12:37 libocilib.a >>>>>> >>>>>> drwxrwxrwx 2 root root 4096 Jul 26 12:37 pkgconfig >>>> >>>> ------------------------------------------------------------------------------ >>>>> See everything from the browser to the database with AppDynamics >>>>> Get end-to-end visibility with application monitoring from >>>> AppDynamics >>>>> Isolate bottlenecks and diagnose root cause in seconds. >>>>> Start your free trial of AppDynamics Pro today! >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >>>> >>>> <http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> icinga-users mailing list >>>>> icinga-users@lists.sourceforge.net >>>> <mailto:icinga-users@lists.sourceforge.net> >>>>> https://lists.sourceforge.net/lists/listinfo/icinga-users >>>> >>>> >>>> -- >>>> DI (FH) Michael Friedrich >>>> >>>> mail: michael.friedr...@gmail.com >>>> <mailto:michael.friedr...@gmail.com> >>>> twitter: https://twitter.com/dnsmichi >>>> jabber: dnsmi...@jabber.ccc.de <mailto:dnsmi...@jabber.ccc.de> >>>> irc: irc.freenode.net/icinga <http://irc.freenode.net/icinga> >>>> dnsmichi >>>> >>>> icinga open source monitoring >>>> position: lead core developer >>>> url: https://www.icinga.org >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> See everything from the browser to the database with AppDynamics >>>> Get end-to-end visibility with application monitoring from >>>> AppDynamics >>>> Isolate bottlenecks and diagnose root cause in seconds. >>>> Start your free trial of AppDynamics Pro today! >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >>>> >>>> <http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk> >>>> _______________________________________________ >>>> icinga-users mailing list >>>> icinga-users@lists.sourceforge.net >>>> <mailto:icinga-users@lists.sourceforge.net> >>>> https://lists.sourceforge.net/lists/listinfo/icinga-users >>>> >>>> >>>> >>>> >>>> -- >>>> Christophe HAEN >>>> CERN PH-LBC 2/R022 >>>> Phone : +41 (0)2 27 67 31 25 >>>> Mobile : +41 (0)7 64 87 88 57 >>>> ------------------------------------------------------------------------------ >>>> Get your SQL database under version control now! >>>> Version control is standard for application code, but databases havent >>>> caught up. So what steps can you take to put your SQL databases under >>>> version control? Why should you start doing it? Read more to find out. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk >>>> <http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk> >>>> _______________________________________________ >>>> icinga-users mailing list >>>> icinga-users@lists.sourceforge.net >>>> <mailto:icinga-users@lists.sourceforge.net> >>>> https://lists.sourceforge.net/lists/listinfo/icinga-users >> >> >> ------------------------------------------------------------------------------ >> Get your SQL database under version control now! >> Version control is standard for application code, but databases havent >> caught up. So what steps can you take to put your SQL databases under >> version control? Why should you start doing it? Read more to find out. >> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk >> >> >> _______________________________________________ >> icinga-users mailing list >> icinga-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/icinga-users > > > -- > DI (FH) Michael Friedrich > > mail: michael.friedr...@gmail.com > twitter: https://twitter.com/dnsmichi > jabber: dnsmi...@jabber.ccc.de > irc: irc.freenode.net/icinga dnsmichi > > icinga open source monitoring > position: lead core developer > url: https://www.icinga.org > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > icinga-users mailing list > icinga-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/icinga-users ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users