Khoury Brazil wrote:
Hi,

This is what I get after running the final command:

$git status
# On branch master
# Your branch is ahead of 'origin/master' by 31 commits.
#
nothing to commit (working directory clean)

did you change back to icinga-core main directory? i think you are still within ./module/icinga-api - do a $ pwd changing back to main dir ($ cd ../..) and then running $ git status should tell you what i posted before.

Either way, you will have the latest icinga-api checked out.

If it did not work, I have now updated the submodule pointer in icinga-core.git master, so you can check it out normally

$ cd icinga-core
$ git pull origin master

(would be great testing this, especially on solaris as I have fixed major core dump issues - see #702)

Kind regards,
Michael


Thank you for your assistance.

Best,
Khoury


On Sat, Sep 25, 2010 at 5:08 AM, Michael Friedrich <[email protected] <mailto:[email protected]>> wrote:

    On 2010-09-25 05:50, Khoury Brazil wrote:
    > Hi,
    >
    > I'm sorry for the late reply. Here's what I have from the
    app/data/log:
    >
    > [Thu Sep 23 18:02:05 2010] [fatal] Uncaught AppKitPHPError: PHP
    Error
    > Declaration of IcingaApiConnectionDatabase::checkConfig() should be
    > compatible with that of IcingaApiConnection::checkConfig()
    >
    
(/usr/local/icinga/share/icinga-api/objects/connection/IcingaApiConnectionDatabase.php:10)
    >
    
(/usr/local/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:20)
    >
    > Both icinga-web and icinga were cloned from the git master.

    There's one slight problem with the icinga-api as it is a submodule of
    icinga-core.git - the submodule pointer has not been updated, so you
    will still get an old version of icinga-api. We do not update that
    pointer regularly, only if there's a stable api master available.

    but there's a solution for your problem, of course.

    $ cd icinga-core
    $ git checkout master
    $ git pull origin master
    $ cd module/icinga-api
    $ git checkout master
    $ git pull origin master
    $ cd ../..
    $ git status

    should tell you that module/icinga-api has been modified and
    you'll have
    the latest icinga-api git master available to be installed by make
    install-api

    kind regards,
    Michael




    > For the install of icinga I used these configure arguments:
    > ./configure --with-command-group=icinga-cmd --enable-idoutils
    >
    > Make was run like so:
    > make install-api
    >
    > Thanks,
    > Khoury
    >
    >
    > 2010/9/21 Jannis Moßhammmer <[email protected]
    <mailto:[email protected]>
    > <mailto:[email protected]
    <mailto:[email protected]>>>
    >
    >     Hi,
    >
    >     sorry, the testing script is at this point not up to date (I
    >     generally update it after the last changes are done), but
    you can
    >     get it working by replacing the '#' with ';' in test.properties.
    >
    >     No items sound like the api doesn't work. Do you have any errors
    >     in app/data/log or your apache/php error log?
    >
    >     Regards,
    >
    >     Jannis
    >
    >
    >     On 21.09.2010 03:44, Khoury Brazil wrote:
    >>     Hi,
    >>
    >>     I've installed icinga-web from the git master and seem to be
    >>     stuck. When I authenticate with the default user it opens the
    >>     main page with the bottom section (log) just 'Loading...'
    >>     forever. If I attempt to load any of the panels from the Data
    >>     section I get more of the same. When I run 'php
    >>     icingaWebTesting.php' I get this:
    >>
    >>     PHPUnit @package_version@ by Sebastian Bergmann.
    >>
    >>     -> 500 internal server error!
    >>
    >>     === Error ===
    >>     Uncaught exception AppKitPHPError thrown!
    >>
    >>     === Message ===
    >>     PHP Error
>> parse_ini_file(/usr/local/icinga-web/etc/..//etc/tests/test.properties):
    >>     failed to open stream: No such file or directory
>> (/usr/local/icinga-web/etc/tests/tests/installation/userRightsTest.php:10)
    >>
    >>     === Stacktrace ===
    >>     #0 [internal function]:
    >>     AppKitExceptionHandler::phpErrorException(2,
    >>     'parse_ini_file(...', '/usr/local/icin...', 10, Array)
    >>     #1
>> /usr/local/icinga-web/etc/tests/tests/installation/userRightsTest.php(10):
    >>     parse_ini_file('/usr/local/icin...')
    >>     #2
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestCase.php(701):
    >>     userRightsTest->setUp()
    >>     #3
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestResult.php(687):
    >>     PHPUnit_Framework_TestCase->runBare()
    >>     #4
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestCase.php(653):
    >>     PHPUnit_Framework_TestResult->run(Object(userRightsTest))
    >>     #5
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestSuite.php(757): >> PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
    >>     #6
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestSuite.php(732):
    >>     PHPUnit_Framework_TestSuite->runTest(Object(userRightsTest),
    >>     Object(PHPUnit_Framework_TestResult))
    >>     #7
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestSuite.php(675): >> PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult),
    >>     false, Array, Array, false)
    >>     #8
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestSuite.php(675): >> PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult),
    >>     false, Array, Array, false)
    >>     #9
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/TextUI/TestRunner.php(350): >> PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult),
    >>     false, Array, Array, false)
    >>     #10
>> /usr/local/icinga-web/lib/agavi/src/testing/AgaviTesting.class.php(101):
    >>     PHPUnit_TextUI_TestRunner->doRun(Object(AgaviTestSuite), Array)
    >>     #11 /usr/local/icinga-web/etc/tests/icingaWebTesting.php(66):
    >>     AgaviTesting::dispatch(Array)
    >>
    >>     Any ideas?
    >>
    >>     Thanks,
    >>     Khoury
    >>
    >>
>> ------------------------------------------------------------------------------
    >>     Start uncovering the many advantages of virtual appliances
    >>     and start using them to simplify application deployment and
    >>     accelerate your shift to cloud computing.
    >> http://p.sf.net/sfu/novell-sfdev2dev
    >>
    >>
    >>     _______________________________________________
    >>     icinga-users mailing list
    >> [email protected]
    <mailto:[email protected]>
    <mailto:[email protected]
    <mailto:[email protected]>>
    >> https://lists.sourceforge.net/lists/listinfo/icinga-users
    >>
    >
    >
    >
    >
    >     --
    >     Jannis Moßhammer
    >     Application Developer
    >
    >     NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nürnberg
    >     Tel: +49 911 92885-0 | Fax: +49 911 92885-77
    >     GF: Julian Hein | AG Nürnberg HRB18461
    >
    > http://www.netways.de  |[email protected]
    <mailto:[email protected]>
    <mailto:[email protected]
    <mailto:[email protected]>>
    >
    >     ** NETWAYS Open Source Monitoring Conference 2010 |
    Nürnberg, 06. und 07. Oktober 2010 |http://www.netways.de/osmc  **
    >
    >
    >
> ------------------------------------------------------------------------------
    >     Start uncovering the many advantages of virtual appliances
    >     and start using them to simplify application deployment and
    >     accelerate your shift to cloud computing.
    > http://p.sf.net/sfu/novell-sfdev2dev
    >     _______________________________________________
    >     icinga-users mailing list
    > [email protected]
    <mailto:[email protected]>
    > <mailto:[email protected]
    <mailto:[email protected]>>
    > https://lists.sourceforge.net/lists/listinfo/icinga-users
    >
    >
    >
    >
    
------------------------------------------------------------------------------
    > Start uncovering the many advantages of virtual appliances
    > and start using them to simplify application deployment and
    > accelerate your shift to cloud computing.
    > http://p.sf.net/sfu/novell-sfdev2dev
    >
    >
    > _______________________________________________
    > icinga-users mailing list
    > [email protected]
    <mailto:[email protected]>
    > https://lists.sourceforge.net/lists/listinfo/icinga-users
    >


    --
    DI (FH) Michael Friedrich

    Vienna University Computer Center
    Universitaetsstrasse 7 A-1010 Vienna, Austria

    email: [email protected]
    <mailto:[email protected]>
    phone:  +43 1 4277 14359
    fax:    +43 1 4277 14279
    web: http://www.univie.ac.at/zid

    Icinga Core&  IDOUtils Developer
    http://www.icinga.org


    
------------------------------------------------------------------------------
    Start uncovering the many advantages of virtual appliances
    and start using them to simplify application deployment and
    accelerate your shift to cloud computing.
    http://p.sf.net/sfu/novell-sfdev2dev
    _______________________________________________
    icinga-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/icinga-users



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev


_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users


--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  [email protected]
phone:  +43 1 4277 14359
fax:    +43 1 4277 14279
web:    http://www.univie.ac.at/zid

Icinga Core&  IDOUtils Developer
http://www.icinga.org

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to